Download venv/lib/python3.13/site-packages/numpy/fft/helper.py from dheeena/MRI: direct link, hf CLI and curl.
- Browser
- Download file 611 Bytes
-
https://huggingface.co/dheeena/MRI/resolve/main/venv/lib/python3.13/site-packages/numpy/fft/helper.py
- Command line
-
hf download hf://dheeena/MRI/venv/lib/python3.13/site-packages/numpy/fft/helper.py
-
curl -L -o helper.py https://huggingface.co/dheeena/MRI/resolve/main/venv/lib/python3.13/site-packages/numpy/fft/helper.py
611 Bytes
| def __getattr__(attr_name): | |
| import warnings | |
| from numpy.fft import _helper | |
| ret = getattr(_helper, attr_name, None) | |
| if ret is None: | |
| raise AttributeError( | |
| f"module 'numpy.fft.helper' has no attribute {attr_name}") | |
| warnings.warn( | |
| "The numpy.fft.helper has been made private and renamed to " | |
| "numpy.fft._helper. All four functions exported by it (i.e. fftshift, " | |
| "ifftshift, fftfreq, rfftfreq) are available from numpy.fft. " | |
| f"Please use numpy.fft.{attr_name} instead.", | |
| DeprecationWarning, | |
| stacklevel=3 | |
| ) | |
| return ret | |