|
45 | 45 | """ |
46 | 46 |
|
47 | 47 | # Import functions from within the control system library |
48 | | -# Should probably only import the exact functions we use... |
49 | | -from .bdalg import series, parallel, negate, feedback |
50 | | -from .delay import pade |
| 48 | +# Note: the functions we use are specified as __all__ variables in the modules |
| 49 | +from .bdalg import * |
| 50 | +from .delay import * |
51 | 51 | from .dtime import * |
52 | | -from .freqplot import bode_plot, nyquist_plot, gangof4_plot |
53 | | -from .freqplot import bode, nyquist, gangof4 |
| 52 | +from .freqplot import * |
54 | 53 | from .lti import * |
55 | 54 | from .margins import * |
56 | | -from .mateqn import lyap, dlyap, care, dare |
57 | | -from .modelsimp import hsvd, modred, balred, era, markov, minreal |
| 55 | +from .mateqn import * |
| 56 | +from .modelsimp import * |
58 | 57 | from .nichols import * |
59 | | -from .phaseplot import phase_plot, box_grid |
60 | | -from .pzmap import pzmap |
| 58 | +from .phaseplot import * |
| 59 | +from .pzmap import * |
61 | 60 | from .rlocus import * |
62 | | -from .statefbk import place, lqr, ctrb, obsv, gram, acker |
| 61 | +from .statefbk import * |
63 | 62 | from .statesp import * |
64 | | -from .timeresp import forced_response, initial_response, step_response, \ |
65 | | - impulse_response |
| 63 | +from .timeresp import * |
66 | 64 | from .xferfcn import * |
67 | 65 | from .ctrlutil import * |
68 | 66 | from .frdata import * |
69 | | -from .canonical import canonical_form, reachable_form |
| 67 | +from .canonical import * |
70 | 68 |
|
71 | 69 | # Exceptions |
72 | 70 | from .exception import * |
|
77 | 75 | except ImportError: |
78 | 76 | __version__ = "dev" |
79 | 77 |
|
80 | | -# Import some of the more common (and benign) MATLAB shortcuts |
81 | | -# By default, don't import conflicting commands here |
82 | | -#! TODO (RMM, 4 Nov 2012): remove MATLAB dependencies from __init__.py |
83 | | -#! |
84 | | -#! Eventually, all functionality should be in modules *other* than matlab. |
85 | | -#! This will allow inclusion of the matlab module to set up a different set |
86 | | -#! of defaults from the main package. At that point, the matlab module will |
87 | | -#! allow provide compatibility with MATLAB but no package functionality. |
88 | | -#! |
89 | | - |
90 | 78 | # The following is to use Numpy's testing framework |
91 | 79 | # Tests go under directory tests/, benchmarks under directory benchmarks/ |
92 | 80 | from numpy.testing import Tester |
|
0 commit comments