Skip to content

Commit 8bd36ee

Browse files
committed
Update split_tf and combine_tf docstrings + combine_tf kwargs
1 parent 1fc2c2d commit 8bd36ee

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

control/bdalg.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -580,6 +580,7 @@ def combine_tf(tf_array, **kwargs):
580580
[array([1.]), array([1.]), array([1.])],
581581
[array([1.]), array([1.]), array([1, 0])]],
582582
name='G', outputs=3, inputs=3)
583+
583584
"""
584585
# Find common timebase or raise error
585586
dt_list = []
@@ -681,6 +682,7 @@ def split_tf(transfer_function):
681682
array([1, 1]),
682683
name='G', outputs=1, inputs=1)]],
683684
dtype=object)
685+
684686
"""
685687
tf_split_lst = []
686688
for i_out in range(transfer_function.noutputs):

control/xferfcn.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1483,6 +1483,7 @@ def _convert_to_transfer_function(
14831483
returned. If sys is a scalar, then the number of inputs and outputs can be
14841484
specified manually, as in:
14851485
1486+
>>> from control.xferfcn import _convert_to_transfer_function
14861487
>>> sys = _convert_to_transfer_function(3.) # Assumes inputs = outputs = 1
14871488
>>> sys = _convert_to_transfer_function(1., inputs=3, outputs=2)
14881489

0 commit comments

Comments
 (0)