Python bindings to a subset of the NUFFT algorithm. 1D, 2D, and 3D cases are implemented.
The documentation can be found on ReadTheDocs.
To install, run python setup.py install
. Then, to evaluate a
type-3 FT in 1D, use nufft.nufft1d3
. Assuming that you have a time
series in t
and y
and you want to evaluate it at (angular)
frequencies f
:
import nufft
ft = nufft.nufft1d3(t, y, f)
You can specify your required precision using eps=1e-15
. The
default is 1e-15
.
Python bindings by Dan Foreman-Mackey, Thomas Arildsen, and Marc T. Henry de Frahan but the code that actually does the work is from the Greengard lab at NYU (see the website). The Fortran code is BSD licensed and the Python bindings are MIT licensed.