René's URL Explorer Experiment


Title: miso tf2ss fails without slycot · Issue #120 · python-control/python-control · GitHub

Open Graph Title: miso tf2ss fails without slycot · Issue #120 · python-control/python-control

X Title: miso tf2ss fails without slycot · Issue #120 · python-control/python-control

Description: This looks like it is failing to throw the warning to the user about it being miso and not supported without slycot for some reason. tf = control.tf([[[-235, 1.146e4], [-235, 1.146E4], [-235, 1.146E4, 0]]], [[[1, 48.78, 0], [1, 48.78, 0,...

Open Graph Description: This looks like it is failing to throw the warning to the user about it being miso and not supported without slycot for some reason. tf = control.tf([[[-235, 1.146e4], [-235, 1.146E4], [-235, 1.146...

X Description: This looks like it is failing to throw the warning to the user about it being miso and not supported without slycot for some reason. tf = control.tf([[[-235, 1.146e4], [-235, 1.146E4], [-235, 1.146...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"miso tf2ss fails without slycot","articleBody":"This looks like it is failing to throw the warning to the user about it being miso and not supported without slycot for some reason.\r\n\r\n```bash\r\ntf = control.tf([[[-235, 1.146e4],\r\n    [-235, 1.146E4],\r\n    [-235, 1.146E4, 0]]],\r\n    [[[1, 48.78, 0],\r\n      [1, 48.78, 0, 0],\r\n      [0.008, 1.39, 48.78]]])\r\ntf\r\nOut[80]:\r\n\r\nInput 1 to output 1:\r\n-235 s + 1.146e+04\r\n------------------\r\n  s^2 + 48.78 s\r\n\r\nInput 2 to output 1:\r\n-235 s + 1.146e+04\r\n------------------\r\n  s^3 + 48.78 s^2\r\n\r\nInput 3 to output 1:\r\n  -235 s^2 + 1.146e+04 s\r\n--------------------------\r\n0.008 s^2 + 1.39 s + 48.78\r\nIn [81]:\r\n\r\n​\r\ncontrol.tf2ss(tf)\r\n---------------------------------------------------------------------------\r\nImportError                               Traceback (most recent call last)\r\n/home/jgoppert/anaconda3/lib/python3.5/site-packages/control-dev-py3.5.egg/control/statesp.py in _convertToStateSpace(sys, **kw)\r\n    646         try:\r\n--\u003e 647             from slycot import td04ad\r\n    648             if len(kw):\r\n\r\nImportError: No module named 'slycot'\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nValueError                                Traceback (most recent call last)\r\n\u003cipython-input-81-c8ef26438f31\u003e in \u003cmodule\u003e()\r\n      1 \r\n----\u003e 2 control.tf2ss(tf)\r\n\r\n/home/jgoppert/anaconda3/lib/python3.5/site-packages/control-dev-py3.5.egg/control/statesp.py in tf2ss(*args)\r\n   1082             raise TypeError(\"tf2ss(sys): sys must be a TransferFunction \\\r\n   1083 object.\")\r\n-\u003e 1084         return _convertToStateSpace(sys)\r\n   1085     else:\r\n   1086         raise ValueError(\"Needs 1 or 2 arguments; received %i.\" % len(args))\r\n\r\n/home/jgoppert/anaconda3/lib/python3.5/site-packages/control-dev-py3.5.egg/control/statesp.py in _convertToStateSpace(sys, **kw)\r\n    671             # I think this will fail if num and den aren't 1-D after\r\n    672             # the squeeze\r\n--\u003e 673             lti_sys = lti(squeeze(sys.num), squeeze(sys.den))\r\n    674             return StateSpace(lti_sys.A, lti_sys.B, lti_sys.C, lti_sys.D,\r\n    675                               sys.dt)\r\n\r\n/home/jgoppert/anaconda3/lib/python3.5/site-packages/scipy/signal/ltisys.py in __init__(self, *system, **kwargs)\r\n    759         self._den = None\r\n    760 \r\n--\u003e 761         self.num, self.den = normalize(*system)\r\n    762 \r\n    763     def __repr__(self):\r\n\r\n/home/jgoppert/anaconda3/lib/python3.5/site-packages/scipy/signal/filter_design.py in normalize(b, a)\r\n   1084     if len(b.shape) == 1:\r\n   1085         b = asarray([b], b.dtype.char)\r\n-\u003e 1086     while a[0] == 0.0 and len(a) \u003e 1:\r\n   1087         a = a[1:]\r\n   1088     outb = b * (1.0) / a[0]\r\n\r\nValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()\r\n```","author":{"url":"https://github.com/jgoppert","@type":"Person","name":"jgoppert"},"datePublished":"2016-11-14T05:14:09.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/120/python-control/issues/120"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:a8f0e711-335c-0622-2610-826071921eae
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB67A:204B63:2B2F9D5:3A04F4A:697AD8AF
html-safe-nonce1c0ff76b49a93ba6e9f8f681b14f293fc69bda07e9c9ad8fed5bcc286ae58232
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNjdBOjIwNEI2MzoyQjJGOUQ1OjNBMDRGNEE6Njk3QUQ4QUYiLCJ2aXNpdG9yX2lkIjoiNzUyNjIxNDUzMzUzNjA1Mjk1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac285f8316945ae3e66dd800971f9502a3d1d12023b164d4f43037a0a50e57d9da
hovercard-subject-tagissue:189030400
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/120/issue_layout
twitter:imagehttps://opengraph.githubassets.com/cf96b388c7dd534007fb6a678471013f4fe5be801098c62e53632b2ae34b1b4d/python-control/python-control/issues/120
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/cf96b388c7dd534007fb6a678471013f4fe5be801098c62e53632b2ae34b1b4d/python-control/python-control/issues/120
og:image:altThis looks like it is failing to throw the warning to the user about it being miso and not supported without slycot for some reason. tf = control.tf([[[-235, 1.146e4], [-235, 1.146E4], [-235, 1.146...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejgoppert
hostnamegithub.com
expected-hostnamegithub.com
None4af1ba0e68200258a80b0c5ab34f12a78bf48372a377a11e14eb668863c03b3a
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
release353b231ffaec2de44db15b2e82887804ede7c21e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-control/python-control/issues/120#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-control%2Fpython-control%2Fissues%2F120
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%2Fissues%2F120
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%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python-control%2Fpython-control
Reloadhttps://github.com/python-control/python-control/issues/120
Reloadhttps://github.com/python-control/python-control/issues/120
Reloadhttps://github.com/python-control/python-control/issues/120
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
New issuehttps://github.com/login?return_to=https://github.com/python-control/python-control/issues/120
New issuehttps://github.com/login?return_to=https://github.com/python-control/python-control/issues/120
miso tf2ss fails without slycothttps://github.com/python-control/python-control/issues/120#top
https://github.com/murrayrm
bughttps://github.com/python-control/python-control/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/jgoppert
https://github.com/jgoppert
jgopperthttps://github.com/jgoppert
on Nov 14, 2016https://github.com/python-control/python-control/issues/120#issue-189030400
murrayrmhttps://github.com/murrayrm
bughttps://github.com/python-control/python-control/issues?q=state%3Aopen%20label%3A%22bug%22
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.