Title: Fix step_info settling time calculation by murrayrm · Pull Request #1029 · python-control/python-control · GitHub
Open Graph Title: Fix step_info settling time calculation by murrayrm · Pull Request #1029 · python-control/python-control
X Title: Fix step_info settling time calculation by murrayrm · Pull Request #1029 · python-control/python-control
Description: This PR addresses issue #1014, where a constant input was generating an error in step_info. Just needed to account for the case where np.where returned an empty array. Also changed np.where to np.nonzero, as recommended in the np.where documentation.
Open Graph Description: This PR addresses issue #1014, where a constant input was generating an error in step_info. Just needed to account for the case where np.where returned an empty array. Also changed np.where to np....
X Description: This PR addresses issue #1014, where a constant input was generating an error in step_info. Just needed to account for the case where np.where returned an empty array. Also changed np.where to np....
Opengraph URL: https://github.com/python-control/python-control/pull/1029
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:ea9b0a70-1584-417a-5271-f47466b11423 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 886E:3564B3:8CE5C0:C1D2E0:697A6F09 |
| html-safe-nonce | 7f640399c75c068410c2816fe8b45fe730b8c0e8e22f8a4a4edf7df24ac9c144 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4ODZFOjM1NjRCMzo4Q0U1QzA6QzFEMkUwOjY5N0E2RjA5IiwidmlzaXRvcl9pZCI6IjkwMzc1NzY3NzQyMTYyMTYzMjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c8d67d9f8678ce289813d6abf7b548502426783e7aa133b6e6efa64a8da49f3d |
| hovercard-subject-tag | pull_request:1967641910 |
| 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/1029/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 addresses issue #1014, where a constant input was generating an error in step_info. Just needed to account for the case where np.where returned an empty array. Also changed np.where to np.... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 90af392c4422c0519eb9d3bf73d4a19bcd295cce41ce316abc60c8399f996938 |
| 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 | 4c08209263bbbf322ab1921dc4539a6bfc158b1f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width