@@ -6544,43 +6544,43 @@ def psd(self, x, NFFT=None, Fs=None, Fc=None, detrend=None,
6544
6544
6545
6545
Parameters
6546
6546
----------
6547
- x: 1-D array or sequence
6547
+ x : 1-D array or sequence
6548
6548
Array or sequence containing the data
6549
6549
6550
6550
%(Spectral)s
6551
6551
6552
6552
%(PSD)s
6553
6553
6554
- noverlap: integer
6554
+ noverlap : integer
6555
6555
The number of points of overlap between segments.
6556
6556
The default value is 0 (no overlap).
6557
6557
6558
- Fc: integer
6558
+ Fc : integer
6559
6559
The center frequency of *x* (defaults to 0), which offsets
6560
6560
the x extents of the plot to reflect the frequency range used
6561
6561
when a signal is acquired and then filtered and downsampled to
6562
6562
baseband.
6563
6563
6564
- return_line: bool
6564
+ return_line : bool
6565
6565
Whether to include the line object plotted in the returned values.
6566
6566
Default is False.
6567
6567
6568
- **kwargs:
6568
+ **kwargs :
6569
6569
Keyword arguments control the :class:`~matplotlib.lines.Line2D`
6570
6570
properties:
6571
6571
6572
6572
%(Line2D)s
6573
6573
6574
6574
Returns
6575
6575
-------
6576
- Pxx: 1-D array
6576
+ Pxx : 1-D array
6577
6577
The values for the power spectrum `P_{xx}` before scaling
6578
6578
(real valued)
6579
6579
6580
- freqs: 1-D array
6580
+ freqs : 1-D array
6581
6581
The frequencies corresponding to the elements in *Pxx*
6582
6582
6583
- line: a :class:`~matplotlib.lines.Line2D` instance
6583
+ line : a :class:`~matplotlib.lines.Line2D` instance
6584
6584
The line created by this function.
6585
6585
Only returned if *return_line* is True.
6586
6586
@@ -6676,43 +6676,43 @@ def csd(self, x, y, NFFT=None, Fs=None, Fc=None, detrend=None,
6676
6676
6677
6677
Parameters
6678
6678
----------
6679
- x, y: 1-D arrays or sequences
6679
+ x, y : 1-D arrays or sequences
6680
6680
Arrays or sequences containing the data
6681
6681
6682
6682
%(Spectral)s
6683
6683
6684
6684
%(PSD)s
6685
6685
6686
- noverlap: integer
6686
+ noverlap : integer
6687
6687
The number of points of overlap between segments.
6688
6688
The default value is 0 (no overlap).
6689
6689
6690
- Fc: integer
6690
+ Fc : integer
6691
6691
The center frequency of *x* (defaults to 0), which offsets
6692
6692
the x extents of the plot to reflect the frequency range used
6693
6693
when a signal is acquired and then filtered and downsampled to
6694
6694
baseband.
6695
6695
6696
- return_line: bool
6696
+ return_line : bool
6697
6697
Whether to include the line object plotted in the returned values.
6698
6698
Default is False.
6699
6699
6700
- **kwargs:
6700
+ **kwargs :
6701
6701
Keyword arguments control the :class:`~matplotlib.lines.Line2D`
6702
6702
properties:
6703
6703
6704
6704
%(Line2D)s
6705
6705
6706
6706
Returns
6707
6707
-------
6708
- Pxy: 1-D array
6708
+ Pxy : 1-D array
6709
6709
The values for the cross spectrum `P_{xy}` before scaling
6710
6710
(complex valued)
6711
6711
6712
- freqs: 1-D array
6712
+ freqs : 1-D array
6713
6713
The frequencies corresponding to the elements in *Pxy*
6714
6714
6715
- line: a :class:`~matplotlib.lines.Line2D` instance
6715
+ line : a :class:`~matplotlib.lines.Line2D` instance
6716
6716
The line created by this function.
6717
6717
Only returned if *return_line* is True.
6718
6718
@@ -6785,40 +6785,40 @@ def magnitude_spectrum(self, x, Fs=None, Fc=None, window=None,
6785
6785
6786
6786
Parameters
6787
6787
----------
6788
- x: 1-D array or sequence
6788
+ x : 1-D array or sequence
6789
6789
Array or sequence containing the data
6790
6790
6791
6791
%(Spectral)s
6792
6792
6793
6793
%(Single_Spectrum)s
6794
6794
6795
- scale: [ 'default' | 'linear' | 'dB' ]
6795
+ scale : [ 'default' | 'linear' | 'dB' ]
6796
6796
The scaling of the values in the *spec*. 'linear' is no scaling.
6797
6797
'dB' returns the values in dB scale. When *mode* is 'density',
6798
6798
this is dB power (10 * log10). Otherwise this is dB amplitude
6799
6799
(20 * log10). 'default' is 'linear'.
6800
6800
6801
- Fc: integer
6801
+ Fc : integer
6802
6802
The center frequency of *x* (defaults to 0), which offsets
6803
6803
the x extents of the plot to reflect the frequency range used
6804
6804
when a signal is acquired and then filtered and downsampled to
6805
6805
baseband.
6806
6806
6807
- **kwargs:
6807
+ **kwargs :
6808
6808
Keyword arguments control the :class:`~matplotlib.lines.Line2D`
6809
6809
properties:
6810
6810
6811
6811
%(Line2D)s
6812
6812
6813
6813
Returns
6814
6814
-------
6815
- spectrum: 1-D array
6815
+ spectrum : 1-D array
6816
6816
The values for the magnitude spectrum before scaling (real valued)
6817
6817
6818
- freqs: 1-D array
6818
+ freqs : 1-D array
6819
6819
The frequencies corresponding to the elements in *spectrum*
6820
6820
6821
- line: a :class:`~matplotlib.lines.Line2D` instance
6821
+ line : a :class:`~matplotlib.lines.Line2D` instance
6822
6822
The line created by this function
6823
6823
6824
6824
Examples
@@ -6888,34 +6888,34 @@ def angle_spectrum(self, x, Fs=None, Fc=None, window=None,
6888
6888
6889
6889
Parameters
6890
6890
----------
6891
- x: 1-D array or sequence
6891
+ x : 1-D array or sequence
6892
6892
Array or sequence containing the data
6893
6893
6894
6894
%(Spectral)s
6895
6895
6896
6896
%(Single_Spectrum)s
6897
6897
6898
- Fc: integer
6898
+ Fc : integer
6899
6899
The center frequency of *x* (defaults to 0), which offsets
6900
6900
the x extents of the plot to reflect the frequency range used
6901
6901
when a signal is acquired and then filtered and downsampled to
6902
6902
baseband.
6903
6903
6904
- **kwargs:
6904
+ **kwargs :
6905
6905
Keyword arguments control the :class:`~matplotlib.lines.Line2D`
6906
6906
properties:
6907
6907
6908
6908
%(Line2D)s
6909
6909
6910
6910
Returns
6911
6911
-------
6912
- spectrum: 1-D array
6912
+ spectrum : 1-D array
6913
6913
The values for the angle spectrum in radians (real valued)
6914
6914
6915
- freqs: 1-D array
6915
+ freqs : 1-D array
6916
6916
The frequencies corresponding to the elements in *spectrum*
6917
6917
6918
- line: a :class:`~matplotlib.lines.Line2D` instance
6918
+ line : a :class:`~matplotlib.lines.Line2D` instance
6919
6919
The line created by this function
6920
6920
6921
6921
Examples
@@ -6970,34 +6970,34 @@ def phase_spectrum(self, x, Fs=None, Fc=None, window=None,
6970
6970
6971
6971
Parameters
6972
6972
----------
6973
- x: 1-D array or sequence
6973
+ x : 1-D array or sequence
6974
6974
Array or sequence containing the data
6975
6975
6976
6976
%(Spectral)s
6977
6977
6978
6978
%(Single_Spectrum)s
6979
6979
6980
- Fc: integer
6980
+ Fc : integer
6981
6981
The center frequency of *x* (defaults to 0), which offsets
6982
6982
the x extents of the plot to reflect the frequency range used
6983
6983
when a signal is acquired and then filtered and downsampled to
6984
6984
baseband.
6985
6985
6986
- **kwargs:
6986
+ **kwargs :
6987
6987
Keyword arguments control the :class:`~matplotlib.lines.Line2D`
6988
6988
properties:
6989
6989
6990
6990
%(Line2D)s
6991
6991
6992
6992
Returns
6993
6993
-------
6994
- spectrum: 1-D array
6994
+ spectrum : 1-D array
6995
6995
The values for the phase spectrum in radians (real valued)
6996
6996
6997
- freqs: 1-D array
6997
+ freqs : 1-D array
6998
6998
The frequencies corresponding to the elements in *spectrum*
6999
6999
7000
- line: a :class:`~matplotlib.lines.Line2D` instance
7000
+ line : a :class:`~matplotlib.lines.Line2D` instance
7001
7001
The line created by this function
7002
7002
7003
7003
Examples
@@ -7054,17 +7054,17 @@ def cohere(self, x, y, NFFT=256, Fs=2, Fc=0, detrend=mlab.detrend_none,
7054
7054
7055
7055
%(PSD)s
7056
7056
7057
- noverlap: integer
7057
+ noverlap : integer
7058
7058
The number of points of overlap between blocks. The
7059
7059
default value is 0 (no overlap).
7060
7060
7061
- Fc: integer
7061
+ Fc : integer
7062
7062
The center frequency of *x* (defaults to 0), which offsets
7063
7063
the x extents of the plot to reflect the frequency range used
7064
7064
when a signal is acquired and then filtered and downsampled to
7065
7065
baseband.
7066
7066
7067
- **kwargs:
7067
+ **kwargs :
7068
7068
Keyword arguments control the :class:`~matplotlib.lines.Line2D`
7069
7069
properties of the coherence plot:
7070
7070
@@ -7127,48 +7127,48 @@ def specgram(self, x, NFFT=None, Fs=None, Fc=None, detrend=None,
7127
7127
7128
7128
Parameters
7129
7129
----------
7130
- x: 1-D array or sequence
7130
+ x : 1-D array or sequence
7131
7131
Array or sequence containing the data
7132
7132
7133
7133
%(Spectral)s
2851
code>
7134
7134
7135
7135
%(PSD)s
7136
7136
7137
- mode: [ 'default' | 'psd' | 'magnitude' | 'angle' | 'phase' ]
7137
+ mode : [ 'default' | 'psd' | 'magnitude' | 'angle' | 'phase' ]
7138
7138
What sort of spectrum to use. Default is 'psd'. which takes
7139
7139
the power spectral density. 'complex' returns the complex-valued
7140
7140
frequency spectrum. 'magnitude' returns the magnitude spectrum.
7141
7141
'angle' returns the phase spectrum without unwrapping. 'phase'
7142
7142
returns the phase spectrum with unwrapping.
7143
7143
7144
- noverlap: integer
7144
+ noverlap : integer
7145
7145
The number of points of overlap between blocks. The
7146
7146
default value is 128.
7147
7147
7148
- scale: [ 'default' | 'linear' | 'dB' ]
7148
+ scale : [ 'default' | 'linear' | 'dB' ]
7149
7149
The scaling of the values in the *spec*. 'linear' is no scaling.
7150
7150
'dB' returns the values in dB scale. When *mode* is 'psd',
7151
7151
this is dB power (10 * log10). Otherwise this is dB amplitude
7152
7152
(20 * log10). 'default' is 'dB' if *mode* is 'psd' or
7153
7153
'magnitude' and 'linear' otherwise. This must be 'linear'
7154
7154
if *mode* is 'angle' or 'phase'.
7155
7155
7156
- Fc: integer
7156
+ Fc : integer
7157
7157
The center frequency of *x* (defaults to 0), which offsets
7158
7158
the x extents of the plot to reflect the frequency range used
7159
7159
when a signal is acquired and then filtered and downsampled to
7160
7160
baseband.
7161
7161
7162
- cmap:
7162
+ cmap :
7163
7163
A :class:`matplotlib.colors.Colormap` instance; if *None*, use
7164
7164
default determined by rc
7165
7165
7166
- xextent:
7166
+ xextent :
7167
7167
The image extent along the x-axis. xextent = (xmin,xmax)
7168
7168
The default is (0,max(bins)), where bins is the return
7169
7169
value from :func:`~matplotlib.mlab.specgram`
7170
7170
7171
- **kwargs:
7171
+ **kwargs :
7172
7172
Additional kwargs are passed on to imshow which makes the
7173
7173
specgram image
7174
7174
@@ -7179,17 +7179,17 @@ def specgram(self, x, NFFT=None, Fs=None, Fc=None, detrend=None,
7179
7179
7180
7180
Returns
7181
7181
-------
7182
- spectrum: 2-D array
7182
+ spectrum : 2-D array
7183
7183
columns are the periodograms of successive segments
7184
7184
7185
- freqs: 1-D array
7185
+ freqs : 1-D array
7186
7186
The frequencies corresponding to the rows in *spectrum*
7187
7187
7188
- t: 1-D array
7188
+ t : 1-D array
7189
7189
The times corresponding to midpoints of segments (i.e the columns
7190
7190
in *spectrum*)
7191
7191
7192
- im: instance of class :class:`~matplotlib.image.AxesImage`
7192
+ im : instance of class :class:`~matplotlib.image.AxesImage`
7193
7193
The image created by imshow containing the spectrogram
7194
7194
7195
7195
Examples
0 commit comments