Commits

Sandra Castro authored and Ville Suoranta committed c69e70bca65 Merge
Pull request #817: Switched usescratch to False in setjy of the VLA stakeholder tests

Merge in CASA/casa6 from CAS-14355 to master * commit '3121514416d80aca0388246feb74103d592f79c4': Switched usescratch to False in setjy, as it was originally in the casaguides. This will allow this test to monitor the use of virtual model column in that CASA code.

casatests/stakeholder/test_stk_vla_users_continuum_from_SDM.py

Modified
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',

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut