我也是小白,不过波峰波谷其实就是局部最大/小值,可用scipy:https://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.find_peaks.html
沪公网安备 31011502017034号