René's URL Explorer Experiment


Title: minimum_phase method returns a longer input sequence when n is longer than the input · Issue #267 · python-acoustics/python-acoustics · GitHub

Open Graph Title: minimum_phase method returns a longer input sequence when n is longer than the input · Issue #267 · python-acoustics/python-acoustics

X Title: minimum_phase method returns a longer input sequence when n is longer than the input · Issue #267 · python-acoustics/python-acoustics

Description: If I use minimum_phase like this: def next_power_of_2(x): return 1 if x == 0 else 2 ** np.ceil(np.log2(x)).astype('int') n = next_power_of_2 (len(signal)) mpt = minimum_phase(signal, n) Then I get back a size of mpt thats being minimum p...

Open Graph Description: If I use minimum_phase like this: def next_power_of_2(x): return 1 if x == 0 else 2 ** np.ceil(np.log2(x)).astype('int') n = next_power_of_2 (len(signal)) mpt = minimum_phase(signal, n) Then I get ...

X Description: If I use minimum_phase like this: def next_power_of_2(x): return 1 if x == 0 else 2 ** np.ceil(np.log2(x)).astype('int') n = next_power_of_2 (len(signal)) mpt = minimum_phase(signal, n) The...

Opengraph URL: https://github.com/python-acoustics/python-acoustics/issues/267

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"minimum_phase method returns a longer input sequence when n is longer than the input","articleBody":"If I use minimum_phase like this:\r\n\r\n\r\n```\r\ndef next_power_of_2(x):\r\n    return 1 if x == 0 else 2 ** np.ceil(np.log2(x)).astype('int')\r\n    \r\nn = next_power_of_2 (len(signal))\r\nmpt = minimum_phase(signal, n)\r\n```\r\n\r\nThen I get back a size of mpt thats being minimum phase transformed thats the same size as the expanded fft, rather than the original signal length.\r\n\r\nI think something like this would need to be done:\r\n\r\n```\r\nm = np.fft.ifft(np.exp(np.fft.fft(window[:len(x)] * ceps))).real\r\n```\r\n","author":{"url":"https://github.com/7sharp9","@type":"Person","name":"7sharp9"},"datePublished":"2024-01-18T22:52:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/267/python-acoustics/issues/267"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:9a47b562-16f4-766c-5e1d-ca1906f6b228
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC684:5BEB0:838A63:AF5F87:698EDB80
html-safe-nonce6a6491a4a1ab99493aded0955a8f8dde8ba67c5d09b3e59f09e1e177d12528d3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjg0OjVCRUIwOjgzOEE2MzpBRjVGODc6Njk4RURCODAiLCJ2aXNpdG9yX2lkIjoiNTE5OTI3Mzg4MDQ3MzM0MjcyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac9863497d3157a5c86b232892fd5623d64ddd9b3a534a8db062698b9c3d752391
hovercard-subject-tagissue:2089201771
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-acoustics/python-acoustics/267/issue_layout
twitter:imagehttps://opengraph.githubassets.com/e0f423eb55be4e447710f77ecb7997bcb8101682a18de8a42e6e769746b21733/python-acoustics/python-acoustics/issues/267
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e0f423eb55be4e447710f77ecb7997bcb8101682a18de8a42e6e769746b21733/python-acoustics/python-acoustics/issues/267
og:image:altIf I use minimum_phase like this: def next_power_of_2(x): return 1 if x == 0 else 2 ** np.ceil(np.log2(x)).astype('int') n = next_power_of_2 (len(signal)) mpt = minimum_phase(signal, n) Then I get ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:username7sharp9
hostnamegithub.com
expected-hostnamegithub.com
Nonecb2828a801ee6b7be618f3ac76fbf55def35bbc30f053a9c41bf90210b8b72ba
turbo-cache-controlno-preview
go-importgithub.com/python-acoustics/python-acoustics git https://github.com/python-acoustics/python-acoustics.git
octolytics-dimension-user_id3644840
octolytics-dimension-user_loginpython-acoustics
octolytics-dimension-repository_id14710112
octolytics-dimension-repository_nwopython-acoustics/python-acoustics
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id14710112
octolytics-dimension-repository_network_root_nwopython-acoustics/python-acoustics
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
releasee6b91a7e6e46287d26887e3fb7a4161657bab8f7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/python-acoustics/python-acoustics/issues/267#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-acoustics%2Fpython-acoustics%2Fissues%2F267
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-acoustics%2Fpython-acoustics%2Fissues%2F267
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-acoustics%2Fpython-acoustics
Reloadhttps://patch-diff.githubusercontent.com/python-acoustics/python-acoustics/issues/267
Reloadhttps://patch-diff.githubusercontent.com/python-acoustics/python-acoustics/issues/267
Reloadhttps://patch-diff.githubusercontent.com/python-acoustics/python-acoustics/issues/267
python-acoustics https://patch-diff.githubusercontent.com/python-acoustics
python-acousticshttps://patch-diff.githubusercontent.com/python-acoustics/python-acoustics
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-acoustics%2Fpython-acoustics
Fork 151 https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-acoustics%2Fpython-acoustics
Star 553 https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-acoustics%2Fpython-acoustics
Code https://patch-diff.githubusercontent.com/python-acoustics/python-acoustics
Issues 24 https://patch-diff.githubusercontent.com/python-acoustics/python-acoustics/issues
Pull requests 8 https://patch-diff.githubusercontent.com/python-acoustics/python-acoustics/pulls
Actions https://patch-diff.githubusercontent.com/python-acoustics/python-acoustics/actions
Projects 0 https://patch-diff.githubusercontent.com/python-acoustics/python-acoustics/projects
Security 0 https://patch-diff.githubusercontent.com/python-acoustics/python-acoustics/security
Insights https://patch-diff.githubusercontent.com/python-acoustics/python-acoustics/pulse
Code https://patch-diff.githubusercontent.com/python-acoustics/python-acoustics
Issues https://patch-diff.githubusercontent.com/python-acoustics/python-acoustics/issues
Pull requests https://patch-diff.githubusercontent.com/python-acoustics/python-acoustics/pulls
Actions https://patch-diff.githubusercontent.com/python-acoustics/python-acoustics/actions
Projects https://patch-diff.githubusercontent.com/python-acoustics/python-acoustics/projects
Security https://patch-diff.githubusercontent.com/python-acoustics/python-acoustics/security
Insights https://patch-diff.githubusercontent.com/python-acoustics/python-acoustics/pulse
minimum_phase method returns a longer input sequence when n is longer than the inputhttps://patch-diff.githubusercontent.com/python-acoustics/python-acoustics/issues/267#top
https://github.com/7sharp9
https://github.com/7sharp9
7sharp9https://github.com/7sharp9
on Jan 18, 2024https://github.com/python-acoustics/python-acoustics/issues/267#issue-2089201771
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.