Skip to content

klist->gains kwarg for matlab.wrappers.rlocus #999

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 11, 2024

Conversation

gdmcbain
Copy link
Contributor

This fixes #998.

It wasn't the actual problem there, with control.matlab.wrappers.rlocus not being called (rather control.rlocus.rlocus = control.rlocus.root_locus_plot), but still this does forward kwargs to that function which is expecting gains rather than klist or kvect (though it does have a control._process_legacy_keyword in place to catch the latter).

Feel free to ignore or use this.

@slivingston slivingston self-assigned this May 10, 2024
@slivingston
Copy link
Member

Thanks, @gdmcbain ! While reviewing this, I noticed another kvect in the same docstring, so I fixed it, too.

By the way, it looks like the email address you are using in the commit is not associated with your GitHub account because your commit appears without an avatar above. Is that intentional, or did you want to use a different address?

@coveralls
Copy link

Coverage Status

coverage: 94.503%. remained the same
when pulling cb4244d on gdmcbain:998-matlab-rlocus-klist
into e4a03e8 on python-control:main.

@bnavigator
Copy link
Contributor

How about mapping MATLAB's parameter k to the gains kwarg of root_locus_plot()? https://www.mathworks.com/help/control/ref/dynamicsystem.rlocus.html

@murrayrm murrayrm merged commit 2d1f514 into python-control:main May 11, 2024
23 checks passed
@gdmcbain gdmcbain deleted the 998-matlab-rlocus-klist branch May 13, 2024 01:30
gdmcbain added a commit to gdmcbain/python-control that referenced this pull request May 13, 2024
@gdmcbain
Copy link
Contributor Author

By the way, it looks like the email address you are using in the commit is not associated with your GitHub account because your commit appears without an avatar above. Is that intentional, or did you want to use a different address?

Oops. I assume it's too late to fix now; never mind.

How about mapping MATLAB's parameter k to the gains kwarg of root_locus_plot()? https://www.mathworks.com/help/control/ref/dynamicsystem.rlocus.html

Sure, why not. Let's.

@murrayrm murrayrm added this to the 0.10.1 milestone Jun 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

inconsistent kwarg klist/kvect/gains in rlocus doc
5 participants