Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可能重复: Python/SciPy 的寻峰算法
我正在寻找浮点数向量中的局部最大值,正如 Matlab 的 findpeaks 函数所做的那样。
numpy 有类似的功能吗?
谢谢!
怎么样scipy.signal.find_peaks_cwt
scipy.signal.find_peaks_cwt
http://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.find_peaks_cwt.html
或者:
https://gist.github.com/1178136