René's URL Explorer Experiment


Title: Observability Gramian for discrete-time systems · Issue #967 · python-control/python-control · GitHub

Open Graph Title: Observability Gramian for discrete-time systems · Issue #967 · python-control/python-control

X Title: Observability Gramian for discrete-time systems · Issue #967 · python-control/python-control

Description: I noticed in the source code for the gram function that it says only continuous-time systems are supported for now: python-control/control/statefbk.py Lines 1122 to 1127 in 85328d9 # TODO: Check for continuous or discrete, only continuou...

Open Graph Description: I noticed in the source code for the gram function that it says only continuous-time systems are supported for now: python-control/control/statefbk.py Lines 1122 to 1127 in 85328d9 # TODO: Check fo...

X Description: I noticed in the source code for the gram function that it says only continuous-time systems are supported for now: python-control/control/statefbk.py Lines 1122 to 1127 in 85328d9 # TODO: Check fo...

Opengraph URL: https://github.com/python-control/python-control/issues/967

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Observability Gramian for discrete-time systems","articleBody":"I noticed in the source code for the gram function that it says only continuous-time systems are supported for now:\r\n\r\nhttps://github.com/python-control/python-control/blob/85328d9d57e1148c04f1314b27c4ab0fa103d5ce/control/statefbk.py#L1122-L1127\r\n\r\nI checked and it doesn't raise an exception when you pass a discrete time system but I don't think this means it is calculating a gramian for a discrete-time system:\r\n\r\n```\r\nA = [[-0.31,  0.21], [-0.68, -0.57]]\r\nB = [[1.23], [1.42]]\r\nC = [[ 1.32, -0.55]]\r\nD = [[0.]]\r\nsysd = ct.ss(A, B, C, D, dt=1)\r\nassert sysd.isdtime()\r\nWo = ct.gram(sysd, 'o')\r\nprint(Wo)\r\n\r\narray([[ 3.24632551, -0.19876604],\r\n       [-0.19876604,  0.19212128]])\r\n```\r\n\r\nWhat would it take to get it working for discrete time systems?  Is it simply a different call to the same slycot module, sb03md, or is it more involved?\r\n\r\nSince I need it I'd be happy to try implementing it.\r\n\r\n\r\n","author":{"url":"https://github.com/billtubbs","@type":"Person","name":"billtubbs"},"datePublished":"2024-02-08T01:01:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/967/python-control/issues/967"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:ac23a3ba-e502-0873-dc18-c25f233add71
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC7A0:A15F7:D9EB10:11FFB55:697C052B
html-safe-nonce9f41ab42e498f68a25700675eaf9b68aefa35022e7fc2103cfe54a481021f4a1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDN0EwOkExNUY3OkQ5RUIxMDoxMUZGQjU1OjY5N0MwNTJCIiwidmlzaXRvcl9pZCI6IjU5ODU1NjY5MDYyMzUyMjUzODgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacbc42538666381f3c63d7552ce452b659c44113b03b95827fd1710f1664deb70e
hovercard-subject-tagissue:2124176035
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-control/python-control/967/issue_layout
twitter:imagehttps://opengraph.githubassets.com/4df88b5ec366ec2bfdf902d89c556951b919c677328b281df87ce92f44bceccc/python-control/python-control/issues/967
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4df88b5ec366ec2bfdf902d89c556951b919c677328b281df87ce92f44bceccc/python-control/python-control/issues/967
og:image:altI noticed in the source code for the gram function that it says only continuous-time systems are supported for now: python-control/control/statefbk.py Lines 1122 to 1127 in 85328d9 # TODO: Check fo...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebilltubbs
hostnamegithub.com
expected-hostnamegithub.com
Noneda4f0ee56809799586f8ee546b27f94fe9b5893edfbf87732e82be45be013b52
turbo-cache-controlno-preview
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release2d0972e08a3f8dfff1c4bf1f3d026a7d3a209c26
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/python-control/python-control/issues/967#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-control%2Fpython-control%2Fissues%2F967
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://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-control%2Fpython-control%2Fissues%2F967
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python-control%2Fpython-control
Reloadhttps://patch-diff.githubusercontent.com/python-control/python-control/issues/967
Reloadhttps://patch-diff.githubusercontent.com/python-control/python-control/issues/967
Reloadhttps://patch-diff.githubusercontent.com/python-control/python-control/issues/967
python-control https://patch-diff.githubusercontent.com/python-control
python-controlhttps://patch-diff.githubusercontent.com/python-control/python-control
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-control%2Fpython-control
Fork 447 https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-control%2Fpython-control
Star 2k https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-control%2Fpython-control
Code https://patch-diff.githubusercontent.com/python-control/python-control
Issues 87 https://patch-diff.githubusercontent.com/python-control/python-control/issues
Pull requests 8 https://patch-diff.githubusercontent.com/python-control/python-control/pulls
Discussions https://patch-diff.githubusercontent.com/python-control/python-control/discussions
Actions https://patch-diff.githubusercontent.com/python-control/python-control/actions
Projects 0 https://patch-diff.githubusercontent.com/python-control/python-control/projects
Wiki https://patch-diff.githubusercontent.com/python-control/python-control/wiki
Security 0 https://patch-diff.githubusercontent.com/python-control/python-control/security
Insights https://patch-diff.githubusercontent.com/python-control/python-control/pulse
Code https://patch-diff.githubusercontent.com/python-control/python-control
Issues https://patch-diff.githubusercontent.com/python-control/python-control/issues
Pull requests https://patch-diff.githubusercontent.com/python-control/python-control/pulls
Discussions https://patch-diff.githubusercontent.com/python-control/python-control/discussions
Actions https://patch-diff.githubusercontent.com/python-control/python-control/actions
Projects https://patch-diff.githubusercontent.com/python-control/python-control/projects
Wiki https://patch-diff.githubusercontent.com/python-control/python-control/wiki
Security https://patch-diff.githubusercontent.com/python-control/python-control/security
Insights https://patch-diff.githubusercontent.com/python-control/python-control/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/python-control/python-control/issues/967
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/python-control/python-control/issues/967
Observability Gramian for discrete-time systemshttps://patch-diff.githubusercontent.com/python-control/python-control/issues/967#top
https://patch-diff.githubusercontent.com/billtubbs
https://github.com/billtubbs
https://github.com/billtubbs
billtubbshttps://github.com/billtubbs
on Feb 8, 2024https://github.com/python-control/python-control/issues/967#issue-2124176035
python-control/control/statefbk.pyhttps://github.com/python-control/python-control/blob/85328d9d57e1148c04f1314b27c4ab0fa103d5ce/control/statefbk.py#L1122-L1127
85328d9https://patch-diff.githubusercontent.com/python-control/python-control/commit/85328d9d57e1148c04f1314b27c4ab0fa103d5ce
billtubbshttps://patch-diff.githubusercontent.com/billtubbs
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.