Fixed database typo and removed unnecessary class identifier.

This commit is contained in:
Batuhan Berk Başoğlu 2020-10-14 10:10:37 -04:00
parent 00ad49a143
commit 45fb349a7d
5098 changed files with 952558 additions and 85 deletions

View file

@ -0,0 +1,17 @@
"""Prefer FFTs via the new scipy.fft module when available (SciPy 1.4+)
Otherwise fall back to numpy.fft.
Like numpy 1.15+ scipy 1.3+ is also using pocketfft, but a newer
C++/pybind11 version called pypocketfft
"""
try:
import scipy.fft
from scipy.fft import next_fast_len
fftmodule = scipy.fft
except ImportError:
import numpy.fft
fftmodule = numpy.fft
from scipy.fftpack import next_fast_len
__all__ = ['fftmodule', 'next_fast_len']