-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: detect bouts of activity and calculate bout metrics.
Result is a dataframe (each row is a bout) with the following columns: - StartTime: Bout start time. - EndTime: Bout end time. - Duration(mins): Bout duration (in minutes). - TimeSinceLast(mins): Time since end of last bout (in minutes). - Steps: Number of steps in the bout. - Cadence(steps/min): Bout cadence (steps per minute). - CadenceSD(steps/min): Bout cadence standard deviation (steps per minute). - Cadence25th(steps/min): 25th percentile cadence (steps per minute) in the bout. - Cadence50th(steps/min): Median cadence (steps per minute) in the bout. - Cadence75th(steps/min): 75th percentile cadence (steps per minute) in the bout. - ENMO(mg): Bout mean ENMO (milli-g). - ENMOMed(mg): Bout median ENMO (milli-g). Output file: <input-file>-Bouts.csv.gz
- Loading branch information
Showing
2 changed files
with
173 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters