Remove extra bracket

pull/2/head
Tammo Jan Dijkema 2020-03-10 16:05:13 +01:00
parent 217bc57793
commit 6376249878
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ def nearfield_imager(visibilities, baseline_indices, freqs, npix_p, npix_q, exte
# v[:,np.newaxis,np.newaxis]*np.exp(-2j*np.pi*freq/c*groundbase_pixels[:,:,:]/c)
# groundbase_pixels=nvis x npix x npix
np.add(img, np.sum(ne.evaluate("(v * exp(j2pi * bl_diff_chunk / lamb)"),axis=0), out=img)
np.add(img, np.sum(ne.evaluate("v * exp(j2pi * bl_diff_chunk / lamb)"),axis=0), out=img)
img /= len(freqs) * len(baseline_indices)
return img