Skip to content

Commit

Permalink
ref: remove mentioned of cupy and scipy FFTFilters
Browse files Browse the repository at this point in the history
  • Loading branch information
Eoghan O'Connell committed Dec 5, 2024
1 parent 528a038 commit 33c14b8
Show file tree
Hide file tree
Showing 18 changed files with 11 additions and 517 deletions.
14 changes: 0 additions & 14 deletions docs/sec_code_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,6 @@ PyFFTW
:members:
:inherited-members:

.. _sec_code_fourier_scipy:
Scipy
------
.. automodule:: qpretrieve.fourier.ff_scipy
:members:
:inherited-members:

.. _sec_code_fourier_cupy:
Cupy
----
.. automodule:: qpretrieve.fourier.ff_cupy
:members:
:inherited-members:


.. _sec_code_ifer:

Expand Down
4 changes: 0 additions & 4 deletions docs/sec_examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,3 @@ Examples
.. fancy_include:: filter_visualization.py

.. fancy_include:: fourier_scale.py

.. fancy_include:: fft_options.py

.. fancy_include:: fft_cupy3d_speed.py
Binary file removed examples/fft_cupy3d_speed.png
Binary file not shown.
66 changes: 0 additions & 66 deletions examples/fft_cupy3d_speed.py

This file was deleted.

Binary file removed examples/fft_options.png
Binary file not shown.
109 changes: 0 additions & 109 deletions examples/fft_options.py

This file was deleted.

14 changes: 0 additions & 14 deletions qpretrieve/fourier/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,12 @@
import warnings

from .ff_numpy import FFTFilterNumpy
from .ff_scipy import FFTFilterScipy

try:
from .ff_pyfftw import FFTFilterPyFFTW
except ImportError:
FFTFilterPyFFTW = None

try:
from .ff_cupy import FFTFilterCupy
except ImportError:
FFTFilterCupy = None

try:
from .ff_cupy3D import FFTFilterCupy3D
except ImportError:
FFTFilterCupy3D = None

PREFERRED_INTERFACE = None


Expand All @@ -27,9 +16,6 @@ def get_available_interfaces():
interfaces = [
FFTFilterPyFFTW,
FFTFilterNumpy,
FFTFilterScipy,
FFTFilterCupy,
FFTFilterCupy3D,
]
interfaces_available = []
for interface in interfaces:
Expand Down
40 changes: 0 additions & 40 deletions qpretrieve/fourier/ff_cupy.py

This file was deleted.

40 changes: 0 additions & 40 deletions qpretrieve/fourier/ff_cupy3D.py

This file was deleted.

30 changes: 0 additions & 30 deletions qpretrieve/fourier/ff_scipy.py

This file was deleted.

3 changes: 0 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@
],
extras_require={
"FFTW": "pyfftw>=0.12.0",
# manually install 'cupy-cuda11x' if you have older CUDA.
# See https://cupy.dev/
"CUPY": "cupy-cuda12x",
},
python_requires='>=3.10, <4',
keywords=["digital holographic microscopy",
Expand Down
26 changes: 0 additions & 26 deletions tests/test_cupy_gpu/test_fourier_cupy.py

This file was deleted.

Loading

0 comments on commit 33c14b8

Please sign in to comment.