-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Allow Odd N #36
Comments
I take this as a bug report. Thanks for filing. |
For the record, this is definitely a known limitation and on the tk/multithreading branch I already integrated some checks so that this results in an error rather than a wrong result. The NFFT3 lib has this limitation has well, so we have at least feature parity. The main reason for this limitation is just the fftshift being required. We (and the NFFT3 lib) do this within the apodization matrix which allows us to skip an explicit shift. But I right know don't get the indexing right in my head to actually tackle this. I still keep the issue open, if someone wants to tackle it. |
This was easier than I thought. Now I am happy that we don't lack behind FINUFFT (and ducc0) anymore :-) |
Yay! Looking forward to a version bump so that I can use this elsewhere with an appropriate |
Release is triggered: https://github.com/JuliaMath/NFFT.jl/issues?q=is%3Aissue+is%3Aclosed+sort%3Aupdated-desc |
Does NFFT require that N be even?
I am getting incorrect results in both 1D and 2D when N is odd.
(I earlier thought that there was a bug in 2D compared to 1D but later I realized that I was using even N for testing in 1D and odd N for testing in 2D and when I went back and tried odd N in 1D I got the same errors.)
I can make a MWE example if needed, but if it is a known limitation then it would be best for
NFFTPlan
to report an error for oddN
.The text was updated successfully, but these errors were encountered: