diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-06-15 03:39:43 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-06-15 03:39:43 +0000 |
commit | 2f4a9678f04a3eab6878f4694231d4848e127490 (patch) | |
tree | d1d7288995146b78f63b643afe2af99b3ddb1087 /numpy/dft | |
parent | 439ea9dc39d6ab0c4052b0881d0f6fed5e8c344f (diff) | |
download | numpy-2f4a9678f04a3eab6878f4694231d4848e127490.tar.gz |
Expose deprecate function
Diffstat (limited to 'numpy/dft')
-rw-r--r-- | numpy/dft/fftpack.py | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/numpy/dft/fftpack.py b/numpy/dft/fftpack.py index 4b88651ef..aa49e89d3 100644 --- a/numpy/dft/fftpack.py +++ b/numpy/dft/fftpack.py @@ -315,9 +315,10 @@ def irfft2(a, s=None, axes=(-2,-1)): return irfftn(a, s, axes) # Deprecated names -refft = rfft -irefft = irfft -refft2 = rfft2 -irefft2 = irfft2 -refftn = rfftn -irefftn = irfftn +from numpy import deprecate +refft = deprecate(rfft, 'refft', 'rfft') +irefft = deprecate(irfft, 'irefft', 'irfft') +refft2 = deprecate(rfft2, 'refft2', 'rfft2') +irefft2 = deprecate(irfft2, 'irefft2', 'irfft2') +refftn = deprecate(rfftn, 'refftn', 'rfftn') +irefftn = deprecate(irfftn, 'irefftn', 'irfftn') |