Peak-finding algorithm for Python/SciPy
The function scipy.signal.find_peaks, as its name suggests, is useful for this. But it’s important to understand well its parameters width, threshold, distance and above all prominence to get a good peak extraction. According to my tests and the documentation, the concept of prominence is “the useful concept” to keep the good peaks, and discard the … Read more