Title: `phase_plot` ODE function signature is not compatible with `solve_ivp` and `StateSpace.dynamics` · Issue #968 · python-control/python-control · GitHub
Open Graph Title: `phase_plot` ODE function signature is not compatible with `solve_ivp` and `StateSpace.dynamics` · Issue #968 · python-control/python-control
X Title: `phase_plot` ODE function signature is not compatible with `solve_ivp` and `StateSpace.dynamics` · Issue #968 · python-control/python-control
Description: There seems to be some inconsistency with the ordering of parameters for ODE functions between phase_plot and StateSpace.dynamics. phase_plot expects a function with signature f(x, t), whereas StateSpace.dynamics and other functions that...
Open Graph Description: There seems to be some inconsistency with the ordering of parameters for ODE functions between phase_plot and StateSpace.dynamics. phase_plot expects a function with signature f(x, t), whereas Stat...
X Description: There seems to be some inconsistency with the ordering of parameters for ODE functions between phase_plot and StateSpace.dynamics. phase_plot expects a function with signature f(x, t), whereas Stat...
Opengraph URL: https://github.com/python-control/python-control/issues/968
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`phase_plot` ODE function signature is not compatible with `solve_ivp` and `StateSpace.dynamics`","articleBody":"There seems to be some inconsistency with the ordering of parameters for ODE functions between `phase_plot` and `StateSpace.dynamics`. `phase_plot` expects a function with signature f(x, t), whereas `StateSpace.dynamics` and other functions that are meant to be used with `scipy.integrate.solve_ivp` provide a function with the signature f(t, x) (note that the order of arguments is different).\r\n\r\nIt would be nice if the order of arguments was consistent, so you could pass functions compatible with `scipy.integrate.solve_ivp` directly to `phase_plot`.","author":{"url":"https://github.com/FeldrinH","@type":"Person","name":"FeldrinH"},"datePublished":"2024-02-09T13:21:03.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/968/python-control/issues/968"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2477aa25-c0c0-4193-7b58-e3be597b9d16 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8F12:2ED767:461515A:5EC039C:697B220C |
| html-safe-nonce | 9055f4bf11d41ff7621dc60643d566d41cc78c0355cec03aa4718912899cf193 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjEyOjJFRDc2Nzo0NjE1MTVBOjVFQzAzOUM6Njk3QjIyMEMiLCJ2aXNpdG9yX2lkIjoiMjE4NDgwNDQ3MTczNTUyNTkwMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 36ccf1f28139f23ef67979508218297373ff697816619cef70de7eccc22cbaf8 |
| hovercard-subject-tag | issue:2127144249 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/python-control/python-control/968/issue_layout |
| twitter:image | https://opengraph.githubassets.com/aad863404e82f980835a1673829442d152efe52d132f63bf231c0322efb98809/python-control/python-control/issues/968 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/aad863404e82f980835a1673829442d152efe52d132f63bf231c0322efb98809/python-control/python-control/issues/968 |
| og:image:alt | There seems to be some inconsistency with the ordering of parameters for ODE functions between phase_plot and StateSpace.dynamics. phase_plot expects a function with signature f(x, t), whereas Stat... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | FeldrinH |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7ce8ed0a54c4730aeca4e6abacfc6490365fc42e25480b86883054df3f9181c8 |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82440e908b5650143b0930c6bf91e184f2bad20c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width