* Clarify behavior of `pass_zero` parameter. Closes#19291.
* Make example section more useful by adding examples with plots which illustrate the behavior of the significant parameters.
* Improve `firwin` and `firwin2` plots in `signal.rst`.
[docs only]
* convert sparse.linalg to use sparray internally
* fix found errors
* workaround pydata and too-fast convergence in some tests
* typo
* make A symmetric to test real eig like name of test. Maybe avoid spurious failures too
* make scalar vx matmul clear in test
* include reviewer suggestions
* fix random_array changes to include rng seed. Will change migration guide in another PR to address this.
* fix issubclass usage
* update docs in _dsolve/linsolve.py [docs only]
* DOC: Improving "Spectral Analysis" section in User Guide
* DOC: Remove header comments of plot scripts for "Spectral Analysis" section in file signal.rst.
* Small corrections.
* * Added link to "Spectral Analysis" section in docstrings of `csd()`, `periodogram()` and `welch()`
* Changed name of "power spectrum" to "squared magnitude spectrum" in `periodogram()` and `welch()` in docstrings for consistency.
* Fixed small typos.
* Fix two linter errors.
* Fixed Typo doc/source/tutorial/signal.rst
Co-authored-by: Eric Larson <larson.eric.d@gmail.com>
* Fixed Typo in doc/source/tutorial/signal.rst (2)
Co-authored-by: Eric Larson <larson.eric.d@gmail.com>
* Fixed typo in plot doc/source/tutorial/examples/signal_SpectralAnalysis_ContinuousSpectralRepresentations.py
Co-authored-by: Eric Larson <larson.eric.d@gmail.com>
* Small tex improvement doc/source/tutorial/signal.rst
Co-authored-by: Eric Larson <larson.eric.d@gmail.com>
* Imrpove wording in doc/source/tutorial/signal.rst
Co-authored-by: Eric Larson <larson.eric.d@gmail.com>
* Change "impulse response" to "frequency response" in doc/source/tutorial/examples/signal_SpectralAnalysis_SpectrumPhaseDelay.py
Co-authored-by: Eric Larson <larson.eric.d@gmail.com>
* * Fixed wording for '"onesided" spectral representation' in signal.rst
* Made width difference of the lobes of the plot generated in signal_SpectralAnalysis_PeriodogramWelch.py more apparent.
---------
Co-authored-by: Eric Larson <larson.eric.d@gmail.com>
* Correct the comment about `fmin_powell` in `optimize/__init__.py`
* Correct the comment about `fmin_powell` in `scipy/doc/source/tutorial/examples/5-1`
* CLN: Refactor shgo to use qmc.Sobol
* CLN: Refactor differentialevolution to use qmc.LHS
* ENH: add other QMC methods as init in differentialevolution
* CLN/DOC: revert original LHS and document sobol, halton options
* FIX: init choice
* MAINT: change warning filtering
* TST: fix seed for backward compatibility with numpy 1.6
* TST/FIX: incorrect number of samples for Sobol' and remove warning filter for Sobol'
* DOC: fix wrong number of sample for sobol in shgo example
* FIX: Sobol' number of samples in doc and iteration logic
* FIX: Update self.n
* FIX: doctests
* FIX: tests suite
* FIX: default n to None and Sobol iterations without scrambling
* ENH: because n is constant fast forward is implicitly done and not needed here
* ENH: halton remove sobol sampling function
* FIX/DOC/TST: int for QMC ns, corresponding tests and minor doc
* FIX/TST: warning in dual_annealing test on windows
* DOC/TST: rewording about Sobol' and change init tests
* DOC/MAINT: barnard_exact n for shgo and round to power of 2 for sobol
* MAINT: circular imports
* FIX: missing backslash
* MAINT: review from andyfaff
* DOC: review from andyfaff
* ENH: add mode NI_EXTEND_WRAP_GRID to map_coordinates
* MAINT: remove duplicated code for the mirror extension case
The next step is to use other modes here in addition to the existing
map_coordinates call above
* pass the mode argument to spline_filter1d calls in interpolation.py
* BUG: use wrap and reflect spline boundary conditions appropriately
* use grid-wrap instead of wrap-grid as suggested in gh-206
add alias grid-mirror for reflect
TST: test_splines.py now needs to use 'grid-wrap' rather than 'wrap'
* ENH: modify NI_ZoomShift to support all spline boundary modes as well
the same approach for spline_mode as used in NI_GeometricTransform is repeated
* BUG: For line buffer functions set grid-wrap equivalent to wrap
* TST: add map_coordinates boundary tests for new modes
TST: add new zoom and shift tests
TST: add reflect via affine shift test
* DOC: update ndimage.interpolation docstrings
* DOC: add boundary and interpolation grid figures ndimage tutorial
* DOC: pep8 in tutorial examples
* DOC: update plot_interp_grid.py tickmarks for matplotlib 3.3 compatibility
* DOC: update tutorial on reviewer feedback
* DOC: link to boundary mode illustrations from interpolation docstrings
DOC: mention grid-mirror and grid-wrap synonyms in ndimage filter docstrings
DOC: update mode descripts in the ndimage filter tutorial text
* MAINT: rename cumtrapz to cumulative_trapezoid
Keep cumtrapz as an undocumented alias. Addresses part of gh-12924.
* MAINT: rename integrate.trapz to trapezoid
Keep trapz as an undocumented alias. Addresses part of gh-12924.
* MAINT: rename stats.trapz to trapezoid
Keep trapz as an undocumented alias. Closes gh-12924.
* STY: fix two tiny linting things
* Fix pycodestyle E305 using autopep8
Using pycodestyle v2.3.1 (successor to the tool pep8) to check
coding style, there were hundreds of cases of:
E305 expected 2 blank lines after class or function definition
These were fixed using:
autopep8 --select E305 --in-place ...
This would close issue #8388, cross reference #8384 for updating
TravisCI to use pycodestyle inplace of pep8 for style checks.
* TravisCI/tox can now enforce pep8 E305
DOC: change to print functions
DOC: lot 1
DOC: lot 2
DOC: csgraph.rst
DOC io.netcdf refguide
DOC: encoding should be UTF-8?
DOC: fixed ndimage + csgraph examples
CI: remove refguide test from 2.7
DOC: finally sorted csgraph doc example
DOC: fixed refguide for cKDTree
MAINT: use np.c_ instead of list(zip(