Commits

Takeshi Nakazato authored 06b05531969
CAS-12407 update reference for pipelineTest_almasd
No tags

gcwrap/python/scripts/regressions/pipelineTest_regression_almasd.py

Modified
171 171 im_rtol={}
172 172 im_atol={}
173 173 im_act={}
174 174
175 175 im_text['pixel'] = "Peak position (pixel)"
176 176 im_goal['pixel'] = (17,27)
177 177 im_atol['pixel'] = ( 1, 1)
178 178 im_rtol['pixel'] = ( 0, 0) # n/a
179 179
180 180 im_text['direction'] = "Peak direction (deg)"
181 - im_goal['direction'] = me.direction( 'J2000', '-174.271746303deg', '15.8228893587deg' )
181 + # update reference due to PIPE-313
182 + # up to r42407
183 + # im_goal['direction'] = me.direction( 'J2000', '-174.271746303deg', '15.8228893587deg' )
184 + # r42408 or later
185 + im_goal['direction'] = me.direction( 'J2000', '-174.27166297deg', '15.8229093587deg' )
182 186 im_atol['direction'] = 0.01/3600.0 # separation angle in deg
183 187 im_rtol['direction'] = 0 # n/a
184 188
185 189 im_text['flux'] = "Integrated Flux (Jy/beam)"
186 - im_goal['flux'] = 0.359638377757
190 + # update reference due to PIPE-313
191 + # up to r42407
192 + # im_goal['flux'] = 0.359638377757
193 + # r42408 or later
194 + im_goal['flux'] = 0.359533426907
187 195 im_atol['flux'] = 1E-8
188 196 im_rtol['flux'] = 1E-5
189 197
190 198 sp_text={}
191 199 sp_goal={}
192 200 sp_rtol={}
193 201 sp_atol={}
194 202 sp_act={}
195 203
196 204 sp_text['channel'] = "Peak channel (ch)"
197 205 sp_goal['channel'] = 2033
198 206 sp_atol['channel'] = 1
199 207 sp_rtol['channel'] = 0 # n/a
200 208
201 209 sp_text['frequency'] = "Peak frequency (GHz)"
202 - sp_goal['frequency'] = 114.687933618 # in GHz
210 + # update reference due to PIPE-313
211 + # up to r42407
212 + # sp_goal['frequency'] = 114.687933618 # in GHz
213 + # r42408 or later
214 + sp_goal['frequency'] = 114.687933607 # in GHz
203 215 sp_atol['frequency'] = 1E-8
204 216 sp_rtol['frequency'] = 0 # n/a
205 217
206 218 sp_text['flux'] = "Peak flux (Jy/beam)"
207 - sp_goal['flux'] = 6.74114826797
219 + # update reference due to PIPE-313
220 + # up to r42407
221 + # sp_goal['flux'] = 6.74114826797
222 + # r42408 or later
223 + sp_goal['flux'] = 6.73362001474
208 224 sp_atol['flux'] = 1E-8
209 225 sp_rtol['flux'] = 1E-5
210 226
211 227 # open ia
212 228 try:
213 229 ia.open( imageitem.imagename )
214 230 print_log( logfile, "Using image \"{}\"".format(imageitem.imagename) )
215 231 except:
216 232 print_log( logfile, "Unable to open image \"{}\"".format(imageitem.imagename) )
217 233 regstate=False

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

Add shortcut