Replies: 3 comments 1 reply
-
|
Hi @neon5d - the polyphase resampler and channelizer both take the filter as an operator or tensor, so the user provides the filter coefficients. There is no default filter as there is in scipy and similar frameworks. This is partly because MatX does not currently have much support for filter design -- we have some windowing functions, but no firwin(), for example. If you would like to see how scipy generates its default window for resample_poly, then you can check here: One option if you already have window coefficients is to write those coefficients to a file, read those coefficients into your MatX application, and copy them to a filter tensor to pass to the resampler/channelizer. |
Beta Was this translation helpful? Give feedback.
-
|
Thank you for your quick response. |
Beta Was this translation helpful? Give feedback.
-
|
Thank you for the clarification. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am looking at the source code of polyphase _resampler or channelize_poly and their documents. However, I can't figure out how to determine the filter coefficient from the source code. Also, how i can change the filter coefficient. There is only option for the number of the filter taps.
Can you help to clarify them?
Beta Was this translation helpful? Give feedback.
All reactions