Skip to content

Commit

Permalink
Merge pull request #226 from pavyamsiri/improve/signal/stft
Browse files Browse the repository at this point in the history
`signal`: Replace the final `Untyped` in `_short_time_fft.pyi`.
  • Loading branch information
jorenham authored Nov 29, 2024
2 parents 5997a25 + a28f8bc commit 1499c09
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scipy-stubs/signal/_short_time_fft.pyi
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
from collections.abc import Callable
from typing import Any, Literal, TypeAlias
from typing_extensions import Self
from typing_extensions import Self, Unpack

import numpy as np
import optype.numpy as onp
from scipy._typing import Untyped
from .windows._windows import _Window, _WindowNeedsParams

__all__ = ["ShortTimeFFT"]

Expand Down Expand Up @@ -41,7 +41,7 @@ class ShortTimeFFT:
@classmethod
def from_window(
cls,
win_param: str | tuple[Untyped, ...] | float,
win_param: _Window | onp.ToFloat | tuple[_Window | _WindowNeedsParams, Unpack[tuple[object, ...]]],
fs: float,
nperseg: int,
noverlap: int,
Expand Down

0 comments on commit 1499c09

Please sign in to comment.