Skip to content

Commit 9edd422

Browse files
committed
fix up sub-package/module references
1 parent 9664acf commit 9edd422

2 files changed

Lines changed: 39 additions & 14 deletions

File tree

control/phaseplot.py

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,15 @@
77
"""Generate 2D phase portraits.
88
99
This module contains functions for generating 2D phase plots. The base
10-
function for creating phase plane portraits is
11-
`phase_plane_plot`, which generates a phase plane
12-
portrait for a 2 state I/O system (with no inputs). In addition,
13-
several other functions are available to create customized phase plane
14-
plots:
15-
16-
* `phaseplot.boxgrid`: Generate a list of points along the edge of a box
17-
* `phaseplot.circlegrid`: Generate list of points around a circle
18-
* `phaseplot.equilpoints`: Plot equilibrium points in the phase plane
19-
* `phaseplot.meshgrid`: Generate a list of points forming a mesh
20-
* `phaseplot.separatrices`: Plot separatrices in the phase plane
21-
* `phaseplot.streamlines`: Plot stream lines in the phase plane
22-
* `phaseplot.vectorfield`: Plot a vector field in the phase plane
10+
function for creating phase plane portraits is `~control.phase_plane_plot`,
11+
which generates a phase plane portrait for a 2 state I/O system (with no
12+
inputs).
13+
14+
The docstring examples assume the following import commands::
15+
16+
>>> import numpy as np
17+
>>> import control as ct
18+
>>> import control.phaseplot as pp
2319
2420
"""
2521

doc/functions.rst

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,17 @@ Time response
8080
time_response_plot
8181
combine_time_responses
8282

83-
Additional functions for customizing phase plots:
83+
84+
Phase plane plots
85+
-----------------
86+
87+
.. automodule:: control.phaseplot
88+
:no-members:
89+
:no-inherited-members:
90+
:no-special-members:
91+
92+
.. Reset current module to main package to force reference to use prefix
93+
.. currentmodule:: control
8494

8595
.. autosummary::
8696
:toctree: generated/
@@ -210,6 +220,7 @@ Nonlinear system support
210220
find_operating_point
211221
linearize
212222

223+
213224
Describing functions
214225
--------------------
215226
.. autosummary::
@@ -220,17 +231,35 @@ Describing functions
220231
relay_hysteresis_nonlinearity
221232
saturation_nonlinearity
222233

234+
223235
Differentially flat systems
224236
---------------------------
237+
.. automodule:: control.flatsys
238+
:no-members:
239+
:no-inherited-members:
240+
:no-special-members:
241+
242+
.. Reset current module to main package to force reference to use prefix
243+
.. currentmodule:: control
244+
225245
.. autosummary::
226246
:toctree: generated/
227247

228248
flatsys.flatsys
229249
flatsys.point_to_point
230250
flatsys.solve_flat_ocp
231251

252+
232253
Optimal control
233254
---------------
255+
.. automodule:: control.optimal
256+
:no-members:
257+
:no-inherited-members:
258+
:no-special-members:
259+
260+
.. Reset current module to main package to force reference to use prefix
261+
.. currentmodule:: control
262+
234263
.. autosummary::
235264
:toctree: generated/
236265

0 commit comments

Comments
 (0)