@@ -293,14 +293,10 @@ def stride_windows(x, n, noverlap=None, axis=0):
293293 ----------
294294 x : 1D array or sequence
295295 Array or sequence containing the data.
296-
297296 n : int
298297 The number of data points in each window.
299-
300- noverlap : int
298+ noverlap : int, default: 0 (no overlap)
301299 The overlap between adjacent windows.
302- Default is 0 (no overlap)
303-
304300 axis : int
305301 The axis along which the windows will run.
306302
@@ -629,7 +625,7 @@ def _single_spectrum_helper(
629625 most efficient. This should *NOT* be used to get zero padding, or the
630626 scaling of the result will be incorrect; use *pad_to* for this instead.
631627
632- detrend : {'none', 'mean', 'linear'} or callable, default 'none'
628+ detrend : {'none', 'mean', 'linear'} or callable, default: 'none'
633629 The function applied to each segment before fft-ing, designed to remove
634630 the mean or linear trend. Unlike in MATLAB, where the *detrend* parameter
635631 is a vector, in Matplotlib is it a function. The :mod:`~matplotlib.mlab`
@@ -669,9 +665,8 @@ def psd(x, NFFT=None, Fs=None, detrend=None, window=None,
669665
670666 %(PSD)s
671667
672- noverlap : int
668+ noverlap : int, default: 0 (no overlap)
673669 The number of points of overlap between segments.
674- The default value is 0 (no overlap).
675670
676671 Returns
677672 -------
@@ -729,9 +724,8 @@ def csd(x, y, NFFT=None, Fs=None, detrend=None, window=None,
729724
730725 %(PSD)s
731726
732- noverlap : int
727+ noverlap : int, default: 0 (no overlap)
733728 The number of points of overlap between segments.
734- The default value is 0 (no overlap).
735729
736730 Returns
737731 -------
@@ -845,9 +839,8 @@ def specgram(x, NFFT=None, Fs=None, detrend=None, window=None,
845839
846840 %(PSD)s
847841
848- noverlap : int, optional
849- The number of points of overlap between blocks. The default
850- value is 128.
842+ noverlap : int, default: 128
843+ The number of points of overlap between blocks.
851844 mode : str, default: 'psd'
852845 What sort of spectrum to use:
853846 'psd'
@@ -928,9 +921,8 @@ def cohere(x, y, NFFT=256, Fs=2, detrend=detrend_none, window=window_hanning,
928921
929922 %(PSD)s
930923
931- noverlap : int
932- The number of points of overlap between blocks. The default value
933- is 0 (no overlap).
924+ noverlap : int, default: 0 (no overlap)
925+ The number of points of overlap between segments.
934926
935927 Returns
936928 -------
0 commit comments