René's URL Explorer Experiment


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

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:4db3ee5e-bf03-ce62-51fe-589d185fe618
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE17E:3362DC:8BE484:C75EE8:697A21E7
html-safe-noncea157678103104c5a6e27575f7a0dae5a678f365f099621e8baa1b7399d117fad
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMTdFOjMzNjJEQzo4QkU0ODQ6Qzc1RUU4OjY5N0EyMUU3IiwidmlzaXRvcl9pZCI6IjcyNTI5MjA2MjAzNzM2NDc4NDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac773191b5a4f400ea06a440b3c0b9ef3daf02509755c36b15a3e6a779b1dcf8b4
hovercard-subject-tagpull_request:2213725125
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python-control/python-control/pull/1073/files
twitter:imagehttps://avatars.githubusercontent.com/u/3334251?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/3334251?s=400&v=4
og:image:altRE #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_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonee45f4a1aa1d2f5e476694a8ca3079eb927f0ea276035a2d5e78665f09121ff98
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python-control/python-control git https://github.com/python-control/python-control.git
octolytics-dimension-user_id2285872
octolytics-dimension-user_loginpython-control
octolytics-dimension-repository_id22791752
octolytics-dimension-repository_nwopython-control/python-control
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id22791752
octolytics-dimension-repository_network_root_nwopython-control/python-control
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8a5f67754bd81296f454ff3fa910631e09e4052c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-control/python-control/pull/1073/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-control%2Fpython-control%2Fpull%2F1073%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-control%2Fpython-control%2Fpull%2F1073%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python-control%2Fpython-control
Reloadhttps://github.com/python-control/python-control/pull/1073/files
Reloadhttps://github.com/python-control/python-control/pull/1073/files
Reloadhttps://github.com/python-control/python-control/pull/1073/files
python-control https://github.com/python-control
python-controlhttps://github.com/python-control/python-control
Notifications https://github.com/login?return_to=%2Fpython-control%2Fpython-control
Fork 447 https://github.com/login?return_to=%2Fpython-control%2Fpython-control
Star 2k https://github.com/login?return_to=%2Fpython-control%2Fpython-control
Code https://github.com/python-control/python-control
Issues 87 https://github.com/python-control/python-control/issues
Pull requests 8 https://github.com/python-control/python-control/pulls
Discussions https://github.com/python-control/python-control/discussions
Actions https://github.com/python-control/python-control/actions
Projects 0 https://github.com/python-control/python-control/projects
Wiki https://github.com/python-control/python-control/wiki
Security 0 https://github.com/python-control/python-control/security
Insights https://github.com/python-control/python-control/pulse
Code https://github.com/python-control/python-control
Issues https://github.com/python-control/python-control/issues
Pull requests https://github.com/python-control/python-control/pulls
Discussions https://github.com/python-control/python-control/discussions
Actions https://github.com/python-control/python-control/actions
Projects https://github.com/python-control/python-control/projects
Wiki https://github.com/python-control/python-control/wiki
Security https://github.com/python-control/python-control/security
Insights https://github.com/python-control/python-control/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython-control%2Fpython-control%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython-control%2Fpython-control%2Fissues%2Fnew%2Fchoose
murrayrmhttps://github.com/murrayrm
python-control:mainhttps://github.com/python-control/python-control/tree/main
sdahdah:mainhttps://github.com/sdahdah/python-control/tree/main
Conversation 13 https://github.com/python-control/python-control/pull/1073
Commits 12 https://github.com/python-control/python-control/pull/1073/commits
Checks 13 https://github.com/python-control/python-control/pull/1073/checks
Files changed https://github.com/python-control/python-control/pull/1073/files
Please reload this pagehttps://github.com/python-control/python-control/pull/1073/files
Add combine() and split() functions for transfer matrices https://github.com/python-control/python-control/pull/1073/files#top
Show all changes 12 commits https://github.com/python-control/python-control/pull/1073/files
62d6f83 Add combine and split functions sdahdah Dec 3, 2024 https://github.com/python-control/python-control/pull/1073/commits/62d6f83c9aa4468fa2dc91235bb20f3435ca9b62
8ac3adc Remove pass typo sdahdah Dec 3, 2024 https://github.com/python-control/python-control/pull/1073/commits/8ac3adc3fd28c2fe34934653df8e7e2c5aaf189d
758fa9d Add test and fix for mismatched row outputs sdahdah Dec 4, 2024 https://github.com/python-control/python-control/pull/1073/commits/758fa9df5fc901d91711f144f53bdae5b6452fd0
120984f Update documentation for exception sdahdah Dec 4, 2024 https://github.com/python-control/python-control/pull/1073/commits/120984f8618c4a7dc91123e52083a082ebe8f264
76d4ee7 Add input dimension check sdahdah Dec 4, 2024 https://github.com/python-control/python-control/pull/1073/commits/76d4ee7a714699830c496d708b738668f981b22b
9f4bf4f Rename split and combine to split_tf and combine_tf sdahdah Dec 4, 2024 https://github.com/python-control/python-control/pull/1073/commits/9f4bf4fdada6b2f065aee6d7f83b3dca8b583d3a
dc36574 Adjust naming and docstring conventions sdahdah Dec 4, 2024 https://github.com/python-control/python-control/pull/1073/commits/dc3657405962136c4858def273f5b8ee8d0bb55c
1cbd6b3 Add example with NumPy arrays sdahdah Dec 4, 2024 https://github.com/python-control/python-control/pull/1073/commits/1cbd6b3c65417c65caf0fcb69e33494709d72377
68d52d8 Fix line length sdahdah Dec 4, 2024 https://github.com/python-control/python-control/pull/1073/commits/68d52d8be91cd73f66224456109831008fa4b887
35fa5b3 Fix line length in test file sdahdah Dec 4, 2024 https://github.com/python-control/python-control/pull/1073/commits/35fa5b314f2c20767bc2cdbeaf12e30e533af0ee
8bc9487 Remove extra markup sdahdah Dec 4, 2024 https://github.com/python-control/python-control/pull/1073/commits/8bc94873153257295cb47f59e41950bbf25156fe
1cc84a7 Add extra test case for wrong number of inputs sdahdah Dec 4, 2024 https://github.com/python-control/python-control/pull/1073/commits/1cc84a7fd2337478589a48e7b7984ea41610343c
Clear filters https://github.com/python-control/python-control/pull/1073/files
Please reload this pagehttps://github.com/python-control/python-control/pull/1073/files
Please reload this pagehttps://github.com/python-control/python-control/pull/1073/files
bdalg.py https://github.com/python-control/python-control/pull/1073/files#diff-bfd06fb2f8c259261d6ca31b01ff2f68525fd4936b7ff911434f757a8e9201c6
bdalg_test.py https://github.com/python-control/python-control/pull/1073/files#diff-4d1a0ecf37889711e064324709f9718d80ec96e9ae8c4d5422aa31f9ae2113bb
control/bdalg.pyhttps://github.com/python-control/python-control/pull/1073/files#diff-bfd06fb2f8c259261d6ca31b01ff2f68525fd4936b7ff911434f757a8e9201c6
View file https://github.com/sdahdah/python-control/blob/1cc84a7fd2337478589a48e7b7984ea41610343c/control/bdalg.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-control/python-control/pull/1073/{{ revealButtonHref }}
https://github.com/python-control/python-control/pull/1073/files#diff-bfd06fb2f8c259261d6ca31b01ff2f68525fd4936b7ff911434f757a8e9201c6
https://github.com/python-control/python-control/pull/1073/files#diff-bfd06fb2f8c259261d6ca31b01ff2f68525fd4936b7ff911434f757a8e9201c6
https://github.com/python-control/python-control/pull/1073/files#diff-bfd06fb2f8c259261d6ca31b01ff2f68525fd4936b7ff911434f757a8e9201c6
https://github.com/python-control/python-control/pull/1073/files#diff-bfd06fb2f8c259261d6ca31b01ff2f68525fd4936b7ff911434f757a8e9201c6
https://github.com/python-control/python-control/pull/1073/files#diff-bfd06fb2f8c259261d6ca31b01ff2f68525fd4936b7ff911434f757a8e9201c6
murrayrmhttps://github.com/murrayrm
Dec 4, 2024https://github.com/python-control/python-control/pull/1073/files#r1868709135
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python-control/python-control/pull/1073/files
sdahdahhttps://github.com/sdahdah
Dec 4, 2024https://github.com/python-control/python-control/pull/1073/files#r1869945989
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python-control/python-control/pull/1073/files
Please reload this pagehttps://github.com/python-control/python-control/pull/1073/files
Please reload this pagehttps://github.com/python-control/python-control/pull/1073/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.