Starting a scikit for NUFFT

Hello, I would like to start a scikit on nufft. I already gather some materials to start my work. Source code here : http://www.cims.nyu.edu/cmcl/nufft/nufft.html References here : [DR] Fast Fourier transforms for nonequispaced data, A. Dutt and V. Rokhlin, SIAM J. Sci. Comput. 14, 1368-1383, 1993. [GL] Accelerating the Nonuniform Fast Fourier Transform, L. Greengard and J.-Y. Lee, SIAM Review 46, 443-454 (2004). I'm not an expert on it. Actually, I do need to perform a nufft, but I would appreciate any comment on the way it should be implemented. Please, provide me with good information on the better way to build a scikit. Thank you very much. David Kremer

On Sun, Jan 30, 2011 at 2:35 AM, David Kremer <david.kremer.dk@gmail.com>wrote:
Hello,
I would like to start a scikit on nufft.
That could actually be much easier than putting it in scipy, like you (at least I assume it was you) recently proposed on both numpy and scipy Trac. A scikit can be GPL, so you could look at the code you link to below, and if it's of reasonable quality just wrap it and be done.
Cheers, Ralf Source code here :

GPL, so you could look at the code you link to below, and if it's of reasonable quality just wrap it and be done. Actually, yes, it was me.
Could you please tell me if there is an example of fortran code being packaged into scipy ? It would help me to work from this example to build the NUFFT library proposed. Thank you very much. David

On Sun, 30 Jan 2011 18:31:34 +0100, David Kremer wrote:
GPL, so you could look at the code you link to below, and if it's of reasonable quality just wrap it and be done. Actually, yes, it was me.
Could you please tell me if there is an example of fortran code being packaged into scipy ? It would help me to work from this example to build the NUFFT library proposed.
These may be helpful: http://projects.scipy.org/scikits/browser/trunk/example For wrapping Fortran code, check e.g. setup.py in the following package: http://pypi.python.org/pypi/scikits.bvp_solver/0.3.0

I would also like to know if you know a good way and a good example to link a C library to scipy. I saw this library is very complete and well documented : http://www-user.tu-chemnitz.de/~potts/nfft/doc.php So I could try to link it to scipy instead of the previous cited fortran library. Thank you for your feedback. Greetings, David Kremer

On Sat, 05 Feb 2011 12:46:03 +0100, David Kremer wrote:
I would also like to know if you know a good way and a good example to link a C library to scipy.
I saw this library is very complete and well documented : http://www-user.tu-chemnitz.de/~potts/nfft/doc.php
Note that also that library is GPL-ed.
So I could try to link it to scipy instead of the previous cited fortran library.
You can still use F2Py, provided the C functions provided by that library are callable from Fortran. Or, you can use Cython. See http://www.cython.org/ for details. -- Pauli Virtanen
participants (3)
-
David Kremer
-
Pauli Virtanen
-
Ralf Gommers