Fixed database typo and removed unnecessary class identifier.
This commit is contained in:
parent
00ad49a143
commit
45fb349a7d
5098 changed files with 952558 additions and 85 deletions
17
venv/Lib/site-packages/skimage/_shared/fft.py
Normal file
17
venv/Lib/site-packages/skimage/_shared/fft.py
Normal 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']
|
Loading…
Add table
Add a link
Reference in a new issue