Skip to content

Commit 0e2e89b

Browse files
authored
Merge pull request #775 from fredrhen/more-robust-doc
Fixed a couple of typos in documentation
2 parents f909c82 + 461c7c3 commit 0e2e89b

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

control/iosys.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2242,7 +2242,7 @@ def ss(*args, **kwargs):
22422242
Convert a linear system into space system form. Always creates a
22432243
new system, even if sys is already a state space system.
22442244
2245-
``ss(updfcn, outfucn)```
2245+
``ss(updfcn, outfucn)``
22462246
Create a nonlinear input/output system with update function ``updfcn``
22472247
and output function ``outfcn``. See :class:`NonlinearIOSystem` for
22482248
more information.
@@ -2269,8 +2269,7 @@ def ss(*args, **kwargs):
22692269
Everything that the constructor of :class:`numpy.matrix` accepts is
22702270
permissible here too.
22712271
2272-
``ss(args, inputs=['u1', ..., 'up'], outputs=['y1', ..., 'yq'],
2273-
states=['x1', ..., 'xn'])
2272+
``ss(args, inputs=['u1', ..., 'up'], outputs=['y1', ..., 'yq'], states=['x1', ..., 'xn'])``
22742273
Create a system with named input, output, and state signals.
22752274
22762275
Parameters

control/passivity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ def ispassive(sys, ofp_index=0, ifp_index=0):
281281
guaranteed to have an output of True (the system might not be passive with
282282
both indices at the same time).
283283
284-
For more details, see [1].
284+
For more details, see [1]_.
285285
286286
References
287287
----------

control/sisotool.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,8 @@ def rootlocus_pid_designer(plant, gain='P', sign=+1, input_signal='r',
213213
derivative terms are given instead by Kp, Ki*dt/2*(z+1)/(z-1), and
214214
Kd/dt*(z-1)/z, respectively.
215215
216+
::
217+
216218
------> C_ff ------ d
217219
| | |
218220
r | e V V u y

doc/conventions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ of linear time-invariant (LTI) systems:
2929
3030
where u is the input, y is the output, and x is the state.
3131

32-
To create a state space system, use the :fun:`ss` function:
32+
To create a state space system, use the :func:`ss` function:
3333

3434
sys = ct.ss(A, B, C, D)
3535

0 commit comments

Comments
 (0)