matplotlib.mlab
Numerical Python functions written for compatibility with MATLAB commands with the same names. Most numerical Python functions can be found in the NumPy and SciPy libraries. What remains here is code for performing spectral computations and kernel density estimations.
Spectral functions
- cohere
Coherence (normalized cross spectral density)
- csd
Cross spectral density using Welch’s average periodogram
- detrend
Remove the mean or best fit line from an array
- psd
Power spectral density using Welch’s average periodogram
- specgram
Spectrogram (spectrum over segments of time)
- complex_spectrum
Return the complex-valued frequency spectrum of a signal
- magnitude_spectrum
Return the magnitude of the frequency spectrum of a signal
- angle_spectrum
Return the angle (wrapped phase) of the frequency spectrum of a signal
- phase_spectrum
Return the phase (unwrapped angle) of the frequency spectrum of a signal
- detrend_mean
Remove the mean from a line.
- detrend_linear
Remove the best fit line from a line.
- detrend_none
Return the original line.
- stride_windows
Get all windows in an array in a memory-efficient manner