When I set your threashold terminal to 0.0015 and a width of 3, I got
7 peaks with the appropriate corresponding amplitudes.  If you want
more peaks, then decrease the threashold.  When I set it to 0.00004, I
got 23 peaks.

Since you are interested in getting all the peaks, I think you need a
different algorithm.  You should scan through the array and count
points larger than the two adjacent points.  This way, you know
exactly what is going on and you will get every single local maximum.

Reply via email to