Skip to content

Commit cfb6e86

Browse files
committed
clarified docstring in stability-margins
1 parent bc5079b commit cfb6e86

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

control/margins.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,9 +288,11 @@ def stability_margins(sysdata, returnall=False, epsw=0.0, method='best'):
288288
sm : float or array_like
289289
Stability margin, the minimum distance from the Nyquist plot to -1
290290
wpc : float or array_like
291-
Phase crossover frequency (where phase crosses -180 degrees)
291+
Phase crossover frequency (where phase crosses -180 degrees), which is
292+
associated with the gain margin.
292293
wgc : float or array_like
293-
Gain crossover frequency (where gain crosses 1)
294+
Gain crossover frequency (where gain crosses 1), which is associated
295+
with the phase margin.
294296
wms : float or array_like
295297
Stability margin frequency (where Nyquist plot is closest to -1)
296298

0 commit comments

Comments
 (0)