Title: make _convert_to_statespace properly pass signal and system names by sawyerbfuller · Pull Request #884 · python-control/python-control · GitHub
Open Graph Title: make _convert_to_statespace properly pass signal and system names by sawyerbfuller · Pull Request #884 · python-control/python-control
X Title: make _convert_to_statespace properly pass signal and system names by sawyerbfuller · Pull Request #884 · python-control/python-control
Description: update: this PR has been converted to a bugfix in _convert_to_statespace to insure it copies signal and system names correctly. Found the bug by using the test suite. Old PR description: On some systems computers , the process of converting tf systems into LinearIOSystems in the interconnect function loses signal names -- if the transfer function is static. For example, if a system is defined as sys=tf(1, 2, inputs='a', outputs='b'), an error is raised when that system is interconnected with others because sys gets copied but loses its signal names, something along the lines of Signal 'a' not found. But this doesn't happen on my system on Python 3.9, 3.10, or 3.11. Maybe something peculiar to windows? This PR adds unit tests in an attempt to see if our test suite catches this bug.
Open Graph Description: update: this PR has been converted to a bugfix in _convert_to_statespace to insure it copies signal and system names correctly. Found the bug by using the test suite. Old PR description: On some sy...
X Description: update: this PR has been converted to a bugfix in _convert_to_statespace to insure it copies signal and system names correctly. Found the bug by using the test suite. Old PR description: On some sy...
Opengraph URL: https://github.com/python-control/python-control/pull/884
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:3db9179f-8a84-1545-a739-21411e140da0 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | EDD4:1B9F7C:AFFD47:FA1F24:6979FA52 |
| html-safe-nonce | 04e9aa6faf56f8675eb331550b09a2019f7e4c6b2caec7f9b9a7f73aa7557385 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFREQ0OjFCOUY3QzpBRkZENDc6RkExRjI0OjY5NzlGQTUyIiwidmlzaXRvcl9pZCI6IjQ1NDI2Nzc2NTEwNzU3NTg2NzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 36c3b344a6e70ae7c622aa6424ba18b77a3aabf6fb256eeaf732da8f477adf25 |
| hovercard-subject-tag | pull_request:1317448336 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python-control/python-control/pull/884/files |
| twitter:image | https://avatars.githubusercontent.com/u/58706249?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/58706249?s=400&v=4 |
| og:image:alt | update: this PR has been converted to a bugfix in _convert_to_statespace to insure it copies signal and system names correctly. Found the bug by using the test suite. Old PR description: On some sy... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | d518616844426fb176f4177c4776349f6e70ef1ce75f459c8c53bf9293bb6982 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python-control/python-control git https://github.com/python-control/python-control.git |
| octolytics-dimension-user_id | 2285872 |
| octolytics-dimension-user_login | python-control |
| octolytics-dimension-repository_id | 22791752 |
| octolytics-dimension-repository_nwo | python-control/python-control |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 22791752 |
| octolytics-dimension-repository_network_root_nwo | python-control/python-control |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 22c6ce7724007ae85d7487fce3308a1c7cea8be6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width