skdh.activity.metric_bfen#

skdh.activity.metric_bfen(accel, wlen, fs, low_cutoff=0.2, high_cutoff=15, **kwargs)#

Compute the band-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

Band-pass low cutoff in Hz. Default is 0.2Hz.

high_cutofffloat, optional

Band-pass high cutoff in Hz. Default is 15Hz

Returns:
bfennumpy.ndarray

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