Title: bandwidth feature by SCLiao47 · Pull Request #889 · python-control/python-control · GitHub
Open Graph Title: bandwidth feature by SCLiao47 · Pull Request #889 · python-control/python-control
X Title: bandwidth feature by SCLiao47 · Pull Request #889 · python-control/python-control
Description: As discussed in #690, the bandwidth feature is added to the LTI class. Implementation: The range of possible frequency is extracted from freqplot._default_frequency_range. The index, $idx$, is identified, which corresponds to the first frequency dropped by a desired amount relative to the DC gain. Bisection search (scipy.optimize.root_scalar) is used to solve for the bandwidth in the frequency bracket $[\omega[idx-1], \omega[idx]]$. Notes: The bandwidth of a system with infinite DC gain is set to be np.nan, which follows the convention of Matlab. The above approach is chosen to solve the bandwidth instead of the scipy.optimize.root suggested in issue #690. The suggested approach requires an initial guess and might fail, e.g., a system with a resonant peak at a frequency higher than the bandwidth. Notes on git commits: git commits are duplicated as I was having some issues to push. I pulled (suggested by git error hint), and it prompts "merge made by the 'recursive' strategy. Not sure whether this is a problem.
Open Graph Description: As discussed in #690, the bandwidth feature is added to the LTI class. Implementation: The range of possible frequency is extracted from freqplot._default_frequency_range. The index, $idx$, is ide...
X Description: As discussed in #690, the bandwidth feature is added to the LTI class. Implementation: The range of possible frequency is extracted from freqplot._default_frequency_range. The index, $idx$, is ide...
Opengraph URL: https://github.com/python-control/python-control/pull/889
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:9126f3b1-ce89-b876-3a1a-92122cc5a014 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | E7D4:33171A:670A62:909973:6979EED5 |
| html-safe-nonce | 61e958888de7c2187cb435090a041116f7fe43ca50bbcf850659ff7ec9a43cba |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFN0Q0OjMzMTcxQTo2NzBBNjI6OTA5OTczOjY5NzlFRUQ1IiwidmlzaXRvcl9pZCI6IjU3OTIxNzQ1OTYyOTk1NTA0MjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | bf6bb52c283584bd0f9e421c44e4ed8deaf1064c4806a82852fff2bc9349de64 |
| hovercard-subject-tag | pull_request:1333433547 |
| 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/889/checks |
| twitter:image | https://avatars.githubusercontent.com/u/31977167?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/31977167?s=400&v=4 |
| og:image:alt | As discussed in #690, the bandwidth feature is added to the LTI class. Implementation: The range of possible frequency is extracted from freqplot._default_frequency_range. The index, $idx$, is ide... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | d518616844426fb176f4177c4776349f6e70ef1ce75f459c8c53bf9293bb6982 |
| 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 | 22c6ce7724007ae85d7487fce3308a1c7cea8be6 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width