Commit f009cc0c authored by Martin Reinecke's avatar Martin Reinecke
Browse files

no more need to flip visibilities on the user side

parent e7c63d23
......@@ -65,11 +65,6 @@ wgt = np.repeat(wgt[:, None], len(freq), axis=1)
# FLAGGED -> WGT=0
wgt[flags] = 0
# flip visibilities with w<0
mask = uvw[:, 2] < 0
uvw[mask] *= -1
vis = np.conj(vis)*mask.reshape(-1, 1) + vis*(1-mask.reshape(-1, 1))
npixdirty = 756
DEG2RAD = np.pi/180
pixsize = 2.3/npixdirty*DEG2RAD
......
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