@@ -394,6 +394,7 @@ def demean(x, axis=0):
394
394
.. seealso::
395
395
396
396
:func:`delinear`
397
+
397
398
:func:`denone`
398
399
:func:`delinear` and :func:`denone` are other detrend algorithms.
399
400
@@ -427,6 +428,7 @@ def detrend_mean(x, axis=None):
427
428
for the default *axis*.
428
429
429
430
:func:`detrend_linear`
431
+
430
432
:func:`detrend_none`
431
433
:func:`detrend_linear` and :func:`detrend_none` are other
432
434
detrend algorithms.
@@ -474,6 +476,7 @@ def detrend_none(x, axis=None):
474
476
for the default *axis*, which has no effect.
475
477
476
478
:func:`detrend_mean`
479
+
477
480
:func:`detrend_linear`
478
481
:func:`detrend_mean` and :func:`detrend_linear` are other
479
482
detrend algorithms.
@@ -506,6 +509,7 @@ def detrend_linear(y):
506
509
for the default *axis*.
507
510
508
511
:func:`detrend_mean`
512
+
509
513
:func:`detrend_none`
510
514
:func:`detrend_mean` and :func:`detrend_none` are other
511
515
detrend algorithms.
@@ -537,9 +541,11 @@ def stride_windows(x, n, noverlap=None, axis=0):
537
541
Get all windows of x with length n as a single array,
538
542
using strides to avoid data duplication.
539
543
540
- .. warning:: It is not safe to write to the output array. Multiple
541
- elements may point to the same piece of memory, so modifying one value may
542
- change others.
544
+ .. warning::
545
+
546
+ It is not safe to write to the output array. Multiple
547
+ elements may point to the same piece of memory,
548
+ so modifying one value may change others.
543
549
544
550
Call signature::
545
551
@@ -599,9 +605,11 @@ def stride_repeat(x, n, axis=0):
599
605
Repeat the values in an array in a memory-efficient manner. Array x is
600
606
stacked vertically n times.
601
607
602
- .. warning:: It is not safe to write to the output array. Multiple
603
- elements may point to the same piece of memory, so modifying one value may
604
- change others.
608
+ .. warning::
609
+
610
+ It is not safe to write to the output array. Multiple
611
+ elements may point to the same piece of memory, so
612
+ modifying one value may change others.
605
613
606
614
Call signature::
607
615
@@ -878,6 +886,7 @@ def _single_spectrum_helper(x, mode, Fs=None, window=None, pad_to=None,
878
886
879
887
*detrend*: [ 'default' | 'constant' | 'mean' | 'linear' | 'none'] or
880
888
callable
889
+
881
890
The function applied to each segment before fft-ing,
882
891
designed to remove the mean or linear trend. Unlike in
883
892
MATLAB, where the *detrend* parameter is a vector, in
@@ -1244,6 +1253,7 @@ def specgram(x, NFFT=None, Fs=None, detrend=None, window=None,
1244
1253
1245
1254
*mode*: [ 'default' | 'psd' | 'complex' | 'magnitude'
1246
1255
'angle' | 'phase' ]
1256
+
1247
1257
What sort of spectrum to use. Default is 'psd'. which takes the
1248
1258
power spectral density. 'complex' returns the complex-valued
1249
1259
frequency spectrum. 'magnitude' returns the magnitude spectrum.
@@ -1599,7 +1609,9 @@ def longest_ones(x):
1599
1609
def prepca (P , frac = 0 ):
1600
1610
"""
1601
1611
1602
- WARNING: this function is deprecated -- please see class PCA instead
1612
+ .. warning::
1613
+
1614
+ This function is deprecated -- please see class PCA instead
1603
1615
1604
1616
Compute the principal components of *P*. *P* is a (*numVars*,
1605
1617
*numObs*) array. *frac* is the minimum fraction of variance that a
0 commit comments