skdh.features.StdDev#
- class skdh.features.StdDev#
The signal standard deviation
Methods
compute(signal, *[, axis])Compute the standard deviation
Examples
>>> import numpy as np >>> signal = np.arange(15).reshape((5, 3)) >>> StdDev().compute(signal) array([[4.74341649, 4.74341649, 4.74341649]])
- compute(signal, *, axis=-1)#
Compute the standard deviation
- Parameters:
- signalarray-like
Array-like containing values to compute the standard deviation for.
- axisint, optional
Axis along which the signal entropy will be computed. Ignored if signal is a pandas.DataFrame. Default is last (-1).
- Returns:
- stdevnumpy.ndarray
Computed standard deviation.