Title: Add `combine()` and `split()` functions for transfer matrices by sdahdah · Pull Request #1073 · python-control/python-control · GitHub
Open Graph Title: Add `combine()` and `split()` functions for transfer matrices by sdahdah · Pull Request #1073 · python-control/python-control
X Title: Add `combine()` and `split()` functions for transfer matrices by sdahdah · Pull Request #1073 · python-control/python-control
Description: RE #325 I've run into a few times where it would be convenient to construct MIMO TransferMatrix objects from SISO ones, or the reverse. In particular, this came up as I've been working on a D-K iteration package, dkpy. The specific implementation here is from utilities.py in dkpy. I saw there was a related issue (#325 ) and people seemed open to it. Specifically, I've added control.combine() that takes an ArrayLike of TransferFunction objects, scalars, and NumPy arrays, and creates a MIMO transfer matrix, and control.split() that takes a MIMO TransferFunction and returns a NumPy array with SISO TransferFunction objectss. I'm new to the python-control codebase, so I'm not 100% sure if I've placed things in the correct files, but I've added unit tests and would appreciate some feedback.
Open Graph Description: RE #325 I've run into a few times where it would be convenient to construct MIMO TransferMatrix objects from SISO ones, or the reverse. In particular, this came up as I've been working on a...
X Description: RE #325 I've run into a few times where it would be convenient to construct MIMO TransferMatrix objects from SISO ones, or the reverse. In particular, this came up as I've been work...
Opengraph URL: https://github.com/python-control/python-control/pull/1073
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:806c70af-1f0e-c858-8438-2bfe46bfa8ff |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 822E:2B8F8B:1030AF0:16C7A04:6979D742 |
| html-safe-nonce | 04a8eec34f2b807a5f9513308caadd04e16417f312d0b459cb16c8b853dd767b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MjJFOjJCOEY4QjoxMDMwQUYwOjE2QzdBMDQ6Njk3OUQ3NDIiLCJ2aXNpdG9yX2lkIjoiMzkxNzY4OTc5NDE2NjY0MjQ5OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 87df4db6773e48146a36047a2a0b2bf6f4b111514151f33c1b426bae21a6711a |
| hovercard-subject-tag | pull_request:2213725125 |
| 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/1073/checks |
| twitter:image | https://avatars.githubusercontent.com/u/3334251?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/3334251?s=400&v=4 |
| og:image:alt | RE #325 I've run into a few times where it would be convenient to construct MIMO TransferMatrix objects from SISO ones, or the reverse. In particular, this came up as I've been working on a... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | c049b65ec7e54cbf2521f5a560b6527714c612b0bd169188e2ea6e16f83bd5f4 |
| turbo-cache-control | no-cache |
| 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 | aa81cb94735f56e8afe352515e35f16bd5c0018b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width