diff --git a/scipy-stubs/signal/bsplines.pyi b/scipy-stubs/signal/bsplines.pyi index bc0eb39c..8af3880b 100644 --- a/scipy-stubs/signal/bsplines.pyi +++ b/scipy-stubs/signal/bsplines.pyi @@ -1,4 +1,6 @@ -from scipy._typing import Untyped +# This module is not meant for public use and will be removed in SciPy v2.0.0. +# This stub simply re-exports the imported functions. +# TODO: Add type annotated dummy functions marked deprecated. +from ._spline_filters import * -def __dir__() -> Untyped: ... -def __getattr__(name) -> Untyped: ... +__all__ = ["cspline1d", "cspline1d_eval", "cspline2d", "gauss_spline", "qspline1d", "qspline1d_eval", "sepfir2d", "spline_filter"] diff --git a/scipy-stubs/signal/filter_design.pyi b/scipy-stubs/signal/filter_design.pyi index bc0eb39c..a12f7860 100644 --- a/scipy-stubs/signal/filter_design.pyi +++ b/scipy-stubs/signal/filter_design.pyi @@ -1,4 +1,53 @@ -from scipy._typing import Untyped +# This module is not meant for public use and will be removed in SciPy v2.0.0. +# This stub simply re-exports the imported functions. +# TODO: Add type annotated dummy functions marked deprecated. +from ._filter_design import * -def __dir__() -> Untyped: ... -def __getattr__(name) -> Untyped: ... +__all__ = [ + "BadCoefficients", + "band_stop_obj", + "bessel", + "besselap", + "bilinear", + "bilinear_zpk", + "buttap", + "butter", + "buttord", + "cheb1ap", + "cheb1ord", + "cheb2ap", + "cheb2ord", + "cheby1", + "cheby2", + "ellip", + "ellipap", + "ellipord", + "findfreqs", + "freqs", + "freqs_zpk", + "freqz", + "freqz_zpk", + "gammatone", + "group_delay", + "iircomb", + "iirdesign", + "iirfilter", + "iirnotch", + "iirpeak", + "lp2bp", + "lp2bp_zpk", + "lp2bs", + "lp2bs_zpk", + "lp2hp", + "lp2hp_zpk", + "lp2lp", + "lp2lp_zpk", + "normalize", + "sos2tf", + "sos2zpk", + "sosfreqz", + "tf2sos", + "tf2zpk", + "zpk2sos", + "zpk2tf", +] diff --git a/scipy-stubs/signal/fir_filter_design.pyi b/scipy-stubs/signal/fir_filter_design.pyi index bc0eb39c..c17a1bc3 100644 --- a/scipy-stubs/signal/fir_filter_design.pyi +++ b/scipy-stubs/signal/fir_filter_design.pyi @@ -1,4 +1,6 @@ -from scipy._typing import Untyped +# This module is not meant for public use and will be removed in SciPy v2.0.0. +# This stub simply re-exports the imported functions. +# TODO: Add type annotated dummy functions marked deprecated. +from ._fir_filter_design import * -def __dir__() -> Untyped: ... -def __getattr__(name) -> Untyped: ... +__all__ = ["firls", "firwin", "firwin2", "kaiser_atten", "kaiser_beta", "kaiserord", "minimum_phase", "remez"] diff --git a/scipy-stubs/signal/lti_conversion.pyi b/scipy-stubs/signal/lti_conversion.pyi index bc0eb39c..a8fbbb73 100644 --- a/scipy-stubs/signal/lti_conversion.pyi +++ b/scipy-stubs/signal/lti_conversion.pyi @@ -1,4 +1,6 @@ -from scipy._typing import Untyped +# This module is not meant for public use and will be removed in SciPy v2.0.0. +# This stub simply re-exports the imported functions. +# TODO: Add type annotated dummy functions marked deprecated. +from ._lti_conversion import * -def __dir__() -> Untyped: ... -def __getattr__(name) -> Untyped: ... +__all__ = ["abcd_normalize", "cont2discrete", "normalize", "ss2tf", "ss2zpk", "tf2ss", "tf2zpk", "zpk2ss", "zpk2tf"] diff --git a/scipy-stubs/signal/ltisys.pyi b/scipy-stubs/signal/ltisys.pyi index bc0eb39c..db7b3cc0 100644 --- a/scipy-stubs/signal/ltisys.pyi +++ b/scipy-stubs/signal/ltisys.pyi @@ -1,4 +1,38 @@ -from scipy._typing import Untyped +# This module is not meant for public use and will be removed in SciPy v2.0.0. +# This stub simply re-exports the imported functions. +# TODO: Add type annotated dummy functions marked deprecated. +from ._filter_design import * +from ._lti_conversion import * +from ._ltisys import * -def __dir__() -> Untyped: ... -def __getattr__(name) -> Untyped: ... +__all__ = [ + "StateSpace", + "TransferFunction", + "ZerosPolesGain", + "abcd_normalize", + "bode", + "cont2discrete", + "dbode", + "dfreqresp", + "dimpulse", + "dlsim", + "dlti", + "dstep", + "freqresp", + "freqs", + "freqs_zpk", + "freqz", + "freqz_zpk", + "impulse", + "lsim", + "lti", + "normalize", + "place_poles", + "ss2tf", + "ss2zpk", + "step", + "tf2ss", + "tf2zpk", + "zpk2ss", + "zpk2tf", +] diff --git a/scipy-stubs/signal/signaltools.pyi b/scipy-stubs/signal/signaltools.pyi index bc0eb39c..a652bd9b 100644 --- a/scipy-stubs/signal/signaltools.pyi +++ b/scipy-stubs/signal/signaltools.pyi @@ -1,4 +1,50 @@ -from scipy._typing import Untyped +# This module is not meant for public use and will be removed in SciPy v2.0.0. +# This stub simply re-exports the imported functions. +# TODO: Add type annotated dummy functions marked deprecated. +from ._filter_design import * +from ._fir_filter_design import * +from ._ltisys import * +from ._signaltools import * +from ._upfirdn import * +from .windows import * -def __dir__() -> Untyped: ... -def __getattr__(name) -> Untyped: ... +__all__ = [ + "cheby1", + "choose_conv_method", + "cmplx_sort", + "convolve", + "convolve2d", + "correlate", + "correlate2d", + "correlation_lags", + "decimate", + "deconvolve", + "detrend", + "dlti", + "fftconvolve", + "filtfilt", + "firwin", + "get_window", + "hilbert", + "hilbert2", + "invres", + "invresz", + "lfilter", + "lfilter_zi", + "lfiltic", + "medfilt", + "medfilt2d", + "oaconvolve", + "order_filter", + "resample", + "resample_poly", + "residue", + "residuez", + "sosfilt", + "sosfilt_zi", + "sosfiltfilt", + "unique_roots", + "upfirdn", + "vectorstrength", + "wiener", +] diff --git a/scipy-stubs/signal/spectral.pyi b/scipy-stubs/signal/spectral.pyi index bc0eb39c..0392762a 100644 --- a/scipy-stubs/signal/spectral.pyi +++ b/scipy-stubs/signal/spectral.pyi @@ -1,4 +1,18 @@ -from scipy._typing import Untyped +# This module is not meant for public use and will be removed in SciPy v2.0.0. +# This stub simply re-exports the imported functions. +# TODO: Add type annotated dummy functions marked deprecated. +from ._spectral_py import * -def __dir__() -> Untyped: ... -def __getattr__(name) -> Untyped: ... +__all__ = [ + "check_COLA", + "check_NOLA", + "coherence", + "csd", + "get_window", + "istft", + "lombscargle", + "periodogram", + "spectrogram", + "stft", + "welch", +] diff --git a/scipy-stubs/signal/spline.pyi b/scipy-stubs/signal/spline.pyi index bc0eb39c..a35dce78 100644 --- a/scipy-stubs/signal/spline.pyi +++ b/scipy-stubs/signal/spline.pyi @@ -1,4 +1,7 @@ -from scipy._typing import Untyped +# This module is not meant for public use and will be removed in SciPy v2.0.0. +# This stub simply re-exports the imported functions. +# TODO: Add type annotated dummy functions marked deprecated. +from ._spline import * +from ._spline_filters import * -def __dir__() -> Untyped: ... -def __getattr__(name) -> Untyped: ... +__all__ = ["cspline2d", "qspline2d", "sepfir2d", "symiirorder1", "symiirorder2"] diff --git a/scipy-stubs/signal/waveforms.pyi b/scipy-stubs/signal/waveforms.pyi index bc0eb39c..9a56a464 100644 --- a/scipy-stubs/signal/waveforms.pyi +++ b/scipy-stubs/signal/waveforms.pyi @@ -1,4 +1,6 @@ -from scipy._typing import Untyped +# This module is not meant for public use and will be removed in SciPy v2.0.0. +# This stub simply re-exports the imported functions. +# TODO: Add type annotated dummy functions marked deprecated. +from ._waveforms import * -def __dir__() -> Untyped: ... -def __getattr__(name) -> Untyped: ... +__all__ = ["chirp", "gausspulse", "sawtooth", "square", "sweep_poly", "unit_impulse"] diff --git a/scipy-stubs/signal/wavelets.pyi b/scipy-stubs/signal/wavelets.pyi index bc0eb39c..fc4aeac8 100644 --- a/scipy-stubs/signal/wavelets.pyi +++ b/scipy-stubs/signal/wavelets.pyi @@ -1,4 +1,6 @@ -from scipy._typing import Untyped +# This module is not meant for public use and will be removed in SciPy v2.0.0. +# This stub simply re-exports the imported functions. +# TODO: Add type annotated dummy functions marked deprecated. +from ._wavelets import * -def __dir__() -> Untyped: ... -def __getattr__(name) -> Untyped: ... +__all__ = ["cascade", "convolve", "cwt", "daub", "morlet", "morlet2", "qmf", "ricker"] diff --git a/scipy-stubs/signal/windows/windows.pyi b/scipy-stubs/signal/windows/windows.pyi index bc0eb39c..0c0cf105 100644 --- a/scipy-stubs/signal/windows/windows.pyi +++ b/scipy-stubs/signal/windows/windows.pyi @@ -1,4 +1,31 @@ -from scipy._typing import Untyped +# This module is not meant for public use and will be removed in SciPy v2.0.0. +# This stub simply re-exports the imported functions. +# TODO: Add type annotated dummy functions marked deprecated. +from ._windows import * -def __dir__() -> Untyped: ... -def __getattr__(name) -> Untyped: ... +__all__ = [ + "barthann", + "bartlett", + "blackman", + "blackmanharris", + "bohman", + "boxcar", + "chebwin", + "cosine", + "dpss", + "exponential", + "flattop", + "gaussian", + "general_cosine", + "general_gaussian", + "general_hamming", + "get_window", + "hamming", + "hann", + "kaiser", + "nuttall", + "parzen", + "taylor", + "triang", + "tukey", +]