heartcv.find_peaks
- heartcv.find_peaks(x, plot=False)[source]
Python implementation of automatic multiscale peak detection (AMPD).
- Parameters
x (list or ndarray) – Signal to detect peaks for.
plot (bool) – Whether to produce visual output for the signal provided. If False, only the detected peaks will be returned. Default is False.
- Returns
peaks – Detected peaks.
- Return type
ndarray
References
Scholkmann, F., Boss, J. and Wolf, M., 2012. An Efficient Algorithm for Automatic Peak Detection in Noisy Periodic and Quasi-Periodic Signals. Algorithms, 5(4), pp.588-603.