Skip to content

signal: Replace the final Untyped in _short_time_fft.pyi. #226

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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