lti_conversion.py 639 B

1234567891011121314151617181920
  1. # This file is not meant for public use and will be removed in SciPy v2.0.0.
  2. # Use the `scipy.signal` namespace for importing the functions
  3. # included below.
  4. from scipy._lib.deprecation import _sub_module_deprecation
  5. __all__ = [ # noqa: F822
  6. 'tf2ss', 'abcd_normalize', 'ss2tf', 'zpk2ss', 'ss2zpk',
  7. 'cont2discrete', 'tf2zpk', 'zpk2tf', 'normalize'
  8. ]
  9. def __dir__():
  10. return __all__
  11. def __getattr__(name):
  12. return _sub_module_deprecation(sub_package="signal", module="lti_conversion",
  13. private_modules=["_lti_conversion"], all=__all__,
  14. attribute=name)