diff options
author | Blair Bonnett | 2024-02-29 10:46:35 +0100 |
---|---|---|
committer | Blair Bonnett | 2024-02-29 10:46:35 +0100 |
commit | 8dec12e1788a5d12d6f50b87ebe5a20a92571685 (patch) | |
tree | 69825653a694c9f00ea671dde8882d48e2dfb538 /scipy-imports.patch | |
parent | 8c829b8589bcfc26f17f52231cd875be96619904 (diff) | |
download | aur-8dec12e1788a5d12d6f50b87ebe5a20a92571685.tar.gz |
Fix SciPy FFT imports.
Diffstat (limited to 'scipy-imports.patch')
-rw-r--r-- | scipy-imports.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/scipy-imports.patch b/scipy-imports.patch new file mode 100644 index 000000000000..9e99f86fbc31 --- /dev/null +++ b/scipy-imports.patch @@ -0,0 +1,10 @@ +--- peakdetect/peakdetect.py ++++ peakdetect/peakdetect.py + +@@ -3,5 +3,5 @@ + from math import pi, log + import numpy as np +-from scipy import fft, ifft ++from scipy.fft import fft, ifft + from scipy.optimize import curve_fit + from scipy.signal import cspline1d_eval, cspline1d |