Title: Change InputOutputSystem repr to show type, name, inputs, and outputs by roryyorke · Pull Request #699 · python-control/python-control · GitHub
Open Graph Title: Change InputOutputSystem repr to show type, name, inputs, and outputs by roryyorke · Pull Request #699 · python-control/python-control
X Title: Change InputOutputSystem repr to show type, name, inputs, and outputs by roryyorke · Pull Request #699 · python-control/python-control
Description: I didn't know about InputOutputSystem 's __str__ implementation, and I find the __repr__ a bit bare-bones. With this change:
In [8]: import control as ct
...: P1 = ct.LinearIOSystem(ct.rss(2,1,1), inputs='u1', outputs='y1')
...: P2 = ct.LinearIOSystem(ct.rss(2,1,1), inputs='y1', outputs='y2')
...:
In [9]: display(P1)
...:
Open Graph Description: I didn't know about InputOutputSystem 's __str__ implementation, and I find the __repr__ a bit bare-bones. With this change: In [8]: import control as ct ...: P1 = ct.LinearIOSystem(ct....
X Description: I didn't know about InputOutputSystem 's __str__ implementation, and I find the __repr__ a bit bare-bones. With this change: In [8]: import control as ct ...: P1 = ct.LinearIOSy...
Opengraph URL: https://github.com/python-control/python-control/pull/699
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:65c0d73b-2f70-5ffe-a600-1a99e5d19ed8 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E332:27FCBF:1D7B3FD:29AB72E:697A53CA |
| html-safe-nonce | 303d1e9df675912310ffa12138e8511ccc62ef2a49d08ec698193bb88a2a33c7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMzMyOjI3RkNCRjoxRDdCM0ZEOjI5QUI3MkU6Njk3QTUzQ0EiLCJ2aXNpdG9yX2lkIjoiMTIyNTM3NTI4MTA4MjY4NDM2MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ec9b0bb5c549d1ec62ec7802a50d2b0294eb59f078ae335beb9b4f6c673c5099 |
| hovercard-subject-tag | pull_request:834966664 |
| 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/699/files |
| twitter:image | https://avatars.githubusercontent.com/u/110974?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/110974?s=400&v=4 |
| og:image:alt | I didn't know about InputOutputSystem 's __str__ implementation, and I find the __repr__ a bit bare-bones. With this change: In [8]: import control as ct ...: P1 = ct.LinearIOSystem(ct.... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6675d94efd2a33cdba9e6e611f931ac7eaa988d8fef14b7a663cc012c4501b42 |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ca995a95b56cf8bd27cc89fcea65d2ad787f53c1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width