Closed razgzy closed 1 year ago
Hello @razgzy, we test numerical precision to exactly match the original NUFFT implementation in the Michigan Image Reconstruction Toolbox, so there is almost certainly no issue with the implementation, but rather a misunderstanding of how the NUFFT works.
In this case, I wouldn't expect data to be the same before and after NUFFT. If you're expecting the noise to be even due to the orthogonality of the FFT and the on-grid samples, then the issue might be that the coordinates are slightly off. You'd want to use -4:3
.
Sorry I misunderstood the interpolation. Thanks a lot for your reply.
Hello @razgzy no worries at all! If you have further questions feel free to open a Q&A Discussion rather than an Issue - we use these to document bugs and things that aren't working with the package.
The omega is given by np.mgrid as on-grid locaiton 2 pi n / N