torchkbnufft icon indicating copy to clipboard operation
torchkbnufft copied to clipboard

Usage examples

Open qbit- opened this issue 4 years ago • 4 comments

Thanks for the great effort of bringing NUFFT to Pytorch! The current version of the code is geared towards image analysis, and MRI specifically. As such, it is hard to grasp the meaning of arguments and their names from the examples. It would be great to have a basic 1D example of forward/inverse NUFFT-I/NUFFT-II to broaden user audience

qbit- avatar Jul 05 '21 22:07 qbit-

Great idea - do you have a specific example that might be useful for people executing 1D NUFFTs? If not, I could just throw something elementary together.

mmuckley avatar Jul 06 '21 14:07 mmuckley

I'm experimenting with audio processing, the entire example is pretty complicated to describe it in full. It would be helpful to have something like the examples on the finufft page here: minimal interface and the mathematical description of what it does. By the way, which definition of the NUFFT torchkbnufft supports?

qbit- avatar Jul 26 '21 19:07 qbit-

A good self-contained example would be to reconcile against the PyTorch fft module. E.g. check that interpolated points are close to the exact value computed over a finer grid.

kylematoba avatar Jul 04 '22 12:07 kylematoba

To me this sounds great @kylematoba - just don't have time to implement it right now myself due to other projects... If you open a PR would be happy to consider it!

mmuckley avatar Jul 05 '22 13:07 mmuckley