vallenae.features.peak_amplitude

features.peak_amplitude(data)

Compute maximum absolute amplitude.

Parameters

data (ndarray) – Input array

Return type

float

Returns

Peak amplitude of the input array