Commits
4107 4107 | |
4108 4108 | ############################################## |
4109 4109 | def test_wterm_squint_awp2(self): |
4110 4110 | """ [wproject] Test_Widefield_wproj : W-Projection with squint using the AWP2 gridder """ |
4111 4111 | self.prepData("vla_wideband_2ptg_w_squint.ms") |
4112 4112 | msname = self.msfile |
4113 4113 | #msname = '/home/heron2/kgolap/TEST/WFIELD/vla_wideband_2ptg_w_squint.ms' |
4114 4114 | |
4115 4115 | |
4116 4116 | tclean(vis=msname, imagename=self.img+'.awp2', imsize=1200, cell='1.6arcsec',field='1', |
4117 - | niter=20, weighting='uniform', stokes="IV", gridder='awp2', wprojplanes=4, |
4117 + | niter=20, weighting='uniform', stokes="IV", gridder='awp2', wprojplanes=2, |
4118 4118 | computepastep=15, pblimit=-0.1, pbcor=True, parallel=self.parallel) |
4119 4119 | ## source peak after pbcor |
4120 - | report=self.th.checkall(imgexist=[self.img+'.awp2.image'],imgval=[(self.img+'.awp2.pb',0.66,[323,858,0,0]),(self.img+'.awp2.image.pbcor',0.75,[323,858,0,0]), (self.img+'.awp2.image.pbcor',0.0,[323,858,1,0]) ] ) |
4120 + | report=self.th.checkall(imgexist=[self.img+'.awp2.image'],imgval=[(self.img+'.awp2.pb',0.654,[323,858,0,0]),(self.img+'.awp2.image.pbcor',0.70,[323,858,0,0]), (self.img+'.awp2.image.pbcor',-0.01,[323,858,1,0]) ] ) |
4121 + | print(report) |
4121 4122 | self.assertTrue(self.check_final(report)) |
4122 4123 | |
4123 4124 | ############################################## |
4124 4125 | ##Task level tests : awproject and mosaics |
4125 4126 | class test_widefield(testref_base): |
4126 4127 | def test_widefield_aproj_mfs(self): |
4127 4128 | """ [widefield] Test_Widefield_aproj : MFS with narrowband AWProjection (wbawp=F, 1spw) stokes I """ |
4128 4129 | # casalog.post("EMPTY TEST") |
4129 4130 | # return |
4130 4131 | |