René's URL Explorer Experiment


Title: Small improvements to nlsys, bdalg by murrayrm · Pull Request #1019 · python-control/python-control · GitHub

Open Graph Title: Small improvements to nlsys, bdalg by murrayrm · Pull Request #1019 · python-control/python-control

X Title: Small improvements to nlsys, bdalg by murrayrm · Pull Request #1019 · python-control/python-control

Description: This PR provides some small changes to nonlinear I/O systems process: Allows system name to be overridden in linearize, even if copy_names is False. Allows renaming of system/signal names in bdalg functions: sys = ct.series(sys1, sys2, inputs='u', outputs='y') New update_names method for I/O systems that allows signal and system names to be updated. Refactoring of code for processing x0, u0 keywords in linearize and input_output_response to provide common functionality in allowing concatenation of lists and zero padding ("vector element processing"). Improved error messages when x0 and u0 don't match the expected size. If no output function is given in nlsys, which provides full state output, the output signal names are set to match the state names. Updated unit tests and documentation (including a new section on "vector element processing").

Open Graph Description: This PR provides some small changes to nonlinear I/O systems process: Allows system name to be overridden in linearize, even if copy_names is False. Allows renaming of system/signal names in bdalg...

X Description: This PR provides some small changes to nonlinear I/O systems process: Allows system name to be overridden in linearize, even if copy_names is False. Allows renaming of system/signal names in bdalg...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:f09ed90d-00b7-7ef4-0780-35481720a208
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD276:5375:10C3BAF:16F1956:697B1A40
html-safe-nonce22d38f8c10f93492325ccd7649f71a2104bc99ba80f4cb90eea9946c065c52f4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjc2OjUzNzU6MTBDM0JBRjoxNkYxOTU2OjY5N0IxQTQwIiwidmlzaXRvcl9pZCI6IjczNjM2MTQ4MjEwODM0NTQwMTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacd326f2303bf56f9cb0522f4231a7dcf9885834a7b9eba523c4951167a0411061
hovercard-subject-tagpull_request:1945978032
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/1019/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 provides some small changes to nonlinear I/O systems process: Allows system name to be overridden in linearize, even if copy_names is False. Allows renaming of system/signal names in bdalg...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None7ce8ed0a54c4730aeca4e6abacfc6490365fc42e25480b86883054df3f9181c8
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
released7bfc78137af9a4828305e52ab993fce981d7085
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-control/python-control/pull/1019/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%2F1019%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%2F1019%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/1019/files
Reloadhttps://github.com/python-control/python-control/pull/1019/files
Reloadhttps://github.com/python-control/python-control/pull/1019/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
murrayrm:nlsys_improvements-24May2024https://github.com/murrayrm/python-control/tree/nlsys_improvements-24May2024
Conversation 15 https://github.com/python-control/python-control/pull/1019
Commits 11 https://github.com/python-control/python-control/pull/1019/commits
Checks 0 https://github.com/python-control/python-control/pull/1019/checks
Files changed https://github.com/python-control/python-control/pull/1019/files
Please reload this pagehttps://github.com/python-control/python-control/pull/1019/files
Small improvements to nlsys, bdalg https://github.com/python-control/python-control/pull/1019/files#top
Show all changes 11 commits https://github.com/python-control/python-control/pull/1019/files
2b2de2b use state names as output names when outfcn=None murrayrm May 24, 2024 https://github.com/python-control/python-control/pull/1019/commits/2b2de2b03807319d3671aab6d39b6296a3578736
84a1e4d bugfix: allow sysname override in linearize if copy_names is False murrayrm May 25, 2024 https://github.com/python-control/python-control/pull/1019/commits/84a1e4dabaf61ceb204b8b200fc78b10c4fdeca2
c568c59 remove redundant code murrayrm May 25, 2024 https://github.com/python-control/python-control/pull/1019/commits/c568c598b5a63f0d31cf8682823885a845ec0144
36263d8 improve error messages for inconsistent size info in nlsys + small bu… murrayrm May 25, 2024 https://github.com/python-control/python-control/pull/1019/commits/36263d8f8d9550b436bed27dd9bbfce6559af065
1f5de6f refactor processing of x0, u0 keywords in nlsys murrayrm May 25, 2024 https://github.com/python-control/python-control/pull/1019/commits/1f5de6f84dcbad18d7800d33b3cd4f2d6b6d82e1
b10e3e2 _update process_vector_argument to always return 1D ndarray murrayrm May 25, 2024 https://github.com/python-control/python-control/pull/1019/commits/b10e3e2ef8afc77ea18566508931e6d84cdfe995
0fab739 add documentation for vector element processing murrayrm May 25, 2024 https://github.com/python-control/python-control/pull/1019/commits/0fab739209553924f454e7daa4f580ea46fe6c19
8b85747 allow renaming of system/signal names in bdalg functions murrayrm Jun 4, 2024 https://github.com/python-control/python-control/pull/1019/commits/8b8574732bc396b2d58935af0499e9800dd86004
a402a7f update test_update_names to not require slycot murrayrm Jun 4, 2024 https://github.com/python-control/python-control/pull/1019/commits/a402a7ff3aab7db45f620f8ff7e2f5954da53d57
88e2945 address @roryyorke review comments murrayrm Jul 9, 2024 https://github.com/python-control/python-control/pull/1019/commits/88e2945e867c857beacb274dddc0810381d4ccaa
8e123aa fix typos pointed out by @slivingston murrayrm Jul 9, 2024 https://github.com/python-control/python-control/pull/1019/commits/8e123aab0a8c6803728ef322b31c618191295f5f
Clear filters https://github.com/python-control/python-control/pull/1019/files
Please reload this pagehttps://github.com/python-control/python-control/pull/1019/files
Please reload this pagehttps://github.com/python-control/python-control/pull/1019/files
bdalg.py https://github.com/python-control/python-control/pull/1019/files#diff-bfd06fb2f8c259261d6ca31b01ff2f68525fd4936b7ff911434f757a8e9201c6
iosys.py https://github.com/python-control/python-control/pull/1019/files#diff-12b378d96d36c9d59a9fbc5afbc7cc158d153ff7591b4769f8312772e1d74ed1
nlsys.py https://github.com/python-control/python-control/pull/1019/files#diff-5ae9b973ef43076c51927f314e400ffc76cef00009ba1f343c83c53bd12a9d99
bdalg_test.py https://github.com/python-control/python-control/pull/1019/files#diff-4d1a0ecf37889711e064324709f9718d80ec96e9ae8c4d5422aa31f9ae2113bb
iosys_test.py https://github.com/python-control/python-control/pull/1019/files#diff-2d9f6fd1b76261b8663bd7fa89565809a728c32edd8b0f6e095177f80b6e5100
kwargs_test.py https://github.com/python-control/python-control/pull/1019/files#diff-3144c3ea9a838756fe63a094bb84c293d32c5190d9b081cbb2f10926fda2e19e
nlsys_test.py https://github.com/python-control/python-control/pull/1019/files#diff-9bbebd2d7d1971bd874d605b2a384e956157bdba7b55363919c6b3dd76c17697
iosys.rst https://github.com/python-control/python-control/pull/1019/files#diff-65eeef9e016bf4e8497d036a1c484177a178fb456ca7f72258d8ce6f6fd81dfc
control/bdalg.pyhttps://github.com/python-control/python-control/pull/1019/files#diff-bfd06fb2f8c259261d6ca31b01ff2f68525fd4936b7ff911434f757a8e9201c6
View file https://github.com/murrayrm/python-control/blob/8e123aab0a8c6803728ef322b31c618191295f5f/control/bdalg.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-control/python-control/pull/1019/{{ revealButtonHref }}
https://github.com/python-control/python-control/pull/1019/files#diff-bfd06fb2f8c259261d6ca31b01ff2f68525fd4936b7ff911434f757a8e9201c6
roryyorkehttps://github.com/roryyorke
Jul 7, 2024https://github.com/python-control/python-control/pull/1019/files#r1667709170
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python-control/python-control/pull/1019/files
https://github.com/python-control/python-control/pull/1019/files#diff-bfd06fb2f8c259261d6ca31b01ff2f68525fd4936b7ff911434f757a8e9201c6
https://github.com/python-control/python-control/pull/1019/files#diff-bfd06fb2f8c259261d6ca31b01ff2f68525fd4936b7ff911434f757a8e9201c6
https://github.com/python-control/python-control/pull/1019/files#diff-bfd06fb2f8c259261d6ca31b01ff2f68525fd4936b7ff911434f757a8e9201c6
https://github.com/python-control/python-control/pull/1019/files#diff-bfd06fb2f8c259261d6ca31b01ff2f68525fd4936b7ff911434f757a8e9201c6
https://github.com/python-control/python-control/pull/1019/files#diff-bfd06fb2f8c259261d6ca31b01ff2f68525fd4936b7ff911434f757a8e9201c6
https://github.com/python-control/python-control/pull/1019/files#diff-bfd06fb2f8c259261d6ca31b01ff2f68525fd4936b7ff911434f757a8e9201c6
https://github.com/python-control/python-control/pull/1019/files#diff-bfd06fb2f8c259261d6ca31b01ff2f68525fd4936b7ff911434f757a8e9201c6
https://github.com/python-control/python-control/pull/1019/files#diff-bfd06fb2f8c259261d6ca31b01ff2f68525fd4936b7ff911434f757a8e9201c6
https://github.com/python-control/python-control/pull/1019/files#diff-bfd06fb2f8c259261d6ca31b01ff2f68525fd4936b7ff911434f757a8e9201c6
https://github.com/python-control/python-control/pull/1019/files#diff-bfd06fb2f8c259261d6ca31b01ff2f68525fd4936b7ff911434f757a8e9201c6
https://github.com/python-control/python-control/pull/1019/files#diff-bfd06fb2f8c259261d6ca31b01ff2f68525fd4936b7ff911434f757a8e9201c6
https://github.com/python-control/python-control/pull/1019/files#diff-bfd06fb2f8c259261d6ca31b01ff2f68525fd4936b7ff911434f757a8e9201c6
https://github.com/python-control/python-control/pull/1019/files#diff-bfd06fb2f8c259261d6ca31b01ff2f68525fd4936b7ff911434f757a8e9201c6
https://github.com/python-control/python-control/pull/1019/files#diff-bfd06fb2f8c259261d6ca31b01ff2f68525fd4936b7ff911434f757a8e9201c6
https://github.com/python-control/python-control/pull/1019/files#diff-bfd06fb2f8c259261d6ca31b01ff2f68525fd4936b7ff911434f757a8e9201c6
https://github.com/python-control/python-control/pull/1019/files#diff-bfd06fb2f8c259261d6ca31b01ff2f68525fd4936b7ff911434f757a8e9201c6
https://github.com/python-control/python-control/pull/1019/files#diff-bfd06fb2f8c259261d6ca31b01ff2f68525fd4936b7ff911434f757a8e9201c6
https://github.com/python-control/python-control/pull/1019/files#diff-bfd06fb2f8c259261d6ca31b01ff2f68525fd4936b7ff911434f757a8e9201c6
https://github.com/python-control/python-control/pull/1019/files#diff-bfd06fb2f8c259261d6ca31b01ff2f68525fd4936b7ff911434f757a8e9201c6
control/iosys.pyhttps://github.com/python-control/python-control/pull/1019/files#diff-12b378d96d36c9d59a9fbc5afbc7cc158d153ff7591b4769f8312772e1d74ed1
View file https://github.com/murrayrm/python-control/blob/8e123aab0a8c6803728ef322b31c618191295f5f/control/iosys.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-control/python-control/pull/1019/{{ revealButtonHref }}
https://github.com/python-control/python-control/pull/1019/files#diff-12b378d96d36c9d59a9fbc5afbc7cc158d153ff7591b4769f8312772e1d74ed1
https://github.com/python-control/python-control/pull/1019/files#diff-12b378d96d36c9d59a9fbc5afbc7cc158d153ff7591b4769f8312772e1d74ed1
https://github.com/python-control/python-control/pull/1019/files#diff-12b378d96d36c9d59a9fbc5afbc7cc158d153ff7591b4769f8312772e1d74ed1
https://github.com/python-control/python-control/pull/1019/files#diff-12b378d96d36c9d59a9fbc5afbc7cc158d153ff7591b4769f8312772e1d74ed1
https://github.com/python-control/python-control/pull/1019/files#diff-12b378d96d36c9d59a9fbc5afbc7cc158d153ff7591b4769f8312772e1d74ed1
https://github.com/python-control/python-control/pull/1019/files#diff-12b378d96d36c9d59a9fbc5afbc7cc158d153ff7591b4769f8312772e1d74ed1
Please reload this pagehttps://github.com/python-control/python-control/pull/1019/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.