cph-cachet / carp.core-kotlin

Infrastructure-agnostic framework for distributed data collection.
https://carp.cachet.dk/core/
MIT License
21 stars 3 forks source link

Interval sampling constraints #407

Closed Whathecode closed 2 years ago

Whathecode commented 2 years ago

For measures which support configuring an interval at which to collect data, the introduced changes now support setting a fixed set of interval options in the corresponding sampling scheme.

In addition, while adding the nearestOption helper method to the interval sampling configuration builder, I noticed that the Smartphone sampling configuration builder did not yet expose accelerometry and angular velocity configurations.