'Using scipy.signals.find_peaks() to remove large peaks
I'm using the scipy.signals function called find_peaks() but I might use it wrong. This is my data : initial data
And I want to remove the first big peak. Unfortunately, when I use the function find_peaks, it only detects the maximum value of the peak and not the ascending part and descending part of it. Do you know which parameters I can use to do so ?
If you want a closer look to the peak here it is : zoom on peak
Thanks a lot
Solution 1:[1]
On some advices I got, I did a moving average and removed values above a certain value (1.5*mean) and it works ok as I can obtain something like this (above is the initial data, in the middle the peaks and below the data without peaks): triple graph
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | val blng |
