Commits
Sandra Castro authored and Ville Suoranta committed c69e70bca65 Merge
175 175 | print(msg); report.append(msg) |
176 176 | self.assertAlmostEqual(result, expected, delta=tolerance , msg=msg ) |
177 177 | |
178 178 | result, expected, tolerance = np.max(nonzero_ant_array), 0.0045, 0.00001 |
179 179 | msg = f"Expected maximum antenna position correction of {expected}, got {result}, tolerance {tolerance}" |
180 180 | print(msg); report.append(msg) |
181 181 | self.assertAlmostEqual(result, expected, delta=tolerance , msg=msg ) |
182 182 | |
183 183 | |
184 184 | setjy(vis=msname,field='J1331+3030',standard='Perley-Butler 2017', |
185 - | model='3C286_C.im',usescratch=True,scalebychan=True,spw='') |
185 + | model='3C286_C.im',usescratch=False,scalebychan=True,spw='') |
186 186 | |
187 187 | flagdata(vis=msname, |
188 188 | flagbackup=True, mode='manual', antenna='ea05') |
189 189 | |
190 190 | gaincal(vis=msname, caltable='3c391_ctm_mosaic_10s_spw0.G0', |
191 191 | field='J1331+3030', refant='ea21', spw='0:27~36', calmode='p', solint='int', |
192 192 | minsnr=5, gaintable=['3c391_ctm_mosaic_10s_spw0.antpos']) |
193 193 | |
194 194 | gaincal(vis=msname,caltable='3c391_ctm_mosaic_10s_spw0.K0', |
195 195 | field='J1331+3030',refant='ea21',spw='0:5~58',gaintype='K', |