@@ -53,7 +53,7 @@ def series(*sys, **kwargs):
53
53
'<subsys_name>.<state_name>' for interconnected nonlinear systems.
54
54
name : string, optional
55
55
System name (used for specifying signals). If unspecified, a generic
56
- name < sys[id]> is generated with a unique integer id.
56
+ name ' sys[id]' is generated with a unique integer id.
57
57
58
58
Raises
59
59
------
@@ -124,7 +124,7 @@ def parallel(*sys, **kwargs):
124
124
'<subsys_name>.<state_name>' for interconnected nonlinear systems.
125
125
name : string, optional
126
126
System name (used for specifying signals). If unspecified, a generic
127
- name < sys[id]> is generated with a unique integer id.
127
+ name ' sys[id]' is generated with a unique integer id.
128
128
129
129
Raises
130
130
------
@@ -139,7 +139,7 @@ def parallel(*sys, **kwargs):
139
139
Notes
140
140
-----
141
141
This function is a wrapper for the __add__ function in the
142
- StateSpace and TransferFunction classes. The output type is usually
142
+ ` StateSpace` and ` TransferFunction` classes. The output type is usually
143
143
the type of `sys1`. If `sys1` is a scalar, then the output type is
144
144
the type of `sys2`.
145
145
@@ -168,8 +168,7 @@ def parallel(*sys, **kwargs):
168
168
return sys
169
169
170
170
def negate (sys , ** kwargs ):
171
- """
172
- Return the negative of a system.
171
+ """Return the negative of a system.
173
172
174
173
Parameters
175
174
----------
@@ -193,16 +192,17 @@ def negate(sys, **kwargs):
193
192
'<subsys_name>.<state_name>' for interconnected nonlinear systems.
194
193
name : string, optional
195
194
System name (used for specifying signals). If unspecified, a generic
196
- name < sys[id]> is generated with a unique integer id.
195
+ name ' sys[id]' is generated with a unique integer id.
197
196
198
197
See Also
199
198
--------
200
199
append, feedback, interconnect, parallel, series
201
200
202
201
Notes
203
202
-----
204
- This function is a wrapper for the __neg__ function in the StateSpace and
205
- TransferFunction classes. The output type is the same as the input type.
203
+ This function is a wrapper for the __neg__ function in the `StateSpace`
204
+ and `TransferFunction` classes. The output type is the same as the
205
+ input type.
206
206
207
207
Examples
208
208
--------
@@ -248,16 +248,16 @@ def feedback(sys1, sys2=1, sign=-1, **kwargs):
248
248
'<subsys_name>.<state_name>' for interconnected nonlinear systems.
249
249
name : string, optional
250
250
System name (used for specifying signals). If unspecified, a generic
251
- name < sys[id]> is generated with a unique integer id.
251
+ name ' sys[id]' is generated with a unique integer id.
252
252
253
253
Raises
254
254
------
255
255
ValueError
256
- if `sys1` does not have as many inputs as `sys2` has outputs, or if
257
- `sys2` does not have as many inputs as `sys1` has outputs
256
+ If `sys1` does not have as many inputs as `sys2` has outputs, or if
257
+ `sys2` does not have as many inputs as `sys1` has outputs.
258
258
NotImplementedError
259
- if an attempt is made to perform a feedback on a MIMO TransferFunction
260
- object
259
+ If an attempt is made to perform a feedback on a MIMO ` TransferFunction`
260
+ object.
261
261
262
262
See Also
263
263
--------
@@ -341,7 +341,7 @@ def append(*sys, **kwargs):
341
341
'<subsys_name>.<state_name>' for interconnected nonlinear systems.
342
342
name : string, optional
343
343
System name (used for specifying signals). If unspecified, a generic
344
- name < sys[id]> is generated with a unique integer id.
344
+ name ' sys[id]' is generated with a unique integer id.
345
345
346
346
See Also
347
347
--------
@@ -472,16 +472,16 @@ def combine_tf(tf_array, **kwargs):
472
472
473
473
Parameters
474
474
----------
475
- tf_array : list of list of TransferFunction or array_like
475
+ tf_array : list of list of ` TransferFunction` or array_like
476
476
Transfer matrix represented as a two-dimensional array or
477
- list-of-lists containing TransferFunction objects. The
477
+ list-of-lists containing ` TransferFunction` objects. The
478
478
`TransferFunction` objects can have multiple outputs and inputs, as
479
479
long as the dimensions are compatible.
480
480
481
481
Returns
482
482
-------
483
- TransferFunction
484
- Transfer matrix represented as a single MIMO TransferFunction object.
483
+ ` TransferFunction`
484
+ Transfer matrix represented as a single MIMO ` TransferFunction` object.
485
485
486
486
Other Parameters
487
487
----------------
@@ -491,7 +491,7 @@ def combine_tf(tf_array, **kwargs):
491
491
or 'y'). See `InputOutputSystem` for more information.
492
492
name : string, optional
493
493
System name (used for specifying signals). If unspecified, a generic
494
- name < sys[id]> is generated with a unique integer id.
494
+ name ' sys[id]' is generated with a unique integer id.
495
495
496
496
Raises
497
497
------
@@ -603,7 +603,7 @@ def split_tf(transfer_function):
603
603
604
604
Parameters
605
605
----------
606
- transfer_function : TransferFunction
606
+ transfer_function : ` TransferFunction`
607
607
MIMO transfer function to split.
608
608
609
609
Returns
@@ -658,11 +658,11 @@ def split_tf(transfer_function):
658
658
return np .array (tf_split_lst , dtype = object )
659
659
660
660
def _ensure_tf (arraylike_or_tf , dt = None ):
661
- """Convert an array-like to a transfer function.
661
+ """Convert an array_like to a transfer function.
662
662
663
663
Parameters
664
664
----------
665
- arraylike_or_tf : TransferFunction or array_like
665
+ arraylike_or_tf : ` TransferFunction` or array_like
666
666
Array-like or transfer function.
667
667
dt : None, True or float, optional
668
668
System timebase. 0 (default) indicates continuous
@@ -673,7 +673,7 @@ def _ensure_tf(arraylike_or_tf, dt=None):
673
673
674
674
Returns
675
675
-------
10000
676
- TransferFunction
676
+ ` TransferFunction`
677
677
Transfer function.
678
678
679
679
Raises
@@ -707,7 +707,7 @@ def _ensure_tf(arraylike_or_tf, dt=None):
707
707
)
708
708
except TypeError :
709
709
raise ValueError (
710
- "`arraylike_or_tf` must only contain array-likes or transfer "
710
+ "`arraylike_or_tf` must only contain array_likes or transfer "
711
711
"functions."
712
712
)
713
713
return tfn
0 commit comments