Title: fix timebase processing in frd, zpk by murrayrm · Pull Request #1064 · python-control/python-control · GitHub
Open Graph Title: fix timebase processing in frd, zpk by murrayrm · Pull Request #1064 · python-control/python-control
X Title: fix timebase processing in frd, zpk by murrayrm · Pull Request #1064 · python-control/python-control
Description: This PR addresses issue #1062 by making sure that timebases are handled uniformly in all system creation factory functions: For ss, tf, frd, and zpk, use either an additional argument specifying the sampling time or use the dt keyword (using both generates a warning). For nlsys, use the dt keyword If no timebase is specified, use the default timebase set by config.defaults['control.default_dt'], which is 0 (continuous time) unless you change it. It was the last of these that was the problem in zpk: it was defaulting to None and that was later interpreted as a discrete time system. Also added unit tests to make sure everything is consistent across the different factory functions.
Open Graph Description: This PR addresses issue #1062 by making sure that timebases are handled uniformly in all system creation factory functions: For ss, tf, frd, and zpk, use either an additional argument specifying t...
X Description: This PR addresses issue #1062 by making sure that timebases are handled uniformly in all system creation factory functions: For ss, tf, frd, and zpk, use either an additional argument specifying t...
Opengraph URL: https://github.com/python-control/python-control/pull/1064
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:64f43f02-98c0-578c-92e6-743bf833e0e6 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D9EC:25FA45:12B58E2:1AC26F6:697A391A |
| html-safe-nonce | 85ac8828988601772a9b52e67620f0097a73eb3132d2c3c27fb7c6a22836604b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOUVDOjI1RkE0NToxMkI1OEUyOjFBQzI2RjY6Njk3QTM5MUEiLCJ2aXNpdG9yX2lkIjoiODk4NTAxNDE2OTg3ODgwNDc2MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f8968ad5654029dddd7ca3c3fb17b1b30d5bee4b34ee17549170d4a66af0a0b0 |
| hovercard-subject-tag | pull_request:2195990097 |
| 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/1064/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 #1062 by making sure that timebases are handled uniformly in all system creation factory functions: For ss, tf, frd, and zpk, use either an additional argument specifying t... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | af6de804ceb83ad30bb9b348cdeaccaa30cdcb566762d5e74e21e2bad88885d0 |
| 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 | 2d980605f0959039ddebcbcf522b072508302977 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width