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