Commit 2814815d authored by Martin Reinecke's avatar Martin Reinecke
Browse files

nastier adjointness tests

parent d8b05551
Pipeline #80834 passed with stages
in 16 minutes and 5 seconds
......@@ -103,7 +103,7 @@ def test_adjointness_ms2dirty(nxdirty, nydirty, ofactor, nrow, nchan, epsilon,
dirty2 = ng.ms2dirty(uvw, freq, ms, wgt, nxdirty, nydirty, pixsizex,
pixsizey, nu, nv, epsilon, wstacking, nthreads, 0).astype("f8")
ms2 = ng.dirty2ms(uvw, freq, dirty, wgt, pixsizex, pixsizey, nu, nv, epsilon,
wstacking, nthreads, 0).astype("c16")
wstacking, nthreads+1, 0).astype("c16")
ref = max(my_vdot(ms,ms).real, my_vdot(ms2,ms2).real,
my_vdot(dirty, dirty).real, my_vdot(dirty2, dirty2).real)
tol = 1e-5*ref if singleprec else 1e-11*ref
......
Supports Markdown
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