fitpack2.py 817 B

1234567891011121314151617181920212223242526272829
  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. 'BivariateSpline',
  7. 'InterpolatedUnivariateSpline',
  8. 'LSQBivariateSpline',
  9. 'LSQSphereBivariateSpline',
  10. 'LSQUnivariateSpline',
  11. 'RectBivariateSpline',
  12. 'RectSphereBivariateSpline',
  13. 'SmoothBivariateSpline',
  14. 'SmoothSphereBivariateSpline',
  15. 'UnivariateSpline',
  16. ]
  17. def __dir__():
  18. return __all__
  19. def __getattr__(name):
  20. return _sub_module_deprecation(sub_package="interpolate", module="fitpack2",
  21. private_modules=["_fitpack2"], all=__all__,
  22. attribute=name)