NFFT / nfft

The official NFFT library repository
https://tu-chemnitz.de/~potts/nfft/
GNU General Public License v2.0
174 stars 45 forks source link

Interface with Python #135

Closed mdarmstr closed 1 month ago

mdarmstr commented 1 year ago

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

passscoed commented 1 year ago

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

michaelquellmalz commented 1 year ago

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.

mdarmstr commented 1 year ago

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 commented 1 year ago

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.

michaelquellmalz commented 1 month ago

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.