You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Oh, he took polynomial approximation coefficients from outside.
Since my first goal is understandable and flexible code with pytorch, sinc is not a bad option for now.
In addition, I think that I need more study for jinc for better implementation.
Here is a plot of the generated 1D sinc filter kernel.
Here is a plot of the generated 2D jinc filter kernel.
I'd expect it to look more like a series of rings or ripples, rather than a donut or torus.
The FFT output for randn noise put through the 2D filter doesn't look right either.
Changing
filter_ = 2 * cutoff * window * jinc(2 * cutoff * time)
tofilter_ = 2 * cutoff * window * sinc(2 * cutoff * time)
inkaiser_jinc_filter2d
makes a more familiar kernel.And the FFT output for randn noise put through this 2D filter looks about how I'd expect.
The text was updated successfully, but these errors were encountered: