Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a2306e4

Browse files
committed
Clean up the top of mlab
1 parent ddddf23 commit a2306e4

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

lib/matplotlib/mlab.py

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
"""
22
Numerical python functions written for compatibility with MATLAB
3-
commands with the same names.
3+
commands with the same names. Most numerical python functions can be found in
4+
the `numpy` and `scipy` libraries. What remains here is code for performing
5+
spectral computations.
46
5-
MATLAB compatible functions
6-
---------------------------
7+
Spectral functions
8+
-------------------
79
810
:func:`cohere`
911
Coherence (normalized cross spectral density)
@@ -20,11 +22,6 @@
2022
:func:`specgram`
2123
Spectrogram (spectrum over segments of time)
2224
23-
Miscellaneous functions
24-
-----------------------
25-
26-
Functions that don't exist in MATLAB, but are useful anyway:
27-
2825
:func:`complex_spectrum`
2926
Return the complex-valued frequency spectrum of a signal
3027
@@ -56,17 +53,13 @@
5653
Apply a window along a given axis
5754
"""
5855

59-
import copy
6056
import csv
61-
import operator
62-
import os
6357
import warnings
6458

6559
import numpy as np
6660

6761
import matplotlib.cbook as cbook
6862
from matplotlib import docstring
69-
from matplotlib.path import Path
7063
import math
7164

7265

0 commit comments

Comments
 (0)