Skip to content

Commit b2a2edc

Browse files
committed
Minor updates to docstrings
1 parent d92fb20 commit b2a2edc

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

control/margins.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -536,11 +536,13 @@ def disk_margins(L, omega, skew = 0.0, returnall = False):
536536
537537
Parameters
538538
----------
539-
L : SISO or MIMO LTI system representing the loop transfer function
539+
L : SISO or MIMO LTI system
540+
Loop transfer function, e.g. P*C or C*P
540541
omega : ndarray
541542
1d array of (non-negative) frequencies (rad/s) at which to evaluate
542543
the disk-based stability margins
543-
skew : (optional, default = 0) skew parameter for disk margin calculation.
544+
skew : float, optional, default = 0
545+
skew parameter for disk margin calculation.
544546
skew = 0 uses the "balanced" sensitivity function 0.5*(S - T)
545547
skew = 1 uses the sensitivity function S
546548
skew = -1 uses the complementary sensitivity function T
@@ -711,9 +713,11 @@ def disk_margin_plot(alpha_max, skew = 0.0, ax = None):
711713
712714
Parameters
713715
----------
714-
alpha_max : worst-case disk margin(s) across all (relevant) frequencies.
716+
alpha_max : float
717+
worst-case disk margin(s) across all (relevant) frequencies.
715718
Note that skew may be a scalar or list.
716-
skew : (optional, default = 0) skew parameter(s) for disk margin calculation.
719+
skew : float, optional, default = 0
720+
skew parameter(s) for disk margin calculation.
717721
skew = 0 uses the "balanced" sensitivity function 0.5*(S - T)
718722
skew = 1 uses the sensitivity function S
719723
skew = -1 uses the complementary sensitivity function T

0 commit comments

Comments
 (0)