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/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:de507839-d672-830d-78a2-56d3dc786397 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | E78E:115E33:16FBFE0:214694B:697A39D5 |
| html-safe-nonce | 00df3023110fe8ff1a3101a1aebd1148e7b8ed249cd1cb98cfdd71a35c0e2bdf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzhFOjExNUUzMzoxNkZCRkUwOjIxNDY5NEI6Njk3QTM5RDUiLCJ2aXNpdG9yX2lkIjoiNzE1OTcwNDQwMjUyNzkyNjc0MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6534255f84eb00c8dd051ad4a705cc93f22de27ccdd3e62f20aa8f20fa59d1a2 |
| hovercard-subject-tag | pull_request:2195990097 |
| 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/1064/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 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 | 4a0b4010ae0a1c23b415e9254044ae36042a44c358266cc9a18f32128faad1cf |
| 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 | 751738b6aa7c947aef1bb025fad420093c6e3c81 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width