scipy signal find_peaks_cwt not finding the peaks accurately?

后端 未结 3 1883
一整个雨季
一整个雨季 2020-12-14 02:20

I\'ve got a 1-D signal in which I\'m trying to find the peaks. I\'m looking to find them perfectly.

I\'m currently doing:

import scipy.signal as sign         


        
3条回答
  •  無奈伤痛
    2020-12-14 03:06

    There is a much easier solution using this function: https://gist.github.com/endolith/250860 which is an adaptation of http://billauer.co.il/peakdet.html

    I've just tried with the data you provided and I got the result below. No need for pre-filtering...

    Enjoy :-)

    peak detection

提交回复
热议问题