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/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:84b42790-fb9b-8d56-4014-189fcefd9e6b |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | BB1E:37526:1FFD656:2D341FA:697A58CE |
| html-safe-nonce | ee40a14a4f72aa04a30df2235a44d1849fb7b479cbd598359c62d22698d0ef6e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjFFOjM3NTI2OjFGRkQ2NTY6MkQzNDFGQTo2OTdBNThDRSIsInZpc2l0b3JfaWQiOiI3NDg3NDc0NzQxNTI3ODYxNDU0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a3c5241eadc3773ea983ce72c8cd16d7435a1ede161caf625cb0b143126d21d4 |
| hovercard-subject-tag | pull_request:1799116269 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/checks |
| 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 | a2296221ffa83b7f45f8ba9b62e1aed869492cb43693309e51b8111607e38282 |
| turbo-cache-control | no-preview |
| 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 full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 46d8a07df71eb59259545c68ce36abf1075d2fca |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width