Python findpeaks find maxima
SciPy argrelmax is a Python function that works like Matlab’s “findpeaks” checkout Discussion of Python vs. Matlab vs. Octave with code.
Compare Matlab & Octave peak finding:
- Python demo_findpeaks.py
- Octave, and Matlab demo_findpeaks.m.
The example does not demonstrate the need to filter the data in the case of highly noisy data, which may be accomplished with a Savitzky-Golay filter.