You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the plotting fails with the following error AttributeError: 'FrequencyResponseData' object has no attribute 'poles' during the call of _default_frequency_range
version: 0.10.0
The text was updated successfully, but these errors were encountered:
You can get a valid Nyquist plot from the frequency response in some instances and with some assumptions. Basically, if the open loop dynamics are assumed stable, the zero frequency gain is finite, and the high frequency gain is zero, it should work.
The error above comes when it tries to compute the default frequency range for the plot, but in the case of frequency response data you don't actually need to do that.
A quick fix is to change the call to be ct.nyquist_plot(freq_response, freq_response.omega), which bypasses the computation of the default frequency range.
When trying to create the nyquist plot from an FRD system
the plotting fails with the following error
AttributeError: 'FrequencyResponseData' object has no attribute 'poles'
during the call of_default_frequency_range
version: 0.10.0
The text was updated successfully, but these errors were encountered: