Utility Functions (skdh.utility)#

Binary State Fragmentation Endpoints#

Misc. Math Functions#

math.moving_mean(a, w_len, skip[, trim, axis])

Compute the moving mean.

math.moving_sd(a, w_len, skip[, trim, axis, ...])

Compute the moving sample standard deviation.

math.moving_skewness(a, w_len, skip[, trim, ...])

Compute the moving sample skewness.

math.moving_kurtosis(a, w_len, skip[, trim, ...])

Compute the moving sample kurtosis.

math.moving_median(a, w_len[, skip, trim, axis])

Compute the moving mean.

Orientation Functions#

orientation.correct_accelerometer_orientation(accel)

Applies the correction for acceleration from [R447dadb8b99f-1] to better align acceleration with the human body anatomical axes.

Windowing Functions#

windowing.compute_window_samples(fs, ...)

Compute the number of samples for a window.

windowing.get_windowed_view(x, ...[, ...])

Return a moving window view over the data