METs¶
METs¶
Defines methods for estimating METs on a second-by-second input.
Provides 4 different methods for validation purposes
-
ventana.METs.c_mets(counts, time_freq=60)¶ Original crouter second-by-second estimation of METs based on second-by-second vertical counts
Parameters: - counts (list) – Second-by-second vertical counts (numbers)
- time_freq (int) – Number of seconds that are grouped together to estimate METs, default 60
Returns: Second-by-second estimation of METs (floats)
Return type: list
-
ventana.METs.cr2_mets(counts, chunk_freq=10, time_freq=6)¶ Crouter2 second-by-second estimation of METs based on second-by-second vertical counts
Parameters: - counts (list) – Second-by-second vertical counts (numbers)
- chunk_freq (int) – Number of seconds that values are grouped into for analysis, default 10
- time_freq (int) – Number of chunks from chunk_freq that are averaged to find METs, default 6
Returns: Second-by-second estimation of METs (floats)
Return type: list
-
ventana.METs.freedson_mets(counts, time_freq=60)¶ Freedson second-by-second estimation of METs based on second-by-second vertical counts
Parameters: - counts (list) – Second-by-second vertical counts (numbers)
- time_freq (int) – Number of seconds that are grouped together to estimate METs, default 60
Returns: Second-by-second estimation of METs (floats)
Return type: list
-
ventana.METs.sasaki_mets(counts, time_freq=60)¶ Sasaki second-by-second estimation of METs based on second-by-second vector magnitude counts
Parameters: - counts (list) – Second-by-second vector magnitude counts (numbers)
- time_freq (int) – Number of seconds that are grouped together to estimate METs, default 60
Returns: Second-by-second estimation of METs (floats)
Return type: list