realtransforms.py 595 B

12345678910111213141516171819
  1. # This file is not meant for public use and will be removed in SciPy v2.0.0.
  2. # Use the `scipy.fftpack` namespace for importing the functions
  3. # included below.
  4. from scipy._lib.deprecation import _sub_module_deprecation
  5. __all__ = [ # noqa: F822
  6. 'dct', 'idct', 'dst', 'idst', 'dctn', 'idctn', 'dstn', 'idstn'
  7. ]
  8. def __dir__():
  9. return __all__
  10. def __getattr__(name):
  11. return _sub_module_deprecation(sub_package="fftpack", module="realtransforms",
  12. private_modules=["_realtransforms"], all=__all__,
  13. attribute=name)