Sum over ghosts or use a diffrent formula for periodic cardinal sinus. #1267
Labels
numerics
Involving details of the numerical algorithms for performing some calculation(s)
optimization/performance
Related to the speed and/or memory consumption of some aspect of the code
Hi, working for the variation of the Quintic kernel #1265 along the line of Gary & Daniel 2014 paper, I mention that the code below in
Interpolant.cpp
implements the following equation of the 2014 paper
But, discussing with Gary, I've mebtioned that in fact the true kernel (aka periodic cardinal sinus)
can be directly approximated by any "sinc" approximated kernel (noted
ker
) with the following generic python code(of course this is not an optimized code)
and then one perform a single convolution (Eq. of 11 in the paper) with the wrapped kernel above
One can reproduce the figure of the paper using such convolution.
Gary says that : "it would be interesting to see numerically how accurate this is. I suppose it’s a speedup of a few since you don’t have to sum over the aliased frequencies any more."
The text was updated successfully, but these errors were encountered: