nfft icon indicating copy to clipboard operation
nfft copied to clipboard

Interface with Python

Open mdarmstr opened this issue 1 year ago • 4 comments

I would like to develop an interface for this library using Python, using something like the Numpy C API.

mdarmstr avatar Apr 17 '23 10:04 mdarmstr

We would be interested in such a Python interface and it would be nice if you would implement it.

passscoed avatar Apr 17 '23 11:04 passscoed

For an example, you could look at the C interface for Julia (see julia/nfft/libnfftjulia.c).

Furthermore, you might have a look at the two following external projects: There is some existing code for a Python interface of the fastsum class of the NFFT in dominikbuenger/FastAdjacency. Moreover, there is a Python NFFT wrapper pynfft but it was last updated for NFFT 3.3 and I am not sure if that would fit your needs.

michaelquellmalz avatar Apr 17 '23 11:04 michaelquellmalz

Thank you for your suggestions. I'm interested in interfacing with the latest version of the repository, for the sake of long-term stability.

mdarmstr avatar Apr 17 '23 12:04 mdarmstr

I am still interested in continuing this project, but the approach of using Python is not being considered by my place of employment at the moment. Happy to share what I have with anyone wishing to collaborate.

mdarmstr avatar Apr 27 '23 15:04 mdarmstr

There is now a new Python wrapper called pyNFFT3 maintained within this project, see https://github.com/NFFT/pyNFFT3. It currently supports the NFFT, fastsum and the trigonometric transforms NFCT and NFST. So I am closing this one.

michaelquellmalz avatar Aug 16 '24 11:08 michaelquellmalz