René's URL Explorer Experiment


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

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:c95f0963-cfd2-74c7-0773-71a1b5f15c72
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC05A:2EAD0:344AFE8:474CA5B:6979D62F
html-safe-nonce73f7930b345a1724aca3b1b664fb645ea14b8f445bf40a6000fccb8304804293
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDVBOjJFQUQwOjM0NEFGRTg6NDc0Q0E1Qjo2OTc5RDYyRiIsInZpc2l0b3JfaWQiOiIyODI1ODI5MTA1MTY3NjE5NjMxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac801a7c3ecb2fa5f70d56e259f52f7f4d2b062e4488eccccee43d9fd1a4fe9b8f
hovercard-subject-tagpull_request:1333433547
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python-control/python-control/pull/889/files
twitter:imagehttps://avatars.githubusercontent.com/u/31977167?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/31977167?s=400&v=4
og:image:altAs 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_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonec049b65ec7e54cbf2521f5a560b6527714c612b0bd169188e2ea6e16f83bd5f4
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python-control/python-control git https://github.com/python-control/python-control.git
octolytics-dimension-user_id2285872
octolytics-dimension-user_loginpython-control
octolytics-dimension-repository_id22791752
octolytics-dimension-repository_nwopython-control/python-control
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id22791752
octolytics-dimension-repository_network_root_nwopython-control/python-control
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseaa81cb94735f56e8afe352515e35f16bd5c0018b
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-control/python-control/pull/889/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-control%2Fpython-control%2Fpull%2F889%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-control%2Fpython-control%2Fpull%2F889%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python-control%2Fpython-control
Reloadhttps://github.com/python-control/python-control/pull/889/files
Reloadhttps://github.com/python-control/python-control/pull/889/files
Reloadhttps://github.com/python-control/python-control/pull/889/files
python-control https://github.com/python-control
python-controlhttps://github.com/python-control/python-control
Notifications https://github.com/login?return_to=%2Fpython-control%2Fpython-control
Fork 447 https://github.com/login?return_to=%2Fpython-control%2Fpython-control
Star 2k https://github.com/login?return_to=%2Fpython-control%2Fpython-control
Code https://github.com/python-control/python-control
Issues 87 https://github.com/python-control/python-control/issues
Pull requests 8 https://github.com/python-control/python-control/pulls
Discussions https://github.com/python-control/python-control/discussions
Actions https://github.com/python-control/python-control/actions
Projects 0 https://github.com/python-control/python-control/projects
Wiki https://github.com/python-control/python-control/wiki
Security 0 https://github.com/python-control/python-control/security
Insights https://github.com/python-control/python-control/pulse
Code https://github.com/python-control/python-control
Issues https://github.com/python-control/python-control/issues
Pull requests https://github.com/python-control/python-control/pulls
Discussions https://github.com/python-control/python-control/discussions
Actions https://github.com/python-control/python-control/actions
Projects https://github.com/python-control/python-control/projects
Wiki https://github.com/python-control/python-control/wiki
Security https://github.com/python-control/python-control/security
Insights https://github.com/python-control/python-control/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython-control%2Fpython-control%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython-control%2Fpython-control%2Fissues%2Fnew%2Fchoose
murrayrmhttps://github.com/murrayrm
python-control:mainhttps://github.com/python-control/python-control/tree/main
SCLiao47:feature_bandwidthhttps://github.com/SCLiao47/python-control/tree/feature_bandwidth
Conversation 9 https://github.com/python-control/python-control/pull/889
Commits 14 https://github.com/python-control/python-control/pull/889/commits
Checks 0 https://github.com/python-control/python-control/pull/889/checks
Files changed https://github.com/python-control/python-control/pull/889/files
Please reload this pagehttps://github.com/python-control/python-control/pull/889/files
bandwidth feature https://github.com/python-control/python-control/pull/889/files#top
Show all changes 14 commits https://github.com/python-control/python-control/pull/889/files
65988d1 solve bandwidth by bisection for zero-crossing SCLiao47 Apr 28, 2023 https://github.com/python-control/python-control/pull/889/commits/65988d12cbab5d895767da195a3767d922b1bb6e
86ff95c testing suggested method by Kreijstal SCLiao47 May 1, 2023 https://github.com/python-control/python-control/pull/889/commits/86ff95c47f648dc859cfab61c8972eeccbd1039b
70e912f Implemented and passed nominal test SCLiao47 May 1, 2023 https://github.com/python-control/python-control/pull/889/commits/70e912f031574167eef683f090dbb59317dff6ac
0c81cb2 Handle integrator, all-pass filters SCLiao47 May 1, 2023 https://github.com/python-control/python-control/pull/889/commits/0c81cb2b9812932096fd7d68c80b1457a02ef083
d59d19a adjust for PEP8 coding style SCLiao47 May 1, 2023 https://github.com/python-control/python-control/pull/889/commits/d59d19a299d2455e35826f6206715bba6197274c
bc2ddff solve bandwidth by bisection for zero-crossing SCLiao47 Apr 28, 2023 https://github.com/python-control/python-control/pull/889/commits/bc2ddff637169cea8010794cae7b2488ffa16006
409d0c6 testing suggested method by Kreijstal SCLiao47 May 1, 2023 https://github.com/python-control/python-control/pull/889/commits/409d0c62dd7c940d1d5575af229a31fc526e5f90
723ddc8 Implemented and passed nominal test SCLiao47 May 1, 2023 https://github.com/python-control/python-control/pull/889/commits/723ddc88781912e858887cdec93154d8c9e26466
6b51432 Handle integrator, all-pass filters SCLiao47 May 1, 2023 https://github.com/python-control/python-control/pull/889/commits/6b5143236212bf5d9ab4c3fdf82c6299a3e27e55
9f86b41 adjust for PEP8 coding style SCLiao47 May 1, 2023 https://github.com/python-control/python-control/pull/889/commits/9f86b41c21e9d81b93921892f875d5940e9da4c8
28859c2 Merge branch 'feature_bandwidth' of https://github.com/SCLiao47/pytho… SCLiao47 May 1, 2023 https://github.com/python-control/python-control/pull/889/commits/28859c2c8c8f7ef7a20bd7d60f1f23520ad9c79f
a370cdb remove _bandwidth method in lti.py SCLiao47 May 4, 2023 https://github.com/python-control/python-control/pull/889/commits/a370cdb65e7038cae6ffe88f881dba00ff87b7d9
02172b7 resolving format issues in xfrefcn.py SCLiao47 May 7, 2023 https://github.com/python-control/python-control/pull/889/commits/02172b7a2238adc0b4c49bfefdfb475368984d7e
ab68562 add docstring to lti.bandwidth SCLiao47 May 8, 2023 https://github.com/python-control/python-control/pull/889/commits/ab685623a40853d66d2ac617545307e75ef50a80
Clear filters https://github.com/python-control/python-control/pull/889/files
Please reload this pagehttps://github.com/python-control/python-control/pull/889/files
Please reload this pagehttps://github.com/python-control/python-control/pull/889/files
lti.py https://github.com/python-control/python-control/pull/889/files#diff-9eb79d97f0ecfaf506be3bac9ab8573caf6301e9685c8bfa3e91632402fa4e5a
__init__.py https://github.com/python-control/python-control/pull/889/files#diff-e74cb308e7817d51b682e1549f5b876ec2b488ed1704c23d7b5204845553bd35
lti_test.py https://github.com/python-control/python-control/pull/889/files#diff-485af8392823eae5427ee85989fd5a2da1379077477709269159b5b28336abd1
xferfcn.py https://github.com/python-control/python-control/pull/889/files#diff-0dd9424d3024fc1d5cc8fd67d13efe5703318c4c705526ab0ae216de69ce3de7
control/lti.pyhttps://github.com/python-control/python-control/pull/889/files#diff-9eb79d97f0ecfaf506be3bac9ab8573caf6301e9685c8bfa3e91632402fa4e5a
View file https://github.com/SCLiao47/python-control/blob/ab685623a40853d66d2ac617545307e75ef50a80/control/lti.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-control/python-control/pull/889/{{ revealButtonHref }}
https://github.com/python-control/python-control/pull/889/files#diff-9eb79d97f0ecfaf506be3bac9ab8573caf6301e9685c8bfa3e91632402fa4e5a
https://github.com/python-control/python-control/pull/889/files#diff-9eb79d97f0ecfaf506be3bac9ab8573caf6301e9685c8bfa3e91632402fa4e5a
https://github.com/python-control/python-control/pull/889/files#diff-9eb79d97f0ecfaf506be3bac9ab8573caf6301e9685c8bfa3e91632402fa4e5a
https://github.com/python-control/python-control/pull/889/files#diff-9eb79d97f0ecfaf506be3bac9ab8573caf6301e9685c8bfa3e91632402fa4e5a
https://github.com/python-control/python-control/pull/889/files#diff-9eb79d97f0ecfaf506be3bac9ab8573caf6301e9685c8bfa3e91632402fa4e5a
https://github.com/python-control/python-control/pull/889/files#diff-9eb79d97f0ecfaf506be3bac9ab8573caf6301e9685c8bfa3e91632402fa4e5a
control/matlab/__init__.pyhttps://github.com/python-control/python-control/pull/889/files#diff-e74cb308e7817d51b682e1549f5b876ec2b488ed1704c23d7b5204845553bd35
View file https://github.com/SCLiao47/python-control/blob/ab685623a40853d66d2ac617545307e75ef50a80/control/matlab/__init__.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-control/python-control/pull/889/{{ revealButtonHref }}
https://github.com/python-control/python-control/pull/889/files#diff-e74cb308e7817d51b682e1549f5b876ec2b488ed1704c23d7b5204845553bd35
https://github.com/python-control/python-control/pull/889/files#diff-e74cb308e7817d51b682e1549f5b876ec2b488ed1704c23d7b5204845553bd35
control/tests/lti_test.pyhttps://github.com/python-control/python-control/pull/889/files#diff-485af8392823eae5427ee85989fd5a2da1379077477709269159b5b28336abd1
View file https://github.com/SCLiao47/python-control/blob/ab685623a40853d66d2ac617545307e75ef50a80/control/tests/lti_test.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-control/python-control/pull/889/{{ revealButtonHref }}
https://github.com/python-control/python-control/pull/889/files#diff-485af8392823eae5427ee85989fd5a2da1379077477709269159b5b28336abd1
https://github.com/python-control/python-control/pull/889/files#diff-485af8392823eae5427ee85989fd5a2da1379077477709269159b5b28336abd1
https://github.com/python-control/python-control/pull/889/files#diff-485af8392823eae5427ee85989fd5a2da1379077477709269159b5b28336abd1
https://github.com/python-control/python-control/pull/889/files#diff-485af8392823eae5427ee85989fd5a2da1379077477709269159b5b28336abd1
control/xferfcn.pyhttps://github.com/python-control/python-control/pull/889/files#diff-0dd9424d3024fc1d5cc8fd67d13efe5703318c4c705526ab0ae216de69ce3de7
View file https://github.com/SCLiao47/python-control/blob/ab685623a40853d66d2ac617545307e75ef50a80/control/xferfcn.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-control/python-control/pull/889/{{ revealButtonHref }}
https://github.com/python-control/python-control/pull/889/files#diff-0dd9424d3024fc1d5cc8fd67d13efe5703318c4c705526ab0ae216de69ce3de7
https://github.com/python-control/python-control/pull/889/files#diff-0dd9424d3024fc1d5cc8fd67d13efe5703318c4c705526ab0ae216de69ce3de7
https://github.com/python-control/python-control/pull/889/files#diff-0dd9424d3024fc1d5cc8fd67d13efe5703318c4c705526ab0ae216de69ce3de7
https://github.com/python-control/python-control/pull/889/files#diff-0dd9424d3024fc1d5cc8fd67d13efe5703318c4c705526ab0ae216de69ce3de7
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.