summarylogtreecommitdiffstats
path: root/scipy-imports.patch
diff options
context:
space:
mode:
authorBlair Bonnett2024-02-29 10:46:35 +0100
committerBlair Bonnett2024-02-29 10:46:35 +0100
commit8dec12e1788a5d12d6f50b87ebe5a20a92571685 (patch)
tree69825653a694c9f00ea671dde8882d48e2dfb538 /scipy-imports.patch
parent8c829b8589bcfc26f17f52231cd875be96619904 (diff)
downloadaur-8dec12e1788a5d12d6f50b87ebe5a20a92571685.tar.gz
Fix SciPy FFT imports.
Diffstat (limited to 'scipy-imports.patch')
-rw-r--r--scipy-imports.patch10
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