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:805d5f2e-91cc-1290-69ee-1f7422532106 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A8EA:169132:1C892D:27B116:697B3F62 |
| html-safe-nonce | 903c67a6a1793bb97d9d13216063363a0cb67833e2336e8b1564d734f09f29b8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOEVBOjE2OTEzMjoxQzg5MkQ6MjdCMTE2OjY5N0IzRjYyIiwidmlzaXRvcl9pZCI6IjE1NzM0OTc0MTcxMDQwNDc5NzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d1e2460d681dbab869808e0296b4636729cdc28fcbbb39d212de5e314cb723cd |
| 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 | 6fe64d94889230be19a900846cfc91707e7dd4206878d6c208922b46a6b0735d |
| 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 | 15736a47b83581130a149aa1b928696bea06adde |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width