Inertial Data Preprocessing (skdh.preprocessing)#

Day Windowing#

GetDayWindowIndices([bases, periods])

Get the indices corresponding to days.

Sensor Calibration#

CalibrateAccelerometer([sphere_crit, ...])

Calibrate pre-recording acceleration readings based on the deviation from 1G when motionless.

Wear Detection#

DETACH([sd_thresh, ...])

DEvice Temperature and Acceleration CHange algorithm for detecting wear/non-wear.

CountWearDetection([nonwear_window_min, ...])

Detect periods of wear/non-wear from acceleromter data using an implementation similar to the ActiGraph counts metric.

CtaWearDetection([temp_threshold, sd_crit, ...])

Detect periods of wear/non-wear from accelerometer and temperature data.

AccelThresholdWearDetection([sd_crit, ...])

Detect periods of wear/non-wear from accelerometer data only, based on thresholds of the accelerometer standard deviation and range.