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 — Add unit test illustrating issue #935 + add method keyword for tf2ss by murrayrm · Pull Request #937 · python-control/python-control Conversation
Member
This PR puts in some unit tests associated with issue #935, which looks like it is a problem in slycot where the tf2ss functionality (in A bug report has been created in the
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
| ||||||||||||||||||||
There was an error while loading. Please reload this page.
|
coverage: 95.003%. first build |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| @@ -2250,6 +2274,8 @@ def _convert_to_statespace(sys, use_prefix_suffix=False): | |||
| A, B, C, D = \ | |||
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Suggested change for the two lines above:
if not issiso(sys):
raise ControlMIMONotImplemented("MIMO system conversion not supported without Slycot")
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| sp.signal.tf2ss(squeeze(sys.num), squeeze(sys.den)) | ||
| newsys = StateSpace(A, B, C, D, sys.dt) | ||
| else: | ||
| raise ValueError(f"unknown {method=}") |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
First instantiation of self-documenting F-strings in python-control? : )
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.