Title: Allow passing and saving of params in time responses by murrayrm · Pull Request #982 · python-control/python-control · GitHub
Open Graph Title: Allow passing and saving of params in time responses by murrayrm · Pull Request #982 · python-control/python-control
X Title: Allow passing and saving of params in time responses by murrayrm · Pull Request #982 · python-control/python-control
Description: This PR allows parameter values to be saved in time responses as well as passing parameter values (via the params keyword) for the initial_response, ,step_response, and final_response functions (which call through to input_output_response for nonlinear I/O systems). With this functionality, you can do things like nlsys = ct.nlsys( lambda t, x, u, params: params['a'] * x[0] + u[0], states = 1, inputs = 1, outputs = 1, params={'a': 0}) timevec = np.linspace(0, 1) resp = step_response(nlsys, timevec, params={'a': -0.5}) The simulation will run with params['a'] = -0.5 and this information will be stored in resp.params.
Open Graph Description: This PR allows parameter values to be saved in time responses as well as passing parameter values (via the params keyword) for the initial_response, ,step_response, and final_response functions (wh...
X Description: This PR allows parameter values to be saved in time responses as well as passing parameter values (via the params keyword) for the initial_response, ,step_response, and final_response functions (wh...
Opengraph URL: https://github.com/python-control/python-control/pull/982
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:39dacbe0-d8c6-39cc-63bd-fa8d2f18cafe |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D050:19C393:82E791:B4D801:697A6DF2 |
| html-safe-nonce | 77dcbd0c763003e80ba596caf2e711aa94959dc4ea3998c7117d36b50baaa505 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDUwOjE5QzM5Mzo4MkU3OTE6QjREODAxOjY5N0E2REYyIiwidmlzaXRvcl9pZCI6IjUxMjMwMDY2OTU3MzkxMjUyMzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9253ec49e6caeb14c46d53edef6189f14fb9dafca856643f76668549ec727578 |
| hovercard-subject-tag | pull_request:1799116269 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/982/files |
| twitter:image | https://avatars.githubusercontent.com/u/293362?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/293362?s=400&v=4 |
| og:image:alt | This PR allows parameter values to be saved in time responses as well as passing parameter values (via the params keyword) for the initial_response, ,step_response, and final_response functions (wh... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4f4c032790588250388c2e36a0e1ea776c0a3f887d37d994e1ac3d7ea79d34ef |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 06b3a5a9a6214e1e06e508d250d778cbaf17c577 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width