fitpack.py 702 B

12345678910111213141516171819202122232425262728293031
  1. # This file is not meant for public use and will be removed in SciPy v2.0.0.
  2. # Use the `scipy.interpolate` namespace for importing the functions
  3. # included below.
  4. from scipy._lib.deprecation import _sub_module_deprecation
  5. __all__ = [ # noqa: F822
  6. 'BSpline',
  7. 'bisplev',
  8. 'bisplrep',
  9. 'insert',
  10. 'spalde',
  11. 'splantider',
  12. 'splder',
  13. 'splev',
  14. 'splint',
  15. 'splprep',
  16. 'splrep',
  17. 'sproot',
  18. ]
  19. def __dir__():
  20. return __all__
  21. def __getattr__(name):
  22. return _sub_module_deprecation(sub_package="interpolate", module="fitpack",
  23. private_modules=["_fitpack_py"], all=__all__,
  24. attribute=name)