GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||
GeezerVison is showing github.com — System norms 2 by henriks76 · Pull Request #971 · python-control/python-control Conversation
Closed
bnavigator
reviewed
Comment on lines
+19
to
+20
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See #960 (comment) Please don't restrict the tolerance to 1e-9. It will create problems like the one solved in #366.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
|
|
I have fixed the futurewarning test. Please rebase. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
* Added control/tests/sysnorm_test.py * Added additional tests and warning messages for systems with poles close to stability boundary * Added __all__ * Do not track changes in VS Code setup.
* type check when calling ct.norm * metod argument in ct.norm (slycot or scipy) using function _slycot_or_scipy from ct.mateqn Change in sysnorm_test.py * set print_warning=False
* In sysnorm_test: Use pytest.warns context manager
* sysnorm_test: Use default tolerance in the tests.
e10b798 to
bad229a
Compare
|
Thank you @henriks76! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Thank you @henriks76. I also had plans to implement the norm() method. That's why I was interested in Slycot.ab13bd and Slycot.ab13dd in the first place. You might want to add the method https://github.com/python-control/python-control/blob/main/doc/control.rst A new PR would be the right way. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks, @KybernetikJo and @bnavigator, for all the excellent feedback! I'll look into the documentation as soon as possible. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Is it correct that the sphinx documentation will be automatically generated from the function docstring, or would you like me to copy it somewhere? This is all very new to me... I have already tried to follow the conventions here, but let me know if something needs fixing. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
No need to copy anything for API documentation, you only have to add your method to The autosummary of sphinx should take care about your API documentation. You have to install all requirements (https://github.com/python-control/python-control/blob/main/doc/requirements.txt) for sphinx (e.g. with pip) pip install -r doc/requirements.txt and then you run the bash command in the doc folder make html You can follow the instructions, point 6.
I only skimmed over it, but it looks good to me. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.