control.phase_crossover_frequencies

control.phase_crossover_frequencies(sys)[source]

Compute Nyquist plot real-axis crossover frequencies and gains.

Parameters
sysLTI

SISO LTI system.

Returns
omegandarray

1d array of (non-negative) frequencies where Nyquist plot intersects the real axis.

gainsndarray

1d array of corresponding gains.

Examples

>>> G = ct.tf([1], [1, 2, 3, 4])
>>> x_omega, x_gain = ct.phase_crossover_frequencies(G)