Commit cd4bc8a4 authored by Philipp Arras's avatar Philipp Arras
Browse files


parent 000144b1
......@@ -76,7 +76,8 @@ def test_adjointness_wgridding(nxdirty, nydirty, nrow, nchan, epsilon):
dirty = np.random.rand(conf.Nxdirty(), conf.Nydirty())-0.5
dirty2 = ng.vis2dirty_wstack(bl, conf, idx, vis)
vis2 = ng.dirty2vis_wstack(bl, conf, idx, dirty)
assert_allclose(np.vdot(vis, vis2), np.vdot(dirty2, dirty), rtol=epsilon)
assert_allclose(np.vdot(vis, vis2).real, np.vdot(dirty2, dirty),
@pmp("nxdirty", (128,))
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