使用scipy.signal.find_peaks_cwt

msz*_*zep 5 python ipython scipy

我正试图获得嘈杂频谱的峰值,看起来像scipy.signal.find_peaks_cwt(在scipy.org上记录)是一个很好的解决方案.

但是,即使更新scipy后,python(和ipython)也无法找到该函数:

>>> from scipy.signal import find_peaks_cwt
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name find_peaks_cwt
Run Code Online (Sandbox Code Playgroud)

我输错了吗?还是未发布的版本?我在python 2.7上使用scipy 0.10.1

Stu*_*rey 6

看起来它只能在0.11版本的scipy中,你可以从这里获得