Commit 43d0315c authored by Martin Reinecke's avatar Martin Reinecke
Browse files

nifty_gridder -> wgridder

parent 256acea4
Pipeline #76095 passed with stages
in 16 minutes and 33 seconds
...@@ -193,7 +193,7 @@ np.array((nrows, nchan,), dtype=complex of same precision as `dirty`) ...@@ -193,7 +193,7 @@ np.array((nrows, nchan,), dtype=complex of same precision as `dirty`)
void add_nifty_gridder(py::module &msup) void add_nifty_gridder(py::module &msup)
{ {
using namespace pybind11::literals; using namespace pybind11::literals;
auto m = msup.def_submodule("nifty_gridder"); auto m = msup.def_submodule("wgridder");
m.def("ms2dirty", &Pyms2dirty, "uvw"_a, "freq"_a, "ms"_a, m.def("ms2dirty", &Pyms2dirty, "uvw"_a, "freq"_a, "ms"_a,
"wgt"_a=None, "npix_x"_a, "npix_y"_a, "pixsize_x"_a, "pixsize_y"_a, "nu"_a, "nv"_a, "wgt"_a=None, "npix_x"_a, "npix_y"_a, "pixsize_x"_a, "pixsize_y"_a, "nu"_a, "nv"_a,
......
import ducc_0_1.nifty_gridder as ng import ducc_0_1.wgridder as ng
import numpy as np import numpy as np
import pytest import pytest
from numpy.testing import assert_, assert_allclose, assert_array_almost_equal from numpy.testing import assert_, assert_allclose, assert_array_almost_equal
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment