René's URL Explorer Experiment


Title: I/O system improvements: linearize, interconnect, docstrings by murrayrm · Pull Request #497 · python-control/python-control · GitHub

Open Graph Title: I/O system improvements: linearize, interconnect, docstrings by murrayrm · Pull Request #497 · python-control/python-control

X Title: I/O system improvements: linearize, interconnect, docstrings by murrayrm · Pull Request #497 · python-control/python-control

Description: This PR implements a couple of enhancements for the I/O systems package, mainly related to linear systems: The linearize command now preserves signal names for the linearized system, so that you can use signal names when forming and InterconnectedSystem. Interconnections of LinearIOSystems are now treated as LinearICSystems (a subclass of InterconnectedSystem and LinearIOSystem) so that StateSpace functions will still work on them and they still keep track of the underlying interconnection structure. There is now an interconnect function that allows the construction of an LinearICSystems or a InterconnectedSystem depending on whether the subsystems are all linear or not. This basically serves as a replacement for the connect function for LTI systems and allows named interconnection of linear or nonlinear systems. In addition, I cleaned up the description for how to specify interconnections so that tuples are only used for the lowest level signal descriptions; everything else is a list. (Tuples will still work, but there are some ambiguities when you use tuples since outlist=(3, 2, 1) could be interpreted as a signal description for a single signal (subsystem 3, signal 2, with gain 1) or as a list of signals for SISO systems (the single outputs from subsystems 3, 2, and 1). Additional small changes: The rss and drss functions now allow the strictly_proper keyword, which sets the D matrix to zero. (I needed this to avoid occasional errors in unit tests for the interconnect function. Added some configuration variables that allow you to change the way that states in interconnected systems are named (default was sys.state but is sys_state for 0.9+) and the way that duplicate systems are named (default was copy of sys but is sys$copy for 0.9+). Added unit tests for all of the above. Updated examples to match the newly documented conventions for signal list specification.

Open Graph Description: This PR implements a couple of enhancements for the I/O systems package, mainly related to linear systems: The linearize command now preserves signal names for the linearized system, so that you ...

X Description: This PR implements a couple of enhancements for the I/O systems package, mainly related to linear systems: The linearize command now preserves signal names for the linearized system, so that you ...

Opengraph URL: https://github.com/python-control/python-control/pull/497

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:5e7b6500-ae64-f0bf-76ea-7c11b6bf5a90
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id83F2:1A10D7:2565E4A:323078E:6979A9D8
html-safe-nonce0bb3eae9637ed12144108168442347c338bbf35b11537e64d2eb4395081a5bfd
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4M0YyOjFBMTBENzoyNTY1RTRBOjMyMzA3OEU6Njk3OUE5RDgiLCJ2aXNpdG9yX2lkIjoiMjkzNTMyMjk1NzAwNzM5OTM4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca432f889d9b047308612fb2d3082b36f0075c56663500800a91f5b1b6ca56d50
hovercard-subject-tagpull_request:547770495
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/497/files
twitter:imagehttps://avatars.githubusercontent.com/u/293362?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/293362?s=400&v=4
og:image:altThis PR implements a couple of enhancements for the I/O systems package, mainly related to linear systems: The linearize command now preserves signal names for the linearized system, so that you ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonec049b65ec7e54cbf2521f5a560b6527714c612b0bd169188e2ea6e16f83bd5f4
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
release87b137883e35e2766c3d0f6a257c4044f6390b83
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-control/python-control/pull/497/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%2F497%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%2F497%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/497/files
Reloadhttps://github.com/python-control/python-control/pull/497/files
Reloadhttps://github.com/python-control/python-control/pull/497/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:masterhttps://github.com/python-control/python-control/tree/master
murrayrm:linearize_named_signalshttps://github.com/murrayrm/python-control/tree/linearize_named_signals
Conversation 8 https://github.com/python-control/python-control/pull/497
Commits 12 https://github.com/python-control/python-control/pull/497/commits
Checks 0 https://github.com/python-control/python-control/pull/497/checks
Files changed https://github.com/python-control/python-control/pull/497/files
Please reload this pagehttps://github.com/python-control/python-control/pull/497/files
I/O system improvements: linearize, interconnect, docstrings https://github.com/python-control/python-control/pull/497/files#top
Show all changes 12 commits https://github.com/python-control/python-control/pull/497/files
fa041b6 allow naming of linearized system signals murrayrm Dec 29, 2020 https://github.com/python-control/python-control/pull/497/commits/fa041b695f021b4baf60b495ea9fd3ff29c9922e
4f08382 PEP8 cleanup murrayrm Jan 1, 2021 https://github.com/python-control/python-control/pull/497/commits/4f08382f00636ca26acba889b43e83c085544a0b
e343a33 append _linearize for system name + unit tests murrayrm Jan 1, 2021 https://github.com/python-control/python-control/pull/497/commits/e343a33353aefdd66f588e23581cf399466bd370
50e61a0 add keyword to geterate strictly proper rss systems murrayrm Jan 1, 2021 https://github.com/python-control/python-control/pull/497/commits/50e61a0b64c42f5ee8309daecfec32b4d19ee085
4e46c4a update docs, tests for InterconnectedSystem + small refactoring of ga… murrayrm Jan 1, 2021 https://github.com/python-control/python-control/pull/497/commits/4e46c4a2da6f789b3e6242b39d6e7688920ed037
da04036 create LinearInterconnectedSystems for interconnections of linear sys… murrayrm Jan 2, 2021 https://github.com/python-control/python-control/pull/497/commits/da04036b763d1a026406fc2afe2b10f11bf7f50b
ff4a351 turn off selected unit tests for scipy-0.19 murrayrm Jan 2, 2021 https://github.com/python-control/python-control/pull/497/commits/ff4a351dd5d411bca2fde0afb5d298acfefae451
4f04f48 updated sphinx documentation + changed to LinearICSystem murrayrm Jan 2, 2021 https://github.com/python-control/python-control/pull/497/commits/4f04f485431cb96a00e71d3eba8ab6597c6199db
14fc96e allow default linearized system name to be customized murrayrm Jan 3, 2021 https://github.com/python-control/python-control/pull/497/commits/14fc96eccbc2f0f60eeaa2cdc03ecc099f785df8
e767986 fix bug in iosys unit test (reset_defaults) murrayrm Jan 3, 2021 https://github.com/python-control/python-control/pull/497/commits/e767986587baa13db90b25f5ff330d0a3513b61b
488edf5 use editdefaults fixture and matrixfilter mark for unit testing murrayrm Jan 5, 2021 https://github.com/python-control/python-control/pull/497/commits/488edf58b3528c88493dd50772b053d841b00724
5ed0f96 fix issue with np.matrix deprecation in iosys_test.py murrayrm Jan 5, 2021 https://github.com/python-control/python-control/pull/497/commits/5ed0f96765e3677969f2e969b7b4043b393e7fee
Clear filters https://github.com/python-control/python-control/pull/497/files
Please reload this pagehttps://github.com/python-control/python-control/pull/497/files
Please reload this pagehttps://github.com/python-control/python-control/pull/497/files
bdalg.py https://github.com/python-control/python-control/pull/497/files#diff-bfd06fb2f8c259261d6ca31b01ff2f68525fd4936b7ff911434f757a8e9201c6
config.py https://github.com/python-control/python-control/pull/497/files#diff-d1ad1d32d49067e21beadf8da713ffdea3d1673aedb13dbbf54028cb7e8e4cb5
iosys.py https://github.com/python-control/python-control/pull/497/files#diff-12b378d96d36c9d59a9fbc5afbc7cc158d153ff7591b4769f8312772e1d74ed1
statesp.py https://github.com/python-control/python-control/pull/497/files#diff-b5aac033a6dd07653e82d9f5a40afaa775010c2d2d5af8beeb159487b566df72
iosys_test.py https://github.com/python-control/python-control/pull/497/files#diff-2d9f6fd1b76261b8663bd7fa89565809a728c32edd8b0f6e095177f80b6e5100
xferfcn.py https://github.com/python-control/python-control/pull/497/files#diff-0dd9424d3024fc1d5cc8fd67d13efe5703318c4c705526ab0ae216de69ce3de7
classes.rst https://github.com/python-control/python-control/pull/497/files#diff-7ace42a025609df89447e9513968d95b8191259149e34bb7d088987aa28ec85e
control.rst https://github.com/python-control/python-control/pull/497/files#diff-5a8429a2bfd64a7041b2ba651f0f4a0318299c85c8dd095c1150fe7c788ddcb4
iosys.rst https://github.com/python-control/python-control/pull/497/files#diff-65eeef9e016bf4e8497d036a1c484177a178fb456ca7f72258d8ce6f6fd81dfc
cruise-control.py https://github.com/python-control/python-control/pull/497/files#diff-33519e2a178798efbf41c12343fc2d940d8ca638d3264fb8c98dbd790c76258c
steering-gainsched.py https://github.com/python-control/python-control/pull/497/files#diff-f5c038ad44849b4b666105a6384cfe98f765ce7f12ba992c1de6035b7813bdc5
control/bdalg.pyhttps://github.com/python-control/python-control/pull/497/files#diff-bfd06fb2f8c259261d6ca31b01ff2f68525fd4936b7ff911434f757a8e9201c6
View file https://github.com/murrayrm/python-control/blob/5ed0f96765e3677969f2e969b7b4043b393e7fee/control/bdalg.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-control/python-control/pull/497/{{ revealButtonHref }}
https://github.com/python-control/python-control/pull/497/files#diff-bfd06fb2f8c259261d6ca31b01ff2f68525fd4936b7ff911434f757a8e9201c6
https://github.com/python-control/python-control/pull/497/files#diff-bfd06fb2f8c259261d6ca31b01ff2f68525fd4936b7ff911434f757a8e9201c6
control/config.pyhttps://github.com/python-control/python-control/pull/497/files#diff-d1ad1d32d49067e21beadf8da713ffdea3d1673aedb13dbbf54028cb7e8e4cb5
View file https://github.com/murrayrm/python-control/blob/5ed0f96765e3677969f2e969b7b4043b393e7fee/control/config.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-control/python-control/pull/497/{{ revealButtonHref }}
https://github.com/python-control/python-control/pull/497/files#diff-d1ad1d32d49067e21beadf8da713ffdea3d1673aedb13dbbf54028cb7e8e4cb5
control/iosys.pyhttps://github.com/python-control/python-control/pull/497/files#diff-12b378d96d36c9d59a9fbc5afbc7cc158d153ff7591b4769f8312772e1d74ed1
View file https://github.com/murrayrm/python-control/blob/5ed0f96765e3677969f2e969b7b4043b393e7fee/control/iosys.py
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/python-control/python-control/pull/497/files
control/statesp.pyhttps://github.com/python-control/python-control/pull/497/files#diff-b5aac033a6dd07653e82d9f5a40afaa775010c2d2d5af8beeb159487b566df72
View file https://github.com/murrayrm/python-control/blob/5ed0f96765e3677969f2e969b7b4043b393e7fee/control/statesp.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-control/python-control/pull/497/{{ revealButtonHref }}
https://github.com/python-control/python-control/pull/497/files#diff-b5aac033a6dd07653e82d9f5a40afaa775010c2d2d5af8beeb159487b566df72
https://github.com/python-control/python-control/pull/497/files#diff-b5aac033a6dd07653e82d9f5a40afaa775010c2d2d5af8beeb159487b566df72
https://github.com/python-control/python-control/pull/497/files#diff-b5aac033a6dd07653e82d9f5a40afaa775010c2d2d5af8beeb159487b566df72
https://github.com/python-control/python-control/pull/497/files#diff-b5aac033a6dd07653e82d9f5a40afaa775010c2d2d5af8beeb159487b566df72
https://github.com/python-control/python-control/pull/497/files#diff-b5aac033a6dd07653e82d9f5a40afaa775010c2d2d5af8beeb159487b566df72
https://github.com/python-control/python-control/pull/497/files#diff-b5aac033a6dd07653e82d9f5a40afaa775010c2d2d5af8beeb159487b566df72
https://github.com/python-control/python-control/pull/497/files#diff-b5aac033a6dd07653e82d9f5a40afaa775010c2d2d5af8beeb159487b566df72
https://github.com/python-control/python-control/pull/497/files#diff-b5aac033a6dd07653e82d9f5a40afaa775010c2d2d5af8beeb159487b566df72
https://github.com/python-control/python-control/pull/497/files#diff-b5aac033a6dd07653e82d9f5a40afaa775010c2d2d5af8beeb159487b566df72
https://github.com/python-control/python-control/pull/497/files#diff-b5aac033a6dd07653e82d9f5a40afaa775010c2d2d5af8beeb159487b566df72
Please reload this pagehttps://github.com/python-control/python-control/pull/497/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.