| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:6b119d80-eea0-1ce4-217a-5e838a657773 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A2B8:DEBC:2360F5:31793B:697B3F98 |
| html-safe-nonce | 397f53f0b90bc552e9c396ee5fb9032b1671fc7b0a021bfa4a00538b343b24ee |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMkI4OkRFQkM6MjM2MEY1OjMxNzkzQjo2OTdCM0Y5OCIsInZpc2l0b3JfaWQiOiIyMTY5NTAwNzk0NTkwMjgxNjI0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | baaa05abdc0e9f2dba561783f456c690e606c87169c873cd39c33f05e35ccafc |
| hovercard-subject-tag | pull_request:286428220 |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python-control/python-control/pull/307/files |
| twitter:image | https://avatars.githubusercontent.com/u/7958850?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/7958850?s=400&v=4 |
| og:image:alt | Made various edits to all the example scripts including:
Replaced Python 2.7 print statements with print(...)
Removed MATLAB-like formatting such as semi-colons
Changed indenting and syntax to be ... |
| 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 |
| Skip to content | https://github.com/python-control/python-control/pull/307/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%2F307%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2F307%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 |
| Reload | https://github.com/python-control/python-control/pull/307/files |
| Reload | https://github.com/python-control/python-control/pull/307/files |
| Reload | https://github.com/python-control/python-control/pull/307/files |
|
python-control
| https://github.com/python-control |
| python-control | https://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 service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython-control%2Fpython-control%2Fissues%2Fnew%2Fchoose |
| murrayrm | https://github.com/murrayrm |
| python-control:master | https://github.com/python-control/python-control/tree/master |
|
Conversation
19
| https://github.com/python-control/python-control/pull/307 |
|
Commits
12
| https://github.com/python-control/python-control/pull/307/commits |
|
Checks
0
| https://github.com/python-control/python-control/pull/307/checks |
|
Files changed
| https://github.com/python-control/python-control/pull/307/files |
| Please reload this page | https://github.com/python-control/python-control/pull/307/files |
|
Updated examples to be PEP compliant
| https://github.com/python-control/python-control/pull/307/files#top |
|
Show all changes
12 commits
| https://github.com/python-control/python-control/pull/307/files |
|
1f2a252
Updated for Python 3
billtubbs May 19, 2019
| https://github.com/python-control/python-control/pull/307/commits/1f2a2520479b0509ac8bb60af13f4bd677d973a8 |
|
bac4d87
Updated for Python 3
billtubbs May 19, 2019
| https://github.com/python-control/python-control/pull/307/commits/bac4d87cf0883ef0740195fa99fde891fd47bfb2 |
|
fa31119
Tested in Python 3.7
billtubbs Jun 8, 2019
| https://github.com/python-control/python-control/pull/307/commits/fa311193ed2b44c6cd2501daa066e11ffb11491e |
|
0d3a656
Edited to comply with Python PEPs
billtubbs Jun 8, 2019
| https://github.com/python-control/python-control/pull/307/commits/0d3a65604ad4071c0e4acbae82f391bb89907762 |
|
7e70e8a
Removed spacing around `*` and `/` operators for consistency and as p…
billtubbs Jun 8, 2019
| https://github.com/python-control/python-control/pull/307/commits/7e70e8a06766ee93b95cf53700bf2eb0869225e7 |
|
ebc5137
Refactored name 'ord' which conflicts with built-in.
billtubbs Jun 8, 2019
| https://github.com/python-control/python-control/pull/307/commits/ebc5137d22525ed61396366b02d45bf2629aa3b4 |
|
fddbf0f
Reformatted comments
billtubbs Jun 8, 2019
| https://github.com/python-control/python-control/pull/307/commits/fddbf0fd8c1058f2b872bebc36c1ae12fcb69999 |
|
1555a5b
Reversed previous mistaken edit.
billtubbs Jun 8, 2019
| https://github.com/python-control/python-control/pull/307/commits/1555a5bf81b79b99b36a339bac61684e4048104f |
|
ddad0a7
Removed tab characters
billtubbs Jun 8, 2019
| https://github.com/python-control/python-control/pull/307/commits/ddad0a7e244600f33477732ea75fa6c17a84c420 |
|
51a772b
Replaced np.matrix with np.array objects
billtubbs Jun 8, 2019
| https://github.com/python-control/python-control/pull/307/commits/51a772bfb802db633610c6206b12f1e3c1323a51 |
|
0df099f
Replaced np.matrix with np.array objects
billtubbs Jun 8, 2019
| https://github.com/python-control/python-control/pull/307/commits/0df099f84fd8d2c4fd0cd52b8545d7b7c7db2090 |
|
5648440
Reverted previous mistaken edit
billtubbs Jun 8, 2019
| https://github.com/python-control/python-control/pull/307/commits/5648440c4c33acc23225f792146d8a98ffc37523 |
|
Clear filters
| https://github.com/python-control/python-control/pull/307/files |
| Please reload this page | https://github.com/python-control/python-control/pull/307/files |
| Please reload this page | https://github.com/python-control/python-control/pull/307/files |
|
bdalg-matlab.py
| https://github.com/python-control/python-control/pull/307/files#diff-e3346d99d5d5d6910c6d91440d970b629c820b7be1fccbf5dc715c2d4952ade8 |
|
bode-and-nyquist-plots.ipynb
| https://github.com/python-control/python-control/pull/307/files#diff-31cbda98ebac94ab47f88251f8dc1c78bcc108b3dcc81a6b548d741199f842a9 |
|
check-controllability-and-observability.py
| https://github.com/python-control/python-control/pull/307/files#diff-570ff81fd64a0b9912a4d15ad9679c8e62edfc99c57a70f722a18341dfebc3a8 |
|
genswitch.py
| https://github.com/python-control/python-control/pull/307/files#diff-890049addef7a93f45135f5bb70e1e2406e84ccf3667104498367ca2d3b7f7c5 |
|
phaseplots.py
| https://github.com/python-control/python-control/pull/307/files#diff-db5e99551ffc480c2013a4c48a4f0f091f309095e730bad295559621d1a2af96 |
|
pvtol-lqr-nested.ipynb
| https://github.com/python-control/python-control/pull/307/files#diff-93f7e6bf896b53bdd87fdda5cb2e154884af3feb21df55861c69977982753f42 |
|
pvtol-lqr.py
| https://github.com/python-control/python-control/pull/307/files#diff-8f136df8d7cb99501b64fb410a7ba3f6879916721a428d13e832f50e74d9ee50 |
|
pvtol-nested-ss.py
| https://github.com/python-control/python-control/pull/307/files#diff-11fcb8c540837ac35b71705fe684c280a80daa1869c5de7329b5a2b16838573b |
|
pvtol-nested.py
| https://github.com/python-control/python-control/pull/307/files#diff-55bfc27c487190ed179e75f929514449bdd575d21e264a77be5c618104539d8c |
|
robust_mimo.py
| https://github.com/python-control/python-control/pull/307/files#diff-0357cd6cab354d3b1231f9ecd27e0e65d4700902f73e74498743bddaa6977721 |
|
robust_siso.py
| https://github.com/python-control/python-control/pull/307/files#diff-9d736b822a201a8e3d55b3c83cdfba22005eaf64b731eb33f497e53577b2d03a |
|
rss-balred.py
| https://github.com/python-control/python-control/pull/307/files#diff-7f53f8146877cf91b6cff0f1a14e7dd28e485095d641b87a4dfe3ee64a1962a3 |
|
secord-matlab.py
| https://github.com/python-control/python-control/pull/307/files#diff-da68222d62800ca64acc4b59378e87583758cd9fe236274438f4f4dae344c9ff |
|
slycot-import-test.py
| https://github.com/python-control/python-control/pull/307/files#diff-ffd767a5fb3fd08cd97e84881c83e55aab5ecfdc1ff3ce5b4cfe816ac7b47d2d |
|
test-response.py
| https://github.com/python-control/python-control/pull/307/files#diff-ac6e3849726de6dcb1d86f8453e2b5d8ba3d921b50acdfb6c38a2d71df5453a3 |
|
tfvis.py
| https://github.com/python-control/python-control/pull/307/files#diff-f096dfe25bc46bc7a9874ef4f7006aebf6370dca87b56996acb6188b5469d41d |
|
type2_type3.py
| https://github.com/python-control/python-control/pull/307/files#diff-3c7717862ec8f7abb8b21a6f6e564d40b1c85f5254a5a16b85ac1e1ab30c2dd9 |
| examples/bdalg-matlab.py | https://github.com/python-control/python-control/pull/307/files#diff-e3346d99d5d5d6910c6d91440d970b629c820b7be1fccbf5dc715c2d4952ade8 |
|
View file
| https://github.com/python-control/python-control/blob/5648440c4c33acc23225f792146d8a98ffc37523/examples/bdalg-matlab.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python-control/python-control/pull/307/{{ revealButtonHref }} |
|
| https://github.com/python-control/python-control/pull/307/files#diff-e3346d99d5d5d6910c6d91440d970b629c820b7be1fccbf5dc715c2d4952ade8 |
| examples/bode-and-nyquist-plots.ipynb | https://github.com/python-control/python-control/pull/307/files#diff-31cbda98ebac94ab47f88251f8dc1c78bcc108b3dcc81a6b548d741199f842a9 |
|
View file
| https://github.com/python-control/python-control/blob/5648440c4c33acc23225f792146d8a98ffc37523/examples/bode-and-nyquist-plots.ipynb |
|
Open in desktop
| https://desktop.github.com |
| Please reload this page | https://github.com/python-control/python-control/pull/307/files |
| examples/check-controllability-and-observability.py | https://github.com/python-control/python-control/pull/307/files#diff-570ff81fd64a0b9912a4d15ad9679c8e62edfc99c57a70f722a18341dfebc3a8 |
|
View file
| https://github.com/python-control/python-control/blob/5648440c4c33acc23225f792146d8a98ffc37523/examples/check-controllability-and-observability.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python-control/python-control/pull/307/{{ revealButtonHref }} |
|
| https://github.com/python-control/python-control/pull/307/files#diff-570ff81fd64a0b9912a4d15ad9679c8e62edfc99c57a70f722a18341dfebc3a8 |
|
| https://github.com/python-control/python-control/pull/307/files#diff-570ff81fd64a0b9912a4d15ad9679c8e62edfc99c57a70f722a18341dfebc3a8 |
| examples/genswitch.py | https://github.com/python-control/python-control/pull/307/files#diff-890049addef7a93f45135f5bb70e1e2406e84ccf3667104498367ca2d3b7f7c5 |
|
View file
| https://github.com/python-control/python-control/blob/5648440c4c33acc23225f792146d8a98ffc37523/examples/genswitch.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python-control/python-control/pull/307/{{ revealButtonHref }} |
|
| https://github.com/python-control/python-control/pull/307/files#diff-890049addef7a93f45135f5bb70e1e2406e84ccf3667104498367ca2d3b7f7c5 |
| Please reload this page | https://github.com/python-control/python-control/pull/307/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |