Skip to content

Commit 17d4262

Browse files
committed
remove extra spaces
1 parent 76016cd commit 17d4262

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

‎control/bdalg.py‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -322,9 +322,9 @@ def lft(sys1, sys2, nu=-1, ny=-1, **kwargs):
322322
inputs of `sys1`, and the last `ny` outputs of `sys1` to the
323323
first `ny` inputs of `sys2`. If `sys2` has fewer inputs and
324324
outputs than `sys1`, this forms the lower LFT of `sys1` and
325-
`sys2`. If `sys1` has fewer inputs and outputs than `sys2`,
325+
`sys2`. If `sys1` has fewer inputs and outputs than `sys2`,
326326
this forms the upper LFT of `sys2` and `sys1`. This implementation
327-
is compatible with the MATLAB ``lft`` function found here:
327+
is compatible with the MATLAB ``lft`` function found here:
328328
https://www.mathworks.com/help/control/ref/inputoutputmodel.lft.html
329329
330330
Parameters
@@ -356,8 +356,8 @@ def lft(sys1, sys2, nu=-1, ny=-1, **kwargs):
356356
----------------
357357
inputs, outputs, states : int, list of str, or None, optional
358358
Description of the system inputs, outputs, and states. If
359-
not specified, input and output labels are inherited from
360-
the corresponding signals of `sys1` and `sys2`. See
359+
not specified, input and output labels are inherited from
360+
the corresponding signals of `sys1` and `sys2`. See
361361
`InputOutputSystem` for more information.
362362
name : string, optional
363363
Set the name of the resulting system.
@@ -370,8 +370,8 @@ def lft(sys1, sys2, nu=-1, ny=-1, **kwargs):
370370
inputs of `sys1` or the number of outputs of `sys2`.
371371
TypeError
372372
If `sys1` or `sys2` is not an I/O system, or cannot be
373-
converted to one, or if either is a `FrequencyResponseData`
374-
system.
373+
converted to one, or if either is a `FrequencyResponseData`
374+
system.
375375
376376
See Also
377377
--------
@@ -427,7 +427,7 @@ def lft(sys1, sys2, nu=-1, ny=-1, **kwargs):
427427
sys1 = ss._convert_to_statespace(sys1)
428428
if isinstance(sys2, convertible_types):
429429
sys2 = ss._convert_to_statespace(sys2)
430-
430+
431431
# Maximal values for nu, ny
432432
if ny == -1:
433433
ny = min(sys2.ninputs, sys1.noutputs)

‎control/statesp.py‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1063,12 +1063,12 @@ def lft(self, other, nu=-1, ny=-1, **kwargs):
10631063
10641064
Forms the Redheffer star product of two LTI systems [1]_. This
10651065
connects the first `nu` outputs of `other` to the last `nu`
1066-
inputs of `self`, and the last `ny` outputs of `self` to the
1066+
inputs of `self`, and the last `ny` outputs of `self` to the
10671067
first `ny` inputs of `other`. If `other` has fewer inputs and
1068-
outputs than `self`, this forms the lower LFT of `self` and
1069-
`other`. If `self` has fewer inputs and outputs than `other`,
1068+
outputs than `self`, this forms the lower LFT of `self` and
1069+
`other`. If `self` has fewer inputs and outputs than `other`,
10701070
this forms the upper LFT of `other` and `self`. This implementation
1071-
is compatible with the MATLAB ``lft`` function found here:
1071+
is compatible with the MATLAB ``lft`` function found here:
10721072
https://www.mathworks.com/help/control/ref/inputoutputmodel.lft.html
10731073
10741074
Parameters
@@ -1101,7 +1101,7 @@ def lft(self, other, nu=-1, ny=-1, **kwargs):
11011101
----------------
11021102
inputs, outputs, states : int, list of str, or None, optional
11031103
Description of the system inputs, outputs, and states.
1104-
If not specified, input and output labels are inherited
1104+
If not specified, input and output labels are inherited
11051105
from the corresponding signals of `self` and `other`. See
11061106
`InputOutputSystem` for more information.
11071107
name : string, optional

0 commit comments

Comments
 (0)