Context Detection (skdh.context)#

Context Detection#

This module contains various methods to detect context from inertial sensor data. Examples of context detection could include the detection of gait bouts - clean bouts of walking from which gait metrics can be computed, ambulation bouts - periods of walking-similar activities from which step counts can be estimated, motion detection - various methods for filtering out periods of non-movement, and others.

Ambulation([pthresh])

Processes accelerometer data to extract bouts of ambulation.

PredictGaitLumbarLgbm([downsample_aa_filter])

Process lumbar acceleration data to predict bouts of gait using a Light Gradient Boosted model.