You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python 3.10.13 (main, Sep 11 2023, 13:44:35) [GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information. >>> import scipy >>> scipy.__version__
1.12.0 >>> import findpeaks
findpeaks breaks with newer scipy, because in more recent versions of scipy, the way Fourier transform functions (like fft and ifft) are imported has changed. Instead of importing fft and ifft directly from scipy, they should be imported from scipy.fft.
This should be addressed at peakdetect, but it's archived.
The text was updated successfully, but these errors were encountered:
Thank you for mentioning this issue. I fixed this issue by setting the installation of scipy to version 1.11.4. It may not be the real solution but it is a first quick fix.
findpeaks breaks with newer scipy, because in more recent versions of scipy, the way Fourier transform functions (like fft and ifft) are imported has changed. Instead of importing
fft
andifft
directly fromscipy
, they should be imported fromscipy.fft
.This should be addressed at peakdetect, but it's archived.
The text was updated successfully, but these errors were encountered: