Highlights
* annotated all of [`scipy.signal.windows`](https://docs.scipy.org/doc/scipy-1.14.1/reference/signal.windows.html) (#153)
* annotated and tested the `scipy.signal` [spectral analysis functions](https://docs.scipy.org/doc/scipy-1.14.1/reference/signal.html#spectral-analysis) (157)
* `periodogram`
* `spectrogram`
* `welch`
* `lombscargle`
* `csd`
* `coherence`
* `stft` and `istft`
* `check_COLA` and `check_NOLA`
* improved and fixed many [`scipy.optimize`](https://docs.scipy.org/doc/scipy-1.14.1/reference/optimize.html) functions (#167), including
* every flavor of [`OptimizeResult`](https://docs.scipy.org/doc/scipy-1.14.1/reference/generated/scipy.optimize.OptimizeResult.html)
* [`minimize_scalar`](https://docs.scipy.org/doc/scipy-1.14.1/reference/optimize.html#scalar-functions-optimization)
* [`minimize`](https://docs.scipy.org/doc/scipy-1.14.1/reference/optimize.html#local-multivariate-optimization)
* [`brute`, `differential_evolution`, `shgo`, and `direct`](https://docs.scipy.org/doc/scipy-1.14.1/reference/optimize.html#global-optimization)
* [`least_squares`](https://docs.scipy.org/doc/scipy-1.14.1/reference/optimize.html#nonlinear-least-squares)
* [`nnls`, `lsq_linear` and `isotonic_regression`](https://docs.scipy.org/doc/scipy-1.14.1/reference/optimize.html#linear-least-squares)
* [`brentq`, `brenth`, `ridder`, `bisect`, `newton`, `toms748`](https://docs.scipy.org/doc/scipy-1.14.1/reference/optimize.html#scalar-functions)
* [`root`](https://docs.scipy.org/doc/scipy-1.14.1/reference/optimize.html#multidimensional)
* [`linprog` and `milp`](https://docs.scipy.org/doc/scipy-1.14.1/reference/optimize.html#linear-programming-milp)
* [`fmin` & co.](https://docs.scipy.org/doc/scipy-1.14.1/reference/optimize.html#id2) (legacy)
* ... and [several others](https://github.com/jorenham/scipy-stubs/pull/167/files)
Resolved issues
* 134 - specializing `scipy.optimize.OptimizeResult`
* 154 - `select_range` params in `scipy.linalg._decomp` can only be `int{16,32,64}` if `select="i"`
* 155 - sync `integrate._typing.QuadOpts` with the kwargs of `integrate.quad`
* 158 - `scipy.spatial` signature of `[c]KDTree.query` does not match docs
* 159 - `scipy.signal.find_peaks` returned dictionary type is missing the `'widths'` key
* 163 - Wrong return type for `scipy.fft.next_fast_len`
* 168 - `scipy.stats.qmc.scale` does not accept numpy array with typed shape as input when type checked with pyright
Merged PR's
* use `basedmypy[faster-cache]` by jorenham in https://github.com/jorenham/scipy-stubs/pull/150
* bump `ruff` to `0.7.2` by jorenham in https://github.com/jorenham/scipy-stubs/pull/151
* prepare for further development by jorenham in https://github.com/jorenham/scipy-stubs/pull/152
* sync `integrate._typing.QuadOpts` with `integrate.quad` kwargs by jorenham in https://github.com/jorenham/scipy-stubs/pull/156
* `signal.windows`: Add type stubs for `_windows.pyi`. by pavyamsiri in https://github.com/jorenham/scipy-stubs/pull/153
* `signal`: Add type stubs to `_spectral_py.pyi`. by pavyamsiri in https://github.com/jorenham/scipy-stubs/pull/157
* fix 159 and improve `scipy.signal._peak_finding` by jorenham in https://github.com/jorenham/scipy-stubs/pull/161
* fix 158 and improve `scipy.spatial._[c]kdtree` by jorenham in https://github.com/jorenham/scipy-stubs/pull/162
* fix 163 and improve `scipy.fft._helper` by jorenham in https://github.com/jorenham/scipy-stubs/pull/164
* fix 154 and improve `scipy.linalg._decomp` by jorenham in https://github.com/jorenham/scipy-stubs/pull/165
* add missing `__all__` in `scipy.optimize` by jorenham in https://github.com/jorenham/scipy-stubs/pull/166
* fix 134 and improve `scipy.optimize._optimize` by jorenham in https://github.com/jorenham/scipy-stubs/pull/167
* bump `ruff` to `0.7.3` by jorenham in https://github.com/jorenham/scipy-stubs/pull/170
* bump `basedpyright` to `1.21.0` by jorenham in https://github.com/jorenham/scipy-stubs/pull/171
* fix incorrectly rejected `ndarray` in `scipy.stats.qmc` by jorenham in https://github.com/jorenham/scipy-stubs/pull/172
**Full Changelog**: https://github.com/jorenham/scipy-stubs/compare/v1.14.1.2...v1.14.1.3