René's URL Explorer Experiment


Title: Describing functions by murrayrm · Pull Request #521 · python-control/python-control · GitHub

Open Graph Title: Describing functions by murrayrm · Pull Request #521 · python-control/python-control

X Title: Describing functions by murrayrm · Pull Request #521 · python-control/python-control

Description: This PR adds a basic describing function capability, mainly captured in the new describing_function_plot command. Almost all of the new code is in the descfcn.py file, with a few changes elsewhere to support some of the patterns. There is a Jupyter notebook demonstrating the use of the code. Additional changes: Added a mirror keyword to nyquist_plot that sets the line style used for plotting the complementary portion of the Nyquist plot. This defaults to --, which matches the FBS convention. Added an _isstatic method to the NonlinearIOSystem class that allows passing a nonlinear I/O object as the argument for computing describing functions. Added a __call__ method to the NonlinearIOSystem class that direct calling of a static nonlinear input/output function (returning the value of the function at the given input).

Open Graph Description: This PR adds a basic describing function capability, mainly captured in the new describing_function_plot command. Almost all of the new code is in the descfcn.py file, with a few changes elsewhere...

X Description: This PR adds a basic describing function capability, mainly captured in the new describing_function_plot command. Almost all of the new code is in the descfcn.py file, with a few changes elsewhere...

Opengraph URL: https://github.com/python-control/python-control/pull/521

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:0f8346a8-3f3c-ed9b-648a-387b32c4f9b6
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idADCE:2FF976:28A8DD:38127D:697BBC1C
html-safe-nonce5aa94f7fa38042fb3b79a9a8fa42d9b13b255754fcc9c44688a34187a0121345
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRENFOjJGRjk3NjoyOEE4REQ6MzgxMjdEOjY5N0JCQzFDIiwidmlzaXRvcl9pZCI6IjU0ODY2OTQzNjQ0NzE4Njg0NDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac2bd28fa4b00a5aae8a7cede6dce9bf711adb458d619a630ed99f896cd24b7710
hovercard-subject-tagpull_request:563542946
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/521/files
twitter:imagehttps://avatars.githubusercontent.com/u/293362?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/293362?s=400&v=4
og:image:altThis PR adds a basic describing function capability, mainly captured in the new describing_function_plot command. Almost all of the new code is in the descfcn.py file, with a few changes elsewhere...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneab413746e1b95376981dfec4a04b2384a611b96affe802ee3ee6d752200afbb1
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
releasebea0e0f1995ab0bb7fa336572c353032cf897ec1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-control/python-control/pull/521/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%2F521%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%2F521%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/521/files
Reloadhttps://github.com/python-control/python-control/pull/521/files
Reloadhttps://github.com/python-control/python-control/pull/521/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:masterhttps://github.com/python-control/python-control/tree/master
murrayrm:describing_functionshttps://github.com/murrayrm/python-control/tree/describing_functions
Conversation 45 https://github.com/python-control/python-control/pull/521
Commits 8 https://github.com/python-control/python-control/pull/521/commits
Checks 0 https://github.com/python-control/python-control/pull/521/checks
Files changed https://github.com/python-control/python-control/pull/521/files
Please reload this pagehttps://github.com/python-control/python-control/pull/521/files
Describing functions https://github.com/python-control/python-control/pull/521/files#top
Show all changes 8 commits https://github.com/python-control/python-control/pull/521/files
cda5640 initial implementation of describing function computation murrayrm Jan 25, 2021 https://github.com/python-control/python-control/pull/521/commits/cda5640100e38a14c6aa842c205ddf29e8332653
c85491e add intersection computation + Jupyter notebook, documentation murrayrm Jan 28, 2021 https://github.com/python-control/python-control/pull/521/commits/c85491ebfbb78b830685ba42e4b834f55f14d5af
df43e69 change nltools to descfcn, update docs/ and docstrings murrayrm Jan 28, 2021 https://github.com/python-control/python-control/pull/521/commits/df43e69709c8a3ee503529a5dc243bc08882d227
776a814 add unit tests for exceptions/warnings + cleanup murrayrm Jan 28, 2021 https://github.com/python-control/python-control/pull/521/commits/776a8148ff23c35b6d224b1effa07cc28e25edf1
2ac5d9d make _isstatic internal; updated doc/ for descfcn murrayrm Jan 29, 2021 https://github.com/python-control/python-control/pull/521/commits/2ac5d9df128d924c448101b09f0d37768ca5ad5c
17ed781 address @roryyorke review comments murrayrm Jan 31, 2021 https://github.com/python-control/python-control/pull/521/commits/17ed781721b359b0199dc18e4f39d5725a0ecbd4
b29cedf additional updates based on @roryyorke review feedback murrayrm Jan 31, 2021 https://github.com/python-control/python-control/pull/521/commits/b29cedf1e02c71e48fbc46221e0ecddd1dc5f634
93d97cc small fixes rebasing against master murrayrm Feb 6, 2021 https://github.com/python-control/python-control/pull/521/commits/93d97cc18b224afd60185b67109d5142e7c4c9bc
Clear filters https://github.com/python-control/python-control/pull/521/files
Please reload this pagehttps://github.com/python-control/python-control/pull/521/files
Please reload this pagehttps://github.com/python-control/python-control/pull/521/files
__init__.py https://github.com/python-control/python-control/pull/521/files#diff-a082bea4cb97f2978eb7abd1de48ecde6447923e60eb55409a243b98e1072fa3
descfcn.py https://github.com/python-control/python-control/pull/521/files#diff-f0f5ffb2c67d9936a4896284a27a0b10ccc28b354bfbc7cc187460f1254a073d
freqplot.py https://github.com/python-control/python-control/pull/521/files#diff-a751fe1009e7b656d19357a39abb58dd88b89052c9d9259c3393a4648b697a16
iosys.py https://github.com/python-control/python-control/pull/521/files#diff-12b378d96d36c9d59a9fbc5afbc7cc158d153ff7591b4769f8312772e1d74ed1
descfcn_test.py https://github.com/python-control/python-control/pull/521/files#diff-1cc0c5c77b0e44382caa8c73288fdd176d209c54a54c5b5ef09cb07d68e52e88
control.rst https://github.com/python-control/python-control/pull/521/files#diff-5a8429a2bfd64a7041b2ba651f0f4a0318299c85c8dd095c1150fe7c788ddcb4
descfcn.rst https://github.com/python-control/python-control/pull/521/files#diff-f11755533e4fb085ee0568f9ab40317ebcfff1a0190533d732e951f4a0d08429
describing_functions.ipynb https://github.com/python-control/python-control/pull/521/files#diff-58abd0cb7df2689b0195b59d837f60e9b64bb4b7e1d890297dcb63164a7f6c2f
examples.rst https://github.com/python-control/python-control/pull/521/files#diff-2a75ce1d5fcc083639c4620bb785827882f0224ccb145a58160a42d248bde9e2
index.rst https://github.com/python-control/python-control/pull/521/files#diff-3161f66a61b9ed68303607f1dbdce1c7bdcc69c42f8ea1c2051a07a579ebcf5d
describing_functions.ipynb https://github.com/python-control/python-control/pull/521/files#diff-3e8f04b0f4cb459e4aa21ad8e6e45b2e9f4a03f2ac1c5aff9548e17aa3f2385a
steering.ipynb https://github.com/python-control/python-control/pull/521/files#diff-7d5b3f931d3c9959d8c45163e67d70e7f131922e48e2e2accc07b5971a6908ef
control/__init__.pyhttps://github.com/python-control/python-control/pull/521/files#diff-a082bea4cb97f2978eb7abd1de48ecde6447923e60eb55409a243b98e1072fa3
View file https://github.com/murrayrm/python-control/blob/93d97cc18b224afd60185b67109d5142e7c4c9bc/control/__init__.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-control/python-control/pull/521/{{ revealButtonHref }}
https://github.com/python-control/python-control/pull/521/files#diff-a082bea4cb97f2978eb7abd1de48ecde6447923e60eb55409a243b98e1072fa3
https://github.com/python-control/python-control/pull/521/files#diff-a082bea4cb97f2978eb7abd1de48ecde6447923e60eb55409a243b98e1072fa3
Please reload this pagehttps://github.com/python-control/python-control/pull/521/files
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.