Skip to content
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

dims argument for multidimensional NFFT #116

Open
roflmaostc opened this issue Apr 12, 2023 · 4 comments
Open

dims argument for multidimensional NFFT #116

roflmaostc opened this issue Apr 12, 2023 · 4 comments

Comments

@roflmaostc
Copy link

Hi!

I didn't find a dims kwarg to perform an NFFT along first and second dimension of a 3D array.

Is there any?
Especially on GPUs that's usually faster than doing the for loop manually.

Best,

Felix

@tknopp
Copy link
Member

tknopp commented Apr 12, 2023

https://juliamath.github.io/NFFT.jl/dev/overview/#Directional

It might be that the high level interface has no interface to that though. Right now just available for the CPU.

@roflmaostc
Copy link
Author

Can be dims=(1,2)?

@roflmaostc
Copy link
Author

I'm thinking about the parallel beam CT with a 3D array.
For that the radon could be realized with nfft along dims=(1,2)

@tknopp
Copy link
Member

tknopp commented Apr 12, 2023

yes, just something like dims=(1,3) will not work I think. The mathematics can be found here: https://juliamath.github.io/NFFT.jl/dev/background/#Directional-NFFT

Note, however, that the directional code path is independent of the regular one. It therefore misses some performance optimizations. In case this is of interest for you we might want to polish it a bit. See also #66 for a related discussion where I asked myself if there is an application, where its needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants