Skip to content

Commit 0797cc1

Browse files
committed
fix up sub-package/module references
1 parent a760174 commit 0797cc1

File tree

2 files changed

+39
-14
lines changed

2 files changed

+39
-14
lines changed

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
@@ -78,7 +78,17 @@ Time response
7878
time_response_plot
7979
combine_time_responses
8080

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

8393
.. autosummary::
8494
:toctree: generated/
@@ -208,6 +218,7 @@ Nonlinear system support
208218
find_operating_point
209219
linearize
210220

221+
211222
Describing functions
212223
--------------------
213224
.. autosummary::
@@ -218,17 +229,35 @@ Describing functions
218229
relay_hysteresis_nonlinearity
219230
saturation_nonlinearity
220231

232+
221233
Differentially flat systems
222234
---------------------------
235+
.. automodule:: control.flatsys
236+
:no-members:
237+
:no-inherited-members:
238+
:no-special-members:
239+
240+
.. Reset current module to main package to force reference to use prefix
241+
.. currentmodule:: control
242+
223243
.. autosummary::
224244
:toctree: generated/
225245

226246
flatsys.flatsys
227247
flatsys.point_to_point
228248
flatsys.solve_flat_ocp
229249

250+
230251
Optimal control
231252
---------------
253+
.. automodule:: control.optimal
254+
:no-members:
255+
:no-inherited-members:
256+
:no-special-members:
257+
258+
.. Reset current module to main package to force reference to use prefix
259+
.. currentmodule:: control
260+
232261
.. autosummary::
233262
:toctree: generated/
234263

0 commit comments

Comments
 (0)