Title: Zero-phase filtfilt distortion of weighting filter frequency response? · Issue #240 · python-acoustics/python-acoustics · GitHub
Open Graph Title: Zero-phase filtfilt distortion of weighting filter frequency response? · Issue #240 · python-acoustics/python-acoustics
X Title: Zero-phase filtfilt distortion of weighting filter frequency response? · Issue #240 · python-acoustics/python-acoustics
Description: Great library! In signal.weigh there is the zero-phase option that uses scipy.signal.filtfilt. To inspect the frequency response of the zero-phase (forwards-backwards operation) filter Hzp, it is necessary to calculate the frequency resp...
Open Graph Description: Great library! In signal.weigh there is the zero-phase option that uses scipy.signal.filtfilt. To inspect the frequency response of the zero-phase (forwards-backwards operation) filter Hzp, it is n...
X Description: Great library! In signal.weigh there is the zero-phase option that uses scipy.signal.filtfilt. To inspect the frequency response of the zero-phase (forwards-backwards operation) filter Hzp, it is n...
Opengraph URL: https://github.com/python-acoustics/python-acoustics/issues/240
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Zero-phase filtfilt distortion of weighting filter frequency response?","articleBody":"Great library!\r\n\r\nIn `signal.weigh` there is the zero-phase option that uses `scipy.signal.filtfilt`. \r\n\r\nTo inspect the frequency response of the zero-phase (forwards-backwards operation) filter _Hzp_, it is necessary to calculate the frequency response of the forwards filter _H_ (using `scipy.signal.freqz`), and then multiply it by the complex conjugate _H*_. Doing this shows that the forwards-backwards operation (ie applying the filter two times to the signal) distorts the overall frequency response _Hzp_, which in many cases will not give the desired response. In this case, zero-phase operation pushes the filter response outside the relevant IEC acceptance limits.\r\n\r\nTo avoid this distortion it would be necessary to pre-warp the filter frequencies (in a similar way to compensating for bilinear transform distortion), although I'm unaware of any way to determine the appropriate pre-warping analytically for arbitrary filter responses.\r\n","author":{"url":"https://github.com/mlotinga","@type":"Person","name":"mlotinga"},"datePublished":"2020-02-20T11:16:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/240/python-acoustics/issues/240"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:780a96f3-41d2-ab7c-daae-8efff7203eff |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DB74:F6FB9:6A5C1A:9056E8:698E3540 |
| html-safe-nonce | 063f507515a406b469c1325af785b4e4a6a61f335b217711c082cff4d6f8a868 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjc0OkY2RkI5OjZBNUMxQTo5MDU2RTg6Njk4RTM1NDAiLCJ2aXNpdG9yX2lkIjoiMTIwMDk1NDM4NDgwMTc0MDA5NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3d1df49ea78f9106fe30e0e7e29b08782f8c4e38b7905a5bff223465599dd624 |
| hovercard-subject-tag | issue:568227897 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-acoustics/python-acoustics/240/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ca9141c2e2226a3bc4f36cb778c8c6c143d3b31566b06f9b7f8b15c2d0ce69b3/python-acoustics/python-acoustics/issues/240 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ca9141c2e2226a3bc4f36cb778c8c6c143d3b31566b06f9b7f8b15c2d0ce69b3/python-acoustics/python-acoustics/issues/240 |
| og:image:alt | Great library! In signal.weigh there is the zero-phase option that uses scipy.signal.filtfilt. To inspect the frequency response of the zero-phase (forwards-backwards operation) filter Hzp, it is n... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mlotinga |
| hostname | github.com |
| expected-hostname | github.com |
| None | a5632af64f7fed7bff1d6a428d1aca1b94fa7a48f760de2d39d9b1effdbf0082 |
| turbo-cache-control | no-preview |
| go-import | github.com/python-acoustics/python-acoustics git https://github.com/python-acoustics/python-acoustics.git |
| octolytics-dimension-user_id | 3644840 |
| octolytics-dimension-user_login | python-acoustics |
| octolytics-dimension-repository_id | 14710112 |
| octolytics-dimension-repository_nwo | python-acoustics/python-acoustics |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 14710112 |
| octolytics-dimension-repository_network_root_nwo | python-acoustics/python-acoustics |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | df1885ca022c7c5634d3a31e5a91e6a35990d0b7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width