Commit 9b17aae0 authored by Martin Reinecke's avatar Martin Reinecke
Browse files


parent fd55bdb5
......@@ -374,7 +374,7 @@ def test_wgridder_against_wdft(nxdirty, nydirty, nchan, nrow, fov, epsilon):
ms = np.random.rand(nrow, nchan)-0.5 + 1j*(np.random.rand(nrow, nchan)-0.5)
vis = bl.ms2vis(ms, idx)
uvw = bl.effectiveuvw(idx)
res0 = ng.vis2dirty_wstack(bl, conf, idx, vis)
res0 = ng.vis2dirty(bl, conf, idx, vis, do_wstacking=True)
res1 = _dft(uvw, vis, conf, True)
assert_(_l2error(res0, res1) < epsilon)
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