skdh.features.Range#

class skdh.features.Range#

The difference between the maximum and minimum value.

Methods

compute(signal, *[, axis])

Compute the range

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

Compute the range

Parameters:
signalarray-like

Array-like containing values to compute the range for.

axisint, optional

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

Returns:
rangenumpy.ndarray

Signal range.