Cutpoints

Cutpoints

Defines methods for classifying activity levels based on a second-by-second input.

Provides 3 different methods for validation purposes

ventana.cutpoints.freedson(counts, time_freq=60)

Freedson second-by-second classification of activity level 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 classify activity level, default 60
Returns:

Second-by-second classification of activity levels (strings)

Return type:

list

ventana.cutpoints.nhanes(counts, time_freq=60)

Nhanes second-by-second classification of activity level 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 classify activity level, default 60
Returns:

Second-by-second classification of activity levels (strings)

Return type:

list

ventana.cutpoints.sasaki(counts, time_freq=60)

Sasaki second-by-second classification of activity level based on second-by-second vector magnitude

Parameters:
  • counts (list) – Second-by-second vertical counts (numbers)
  • time_freq (int) – Number of seconds that are grouped together to classify activity level, default 60
Returns:

Second-by-second classification of activity levels (strings)

Return type:

list