René's URL Explorer Experiment


Title: Stochastic systems additions by murrayrm · Pull Request #714 · python-control/python-control · GitHub

Open Graph Title: Stochastic systems additions by murrayrm · Pull Request #714 · python-control/python-control

X Title: Stochastic systems additions by murrayrm · Pull Request #714 · python-control/python-control

Description: This PR adds new functionality for supporting analysis and simulation of stochastic systems, based on a class that I taught at Caltech: Adds two new functions supporting random signals: white_noise, which creates a white noise vector in continuous or discrete time, and correlation, which calculates the correlation function (or [cross-] correlation matrix), R(tau). Adds a new function create_estimator_iosystem that matches the style of create_statefbk_iosystem (#710) and creates an I/O system implementing an estimator (including covariance update). Adds the ability to specify initial conditions for input_output_response as a list of values, so that for estimators that keep track of covariance you can set the initial conditions as [X0, P0]. In addition, if you specify a fewer number of initial conditions than the number of states, the remaining states will be initialized to zero (with a warning if the last initial condition is not zero). This allows the initial conditions to be given as [X0, 0]. Adds the ability to specify inputs for input_output_response as a list of variables. Each element in the list will be treated as a portion of the input and broadcast (if necessary) to match the time vector. This allows input for a system with noise as [U, V] and inputs for a system with zero noise as [U, np.zero(n)] (where U is an input signal and np.zero(n) gets broadcast to match the time vector). Added some new Jupyter notebooks demonstrate the use of these functions: stochresp.ipynb: illustrates the implementation of random processes and stochastic response. pvtol-outputfbk.ipynb: illustrates the implementation of an extended Kalman filter and the use of the estimated state for LQR feedback of a vectored thrust aircraft model. kincar-fusion.ipynb: works through estimation of the state of a car changing lanes with two different sensors available: one with good longitudinal accuracy and the other with good lateral accuracy.

Open Graph Description: This PR adds new functionality for supporting analysis and simulation of stochastic systems, based on a class that I taught at Caltech: Adds two new functions supporting random signals: white_noi...

X Description: This PR adds new functionality for supporting analysis and simulation of stochastic systems, based on a class that I taught at Caltech: Adds two new functions supporting random signals: white_noi...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:9632033e-6b32-646d-eedd-bc4ed016a3df
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBB0E:231014:2B99744:3B22121:6979B9CA
html-safe-nonce70c0569215e1a3610ff2ce307d6a834d3873a7678a7fa038694cf5f73952cc28
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjBFOjIzMTAxNDoyQjk5NzQ0OjNCMjIxMjE6Njk3OUI5Q0EiLCJ2aXNpdG9yX2lkIjoiMjE0NDU0OTQzNTQ4NzE0MDI5OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac09e97ca0201a41070d1e0987bd5a9396e62f715b818501fdebea678971d19805
hovercard-subject-tagpull_request:887378229
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/714/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 adds new functionality for supporting analysis and simulation of stochastic systems, based on a class that I taught at Caltech: Adds two new functions supporting random signals: white_noi...
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/714/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%2F714%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%2F714%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/714/files
Reloadhttps://github.com/python-control/python-control/pull/714/files
Reloadhttps://github.com/python-control/python-control/pull/714/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:stochsyshttps://github.com/murrayrm/python-control/tree/stochsys
Conversation 5 https://github.com/python-control/python-control/pull/714
Commits 13 https://github.com/python-control/python-control/pull/714/commits
Checks 0 https://github.com/python-control/python-control/pull/714/checks
Files changed https://github.com/python-control/python-control/pull/714/files
Please reload this pagehttps://github.com/python-control/python-control/pull/714/files
Stochastic systems additions https://github.com/python-control/python-control/pull/714/files#top
Show all changes 13 commits https://github.com/python-control/python-control/pull/714/files
4c197ca add not implemented test/fix for continuous MPC murrayrm Mar 12, 2022 https://github.com/python-control/python-control/pull/714/commits/4c197caa9e3c5347aef6807fa64b3b908f966c8e
b1b3ad5 create _NamedIOSystem, _NamedIOStateSystem parent classes murrayrm Mar 23, 2022 https://github.com/python-control/python-control/pull/714/commits/b1b3ad58b3d75d62974c8c504e35298548aca427
3de4956 initial creation of stochsys module + create_estimator_iosystem murrayrm Mar 16, 2022 https://github.com/python-control/python-control/pull/714/commits/3de4956c3deb3b72287c8dc3e8988fcb5756bd2c
dff5206 allow legacy matrix representation murrayrm Mar 17, 2022 https://github.com/python-control/python-control/pull/714/commits/dff520652618c207b6cc6cae6c3dba926315cba5
536b97e stochsys ipynb examples + labeling fixes murrayrm Mar 18, 2022 https://github.com/python-control/python-control/pull/714/commits/536b97e654a135126755ddaf3b146d869474bb67
a211dad allow legacy matrix representation murrayrm Mar 17, 2022 https://github.com/python-control/python-control/pull/714/commits/a211dad6857b8eef2bb521914a96cb3980679a78
d3e7387 additional stochsys documentation, unit tests murrayrm Mar 18, 2022 https://github.com/python-control/python-control/pull/714/commits/d3e738710a197f81adfd5b85aa1332773ff2adb0
bd1e8e0 replace correlation_lags with calculation + new example murrayrm Mar 18, 2022 https://github.com/python-control/python-control/pull/714/commits/bd1e8e07bdea4b0c93f2ced987ae6c9e3f309b92
7821e2b add jupyter notebooks to documentation + updated notebooks murrayrm Mar 18, 2022 https://github.com/python-control/python-control/pull/714/commits/7821e2b62ad45661a699e1aaf63abcc37a0e12d8
1202257 add documentation on predict keyword + input_output_response list pro… murrayrm Mar 18, 2022 https://github.com/python-control/python-control/pull/714/commits/12022571bf4d048c76d337ca136cb1493fea2f01
a4567d4 rebase cleanup murrayrm Mar 23, 2022 https://github.com/python-control/python-control/pull/714/commits/a4567d4aeea90f05877aac2a55f529e28a000558
051e196 retrigger checks murrayrm Mar 23, 2022 https://github.com/python-control/python-control/pull/714/commits/051e19606f28bdf06be4c00bc513eaa31aa85abf
34c2c7e add kwarg checks + rebase cleanup murrayrm Mar 30, 2022 https://github.com/python-control/python-control/pull/714/commits/34c2c7e3018a3537c97f3564368535d4158421a9
Clear filters https://github.com/python-control/python-control/pull/714/files
Please reload this pagehttps://github.com/python-control/python-control/pull/714/files
Please reload this pagehttps://github.com/python-control/python-control/pull/714/files
__init__.py https://github.com/python-control/python-control/pull/714/files#diff-a082bea4cb97f2978eb7abd1de48ecde6447923e60eb55409a243b98e1072fa3
iosys.py https://github.com/python-control/python-control/pull/714/files#diff-12b378d96d36c9d59a9fbc5afbc7cc158d153ff7591b4769f8312772e1d74ed1
optimal.py https://github.com/python-control/python-control/pull/714/files#diff-19ca2bf58874b6519164f42d62448fdcc1e05efe2b45263f6761f39392cdde01
sisotool.py https://github.com/python-control/python-control/pull/714/files#diff-5b1b1a164f395f3f0ea7bad5761983be0d398ad5462147b1f69de6dd48a52e1d
statefbk.py https://github.com/python-control/python-control/pull/714/files#diff-dbb4a524ae36f7833fa7b5991007098ea0b11b1f8a5d30831c641f5e6d39e0cb
stochsys.py https://github.com/python-control/python-control/pull/714/files#diff-b32ff2216399700e0cc009ce41fe4aec6c0d8156841b29af325025d1fc13254d
iosys_test.py https://github.com/python-control/python-control/pull/714/files#diff-2d9f6fd1b76261b8663bd7fa89565809a728c32edd8b0f6e095177f80b6e5100
kwargs_test.py https://github.com/python-control/python-control/pull/714/files#diff-3144c3ea9a838756fe63a094bb84c293d32c5190d9b081cbb2f10926fda2e19e
statefbk_test.py https://github.com/python-control/python-control/pull/714/files#diff-90f212319faaca2098d93d660936eab8762ef555c04db53a4b76e6ece773fc1d
stochsys_test.py https://github.com/python-control/python-control/pull/714/files#diff-1b204ab9f30a01165f405f2a0df7d96ddffd8c9d07ee76e5fb2a4bb567252b82
control.rst https://github.com/python-control/python-control/pull/714/files#diff-5a8429a2bfd64a7041b2ba651f0f4a0318299c85c8dd095c1150fe7c788ddcb4
examples.rst https://github.com/python-control/python-control/pull/714/files#diff-2a75ce1d5fcc083639c4620bb785827882f0224ccb145a58160a42d248bde9e2
kincar-fusion.ipynb https://github.com/python-control/python-control/pull/714/files#diff-9778a40bffeac31457c2558ce56d61c5c78a373ab5185ba8599c4bc15998f08d
pvtol-outputfbk.ipynb https://github.com/python-control/python-control/pull/714/files#diff-0f43995c22a34e0712a7e39992d461eae3c72052b03147fb238af3a9bc90c268
stochresp.ipynb https://github.com/python-control/python-control/pull/714/files#diff-db428a6df3f824de05ed856f55f5d2628eafd5a12ebb07443bef9b5629b67870
kincar-fusion.ipynb https://github.com/python-control/python-control/pull/714/files#diff-f0eafbab17b07c8766d6c491b93c0e55354fa1d5ee47bae70040f53cea377c8c
pvtol-lqr-nested.ipynb https://github.com/python-control/python-control/pull/714/files#diff-93f7e6bf896b53bdd87fdda5cb2e154884af3feb21df55861c69977982753f42
pvtol-outputfbk.ipynb https://github.com/python-control/python-control/pull/714/files#diff-60ff198434f53a3aae092672edf02d5413562c3087dd8e8bd1c73c0c2938b8cc
pvtol.py https://github.com/python-control/python-control/pull/714/files#diff-6e6f18f0ea20a5b25106071301af494445056ca5240a5b83de13ae7840d8152d
stochresp.ipynb https://github.com/python-control/python-control/pull/714/files#diff-1e150951da3f00f35cd890f6892013a323cd76591214bf6d597fb6683b23745d
vehicle-steering.png https://github.com/python-control/python-control/pull/714/files#diff-e7cd89db3d8b28cc7d343d337bff05cc8328c1177f2ad690c4ec48c75fade33f
vehicle.py https://github.com/python-control/python-control/pull/714/files#diff-b2af74560be1a22797d9454bc1c99398a44e333d8d31c2491b3627106e557bed
control/__init__.pyhttps://github.com/python-control/python-control/pull/714/files#diff-a082bea4cb97f2978eb7abd1de48ecde6447923e60eb55409a243b98e1072fa3
View file https://github.com/murrayrm/python-control/blob/34c2c7e3018a3537c97f3564368535d4158421a9/control/__init__.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-control/python-control/pull/714/{{ revealButtonHref }}
https://github.com/python-control/python-control/pull/714/files#diff-a082bea4cb97f2978eb7abd1de48ecde6447923e60eb55409a243b98e1072fa3
https://github.com/python-control/python-control/pull/714/files#diff-a082bea4cb97f2978eb7abd1de48ecde6447923e60eb55409a243b98e1072fa3
control/iosys.pyhttps://github.com/python-control/python-control/pull/714/files#diff-12b378d96d36c9d59a9fbc5afbc7cc158d153ff7591b4769f8312772e1d74ed1
View file https://github.com/murrayrm/python-control/blob/34c2c7e3018a3537c97f3564368535d4158421a9/control/iosys.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-control/python-control/pull/714/{{ revealButtonHref }}
https://github.com/python-control/python-control/pull/714/files#diff-12b378d96d36c9d59a9fbc5afbc7cc158d153ff7591b4769f8312772e1d74ed1
https://github.com/python-control/python-control/pull/714/files#diff-12b378d96d36c9d59a9fbc5afbc7cc158d153ff7591b4769f8312772e1d74ed1
https://github.com/python-control/python-control/pull/714/files#diff-12b378d96d36c9d59a9fbc5afbc7cc158d153ff7591b4769f8312772e1d74ed1
https://github.com/python-control/python-control/pull/714/files#diff-12b378d96d36c9d59a9fbc5afbc7cc158d153ff7591b4769f8312772e1d74ed1
https://github.com/python-control/python-control/pull/714/files#diff-12b378d96d36c9d59a9fbc5afbc7cc158d153ff7591b4769f8312772e1d74ed1
https://github.com/python-control/python-control/pull/714/files#diff-12b378d96d36c9d59a9fbc5afbc7cc158d153ff7591b4769f8312772e1d74ed1
control/optimal.pyhttps://github.com/python-control/python-control/pull/714/files#diff-19ca2bf58874b6519164f42d62448fdcc1e05efe2b45263f6761f39392cdde01
View file https://github.com/murrayrm/python-control/blob/34c2c7e3018a3537c97f3564368535d4158421a9/control/optimal.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-control/python-control/pull/714/{{ revealButtonHref }}
https://github.com/python-control/python-control/pull/714/files#diff-19ca2bf58874b6519164f42d62448fdcc1e05efe2b45263f6761f39392cdde01
https://github.com/python-control/python-control/pull/714/files#diff-19ca2bf58874b6519164f42d62448fdcc1e05efe2b45263f6761f39392cdde01
control/sisotool.pyhttps://github.com/python-control/python-control/pull/714/files#diff-5b1b1a164f395f3f0ea7bad5761983be0d398ad5462147b1f69de6dd48a52e1d
View file https://github.com/murrayrm/python-control/blob/34c2c7e3018a3537c97f3564368535d4158421a9/control/sisotool.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-control/python-control/pull/714/{{ revealButtonHref }}
https://github.com/python-control/python-control/pull/714/files#diff-5b1b1a164f395f3f0ea7bad5761983be0d398ad5462147b1f69de6dd48a52e1d
https://github.com/python-control/python-control/pull/714/files#diff-5b1b1a164f395f3f0ea7bad5761983be0d398ad5462147b1f69de6dd48a52e1d
https://github.com/python-control/python-control/pull/714/files#diff-5b1b1a164f395f3f0ea7bad5761983be0d398ad5462147b1f69de6dd48a52e1d
https://github.com/python-control/python-control/pull/714/files#diff-5b1b1a164f395f3f0ea7bad5761983be0d398ad5462147b1f69de6dd48a52e1d
https://github.com/python-control/python-control/pull/714/files#diff-5b1b1a164f395f3f0ea7bad5761983be0d398ad5462147b1f69de6dd48a52e1d
Please reload this pagehttps://github.com/python-control/python-control/pull/714/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.