Skip to content

Pep8 clean robust control #270

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

Conversation

don4get
Copy link
Contributor

@don4get don4get commented Jan 6, 2019

Obsolete description, new PR for this: #289

I wanted to add this functionality to the library:
https://ch.mathworks.com/help/robust/ref/makeweight.html

Above the Matlab behavior, I added the possibility to compute higher orders weight functions.

The discrete behavior is not implemented yet as I don't know how to deal with it.
I tried the naive approach, creating the laplace variable as follows: s = tf([1, 0], [1], Ts).
However, the DC gain of the resulted weight function is not correct, as one could have expected.
If someone knows how to solve this problem, I would be glad to help him.

New description:
Pep8 cleaning of robust control, result of a split of the initial PR as asked by @murrayrm

@don4get don4get force-pushed the refactor/clean-robust-control branch from c29e7cc to ee37b8b Compare January 7, 2019 07:29
@coveralls
Copy link

coveralls commented Jan 7, 2019

Coverage Status

Coverage remained the same at 78.269% when pulling 5eb82d1 on don4get:refactor/clean-robust-control into 1254ccb on python-control:master.

@don4get don4get force-pushed the refactor/clean-robust-control branch 2 times, most recently from 8d91a42 to 5be81d0 Compare January 7, 2019 15:24
@murrayrm
Copy link
Member

murrayrm commented Apr 7, 2019

This PR has a mixture of PEP8 fixes and a new function. Can we refactor so that we just include the new functionality in this PR and leave the PEP8 fixes for later (see also discussion in closed PR #283).

@don4get don4get force-pushed the refactor/clean-robust-control branch from 5be81d0 to cf1bc91 Compare April 13, 2019 14:14
@don4get don4get force-pushed the refactor/clean-robust-control branch from cf1bc91 to 5eb82d1 Compare April 13, 2019 14:28
@don4get don4get changed the title [Robust control] Add makeweight function Pep8 clean robust control Apr 13, 2019
@don4get
Copy link
Contributor Author

don4get commented Apr 13, 2019

Thank you for the review, the split is done :)

@murrayrm murrayrm merged commit 626c459 into python-control:master Apr 16, 2019
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.

3 participants