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:7417bc72-1080-d206-9d5c-d6bb398e5521 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D526:3CA2FF:C0D15:10C53E:697A093A |
| html-safe-nonce | 6f4315d1c32f0e7c167635d5062f3badf1de9ca65712f8780a38945215660964 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTI2OjNDQTJGRjpDMEQxNToxMEM1M0U6Njk3QTA5M0EiLCJ2aXNpdG9yX2lkIjoiMjEyOTY4MjAyMzkzOTk2NzI5MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d4d883c74c41c81dad5184d8f67c79d137bcf2d8078fdd0d85dad56a4faf8958 |
| 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 | 24021c77440f544078f9cbe80d78a2fb16ccff65fca92deda9da3c51d1cdc5fc |
| 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 | bd34d6cb576e14ec8da51f144ef82b621f68256d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width