Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Simon Perkins
ducc
Commits
43d0315c
Commit
43d0315c
authored
Jun 04, 2020
by
Martin Reinecke
Browse files
nifty_gridder -> wgridder
parent
256acea4
Changes
2
Hide whitespace changes
Inline
Side-by-side
nifty_gridder/nifty_gridder.cc
View file @
43d0315c
...
...
@@ -193,7 +193,7 @@ np.array((nrows, nchan,), dtype=complex of same precision as `dirty`)
void
add_nifty_gridder
(
py
::
module
&
msup
)
{
using
namespace
pybind11
::
literals
;
auto
m
=
msup
.
def_submodule
(
"
nifty_
gridder"
);
auto
m
=
msup
.
def_submodule
(
"
w
gridder"
);
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
,
...
...
nifty_gridder/test/test_gridder.py
View file @
43d0315c
import
ducc_0_1.
nifty_
gridder
as
ng
import
ducc_0_1.
w
gridder
as
ng
import
numpy
as
np
import
pytest
from
numpy.testing
import
assert_
,
assert_allclose
,
assert_array_almost_equal
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment