skdh.activity.metric_hfen#

skdh.activity.metric_hfen(accel, wlen, fs, low_cutoff=0.2, trim_zero=True, **kwargs)#

Compute the high-pass filtered euclidean norm.

Parameters:
accelnumpy.ndarray

(N, 3) array of acceleration values in g.

wlenint

Window length (in number of samples) for non-overlapping windows.

fsfloat

Sampling frequency of accel in Hz.

low_cutofffloat, optional

High-pass cutoff in Hz. Default is 0.2Hz.

trim_zerobool, optional

Trim values to no less than 0. Default is True.

Returns:
hfennumpy.ndarray

(N, ) array of high-pass filtered and euclidean normed accelerations.