I am trying to find the peaks in some very noisy data such as this:
Without understanding the terminology very well, I'm defining the peaks as narrow (width<30) and more than 100000 higher than the nearby area.
I'm trying to use scipy's find_peaks_cwt but the documentation is pretty unclear to me. I tried find_peaks_cwt(my_data, np.arange(1,30))
but it returned a huge number of peaks. Then I tried adding the noise_perc=60
argument but this didn't really fix the problem. I've also tried playing around with the other parameters but I don't really understand what a 'ridge line' is.
What should I be doing differently? Is widths=np.arange(1,30)
setting my width requirement like I think it is? How do I specify a height requirement?