Skip to content

Commit cecc8d1

Browse files
committed
updated documentation for 0.6c release
1 parent 80b0f7b commit cecc8d1

15 files changed

Lines changed: 124 additions & 49 deletions

ChangeLog

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
2012-11-03 Richard Murray <murray@altura.local>
2+
3+
* doc/modules.rst: updated documentation format so that items are
4+
broken down by functionality and not internal module name. Still
5+
not complete, but most functions should now show up in documentation.
6+
7+
* doc/index.rst: got rid of todos from documentation (not formatted
8+
correctly and shouldn't show up in user documentation)
9+
10+
* src/lti.py: added missing docstrings
11+
12+
* doc/intro.rst: small tweaks to text, including adding a link to FBS
13+
114
2012-11-03 Richard Murray <murray@altura.local>
215

316
* src/rlocus.py (_RLSortRoots): convert output of range() to

doc/analysis.rst

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,22 @@
11
Control System Analysis
2-
***********************
2+
***********************
3+
4+
.. autofunction:: control.acker
5+
.. autofunction:: control.ctrb
6+
.. autofunction:: control.care
7+
.. autofunction:: control.dare
8+
.. autofunction:: control.dlyap
9+
.. autofunction:: control.dcgain
10+
.. autofunction:: control.evalfr
11+
.. autofunction:: control.gram
12+
.. autofunction:: control.lyap
13+
.. autofunction:: control.freqresp
14+
.. autofunction:: control.margin
15+
.. autofunction:: control.markov
16+
.. autofunction:: control.obsv
17+
.. autofunction:: control.phase_crossover_frequencies
18+
.. autofunction:: control.pole
19+
.. autofunction:: control.root_locus
20+
.. autofunction:: control.stability_margins
21+
.. autofunction:: control.zero
22+

doc/bdalg_strings.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,7 @@ Block Diagram Algebra
33

44
.. toctree::
55

6-
.. automodule:: bdalg
7-
:members:
6+
.. autofunction:: control.feedback
7+
.. autofunction:: control.negate
8+
.. autofunction:: control.parallel
9+
.. autofunction:: control.series

doc/class_strings.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
Python-Control Classes
22
**********************
33

4+
LTI System Class
5+
================
6+
.. automodule:: lti
7+
:members:
8+
49
State Space Class
510
=================
611
.. automodule:: statesp

doc/freqplot.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ Frequency Domain Plotting
55

66
Plotting routines
77
=================
8-
.. autofunction:: freqplot.bode_plot
9-
.. autofunction:: freqplot.nyquist_plot
10-
.. autofunction:: freqplot.gangof4_plot
11-
.. autofunction:: nichols.nichols_plot
8+
.. autofunction:: control.bode_plot
9+
.. autofunction:: control.nyquist_plot
10+
.. autofunction:: control.gangof4_plot
11+
.. autofunction:: control.nichols_plot
1212

1313
Utility functions
1414
=================

doc/index.rst

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,13 @@ Contents:
1717
:maxdepth: 2
1818

1919
intro
20-
class_strings
2120
modules
21+
class_strings
22+
matlab_strings
2223
examples
2324

2425
Indices and tables
2526
==================
2627

2728
* :ref:`genindex`
28-
* :ref:`modindex`
2929
* :ref:`search`
30-
31-
----------------------------------
32-
33-
.. todolist::

doc/intro.rst

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ examples illustrating their use.
1010
Overview of the Toolbox
1111
-----------------------
1212

13-
The python-control package is a set of python classes and functions
14-
that implement common operations for the analysis and design of
15-
feedback control systems. The initial goal is to implement all of the
16-
functionality required to work through the examples in the textbook
17-
Feedback Systems by Astrom and Murray. A MATLAB compatibility package
18-
(control.matlab) is available that provides many of the common
19-
functions corresponding to commands available in the MATLAB Control
20-
Systems Toolbox.
13+
The python-control package is a set of python classes and functions that
14+
implement common operations for the analysis and design of feedback control
15+
systems. The initial goal is to implement all of the functionality required
16+
to work through the examples in the textbook `Feedback Systems
17+
<http://www.cds.caltech.edu/~murray/FBSwiki>`_ by Astrom and Murray. A
18+
MATLAB compatibility package (control.matlab) is available that provides
19+
many of the common functions corresponding to commands available in the
20+
MATLAB Control Systems Toolbox.
2121

2222
In addition to the documentation here, there is a project wiki that
2323
contains some additional information about how to use the package
@@ -37,10 +37,9 @@ some thing to keep in mind:
3737

3838
* You must include commas in vectors. So [1 2 3] must be [1, 2, 3].
3939
* Functions that return multiple arguments use tuples
40-
* Can't use braces for collections; use tuples instead
41-
* Transfer functions are only implemented for SISO systems (due to
42-
limitations in the underlying signals.lti class); use state space
43-
representations for MIMO systems.
40+
* You cannot use braces for collections; use tuples instead
41+
* Transfer functions are currently only implemented for SISO systems; use
42+
state space representations for MIMO systems.
4443

4544
Getting Started
4645
---------------
@@ -52,15 +51,16 @@ Getting Started
5251
3. To see if things are working correctly, run ipython -pylab and run
5352
the script 'examples/secord-matlab.py'. This should generate a
5453
step response, Bode plot and Nyquist plot for a simple second order
55-
system.
54+
system. (For more detailed tests, run nosetests in the main directory.)
5655

5756
4. To see the commands that are available, run the following commands in
5857
ipython::
5958

6059
>>> import control
61-
>>> ?control.matlab
60+
>>> ?control
6261

6362
5. If you want to have a MATLAB-like environment for running the control
6463
toolbox, use::
6564

6665
>>> from control.matlab import *
66+
>>> ?control.matlab

doc/modsimp_strings.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
Model Simplification Tools
22
**************************
33

4-
.. automodule:: modelsimp
5-
:members:
4+
.. autofunction:: control.balred
5+
.. autofunction:: control.hsvd
6+
.. autofunction:: control.modred

doc/modules.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
Python-Control Modules
2-
**********************
1+
Python-Control Functions
2+
************************
33

44
.. toctree::
55

6+
creation
67
bdalg_strings
78
analysis
89
freqplot
910
timeresp
1011
synthesis
1112
modsimp_strings
12-
matlab_strings
13+
utilities

doc/synthesis.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
Control System Synthesis
2-
************************
2+
************************
3+
4+
.. autofunction:: control.lqr
5+
.. autofunction:: control.place

0 commit comments

Comments
 (0)