Skip to content

Commit b94f381

Browse files
committed
small docstring and comment updates
1 parent cdd9589 commit b94f381

File tree

2 files changed

+1
-20
lines changed

2 files changed

+1
-20
lines changed

control/statesp.py

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1575,7 +1575,7 @@ def ss(*args, **kwargs):
15751575
15761576
Returns
15771577
-------
1578-
out: StateSpace
1578+
out : StateSpace
15791579
Linear input/output system.
15801580
15811581
Other Parameters
@@ -1591,24 +1591,6 @@ def ss(*args, **kwargs):
15911591
name : string, optional
15921592
System name (used for specifying signals). If unspecified, a generic
15931593
name <sys[id]> is generated with a unique integer id.
1594-
remove_useless_states : bool, optional
1595-
If `True`, remove states that have no effect on the input/output
1596-
dynamics. If not specified, the value is read from
1597-
`config.defaults['statesp.remove_useless_states']` (default = False).
1598-
method : str, optional
1599-
Set the method used for converting a transfer function to a state
1600-
space system. Current methods are 'slycot' and 'scipy'. If set to
1601-
None (default), try 'slycot' first and then 'scipy' (SISO only).
1602-
1603-
Returns
1604-
-------
1605-
out: StateSpace
1606-
Linear input/output system.
1607-
1608-
Returns
1609-
-------
1610-
out : StateSpace
1611-
Linear input/output system.
16121594
16131595
Raises
16141596
------

control/xferfcn.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,6 @@ def __init__(self, *args, **kwargs):
194194
% type(args[0]))
195195
num = args[0].num
196196
den = args[0].den
197-
# TODO: copy over signal names
198197

199198
else:
200199
raise TypeError("Needs 1, 2 or 3 arguments; received %i."

0 commit comments

Comments
 (0)