Skip to content

Commit

Permalink
signal: Remove some notes in _spectral_py.pyi.
Browse files Browse the repository at this point in the history
  • Loading branch information
pavyamsiri committed Nov 4, 2024
1 parent bcf3d42 commit 0d3ff4a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions scipy-stubs/signal/_spectral_py.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,13 @@ _LegacyScaling: TypeAlias = Literal["psd", "spectrum"]
_Average: TypeAlias = Literal["mean", "median"]
_Boundary: TypeAlias = Literal["even", "odd", "constant", "zeros"] | None

# NOTE(pavyamsiri): This function was actually recently updated, adding new arguments and return types.
def lombscargle(
x: _ArrayLikeFloat_co,
y: _ArrayLikeFloat_co,
freqs: _ArrayLikeFloat_co,
precenter: op.CanBool = False,
normalize: op.CanBool = False,
) -> _Array_f8_1d: ...

# NOTE(pavyamsiri): The docs don't allow `None` for `window` but the body does?
def periodogram(
x: _ArrayLikeComplex_co,
fs: AnyReal = 1.0,
Expand Down

0 comments on commit 0d3ff4a

Please sign in to comment.