skdh.features.IQR#

class skdh.features.IQR#

The difference between the 75th percentile and 25th percentile of the values.

Methods

compute(signal, *[, axis])

Compute the IQR

compute(signal, *, axis=-1)#

Compute the IQR

Parameters:
signalarray-like

Array-like containing values to compute the IQR for.

axisint, optional

Axis along which the signal entropy will be computed. Ignored if signal is a pandas.DataFrame. Default is last (-1).

Returns:
iqrnumpy.ndarray

Signal IQR.