- Notifications
You must be signed in to change notification settings - Fork450
Open
Labels
Description
As noted in#1191, the current code fornyquist_response ignores theindent_direction parameter unless there are poles with exactly zero real part. An alternative behavior would be something like this:
If
indent_directionis None, then for any pole withinindent_radiusof the imaginary axis, use the real part of the pole location to determine which way to indent. If the pole is exactly on the imaginary axis, then indent to the right (current default).If
indent_directionis either 'left' or 'right' and the pole is withinindent_radiusof the imaginary axis, then indent in the specified direction.
This seems more intuitive and allows you to use the indent direction when poles are near the imaginary axis but not exactly on it.