signaltools.py 1.0 KB

123456789101112131415161718192021222324252627
  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. 'correlate', 'correlation_lags', 'correlate2d',
  7. 'convolve', 'convolve2d', 'fftconvolve', 'oaconvolve',
  8. 'order_filter', 'medfilt', 'medfilt2d', 'wiener', 'lfilter',
  9. 'lfiltic', 'sosfilt', 'deconvolve', 'hilbert', 'hilbert2',
  10. 'unique_roots', 'invres', 'invresz', 'residue',
  11. 'residuez', 'resample', 'resample_poly', 'detrend',
  12. 'lfilter_zi', 'sosfilt_zi', 'sosfiltfilt', 'choose_conv_method',
  13. 'filtfilt', 'decimate', 'vectorstrength',
  14. 'dlti', 'upfirdn', 'get_window', 'cheby1', 'firwin'
  15. ]
  16. def __dir__():
  17. return __all__
  18. def __getattr__(name):
  19. return _sub_module_deprecation(sub_package="signal", module="signaltools",
  20. private_modules=["_signaltools"], all=__all__,
  21. attribute=name)