ltisys.py 869 B

12345678910111213141516171819202122232425
  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. 'lti', 'dlti', 'TransferFunction', 'ZerosPolesGain', 'StateSpace',
  7. 'lsim', 'impulse', 'step', 'bode',
  8. 'freqresp', 'place_poles', 'dlsim', 'dstep', 'dimpulse',
  9. 'dfreqresp', 'dbode',
  10. 'tf2zpk', 'zpk2tf', 'normalize', 'freqs',
  11. 'freqz', 'freqs_zpk', 'freqz_zpk', 'tf2ss', 'abcd_normalize',
  12. 'ss2tf', 'zpk2ss', 'ss2zpk', 'cont2discrete',
  13. ]
  14. def __dir__():
  15. return __all__
  16. def __getattr__(name):
  17. return _sub_module_deprecation(sub_package="signal", module="ltisys",
  18. private_modules=["_ltisys"], all=__all__,
  19. attribute=name)