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/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:4b1d7af1-2140-668d-a2c0-49666a5ac5e2 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | A644:8B62A:16BBFB3:1ED8719:697A98D2 |
| html-safe-nonce | 12bf2b6ec873622120d203a290a07fe34acd94e80a6973ede2a889917152db66 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNjQ0OjhCNjJBOjE2QkJGQjM6MUVEODcxOTo2OTdBOThEMiIsInZpc2l0b3JfaWQiOiIxODkyNDg1NjM4OTA1MzA1Mjk4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ce56589cf2ade35f104a3426b2f94d22c84c033543f47a3b70b11e516b0b3d55 |
| hovercard-subject-tag | pull_request:834966664 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/checks |
| 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 | f73c0dfa17dfe2bc934284d1387c1cedefe723d2133ede564feefd2cbeb98e55 |
| turbo-cache-control | no-preview |
| 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 full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 58b9322bb0d01c6949be2239e39780fa702e604c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width