highpower¶
- highpower(y, n, /, axis=- 1)[source]¶
Select only the highest power frequencies. Useful for crudely reducing noise.
- Parameters
y (
numpy.array-like
) – The data.n (int) – The integer number of frequencies to select.
axis (int, optional) – Axis along which the power is computed.
- Returns
array-like – The filtered data.