Changeset 37036 for trunk/Ohana/src/addstar/test/simple.dvo
- Timestamp:
- Jul 17, 2014, 10:11:42 AM (12 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/addstar/test/simple.dvo (modified) (12 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/addstar/test/simple.dvo
r35263 r37036 7 7 test.fields PS1_DEV_0 PS1_V1 8 8 test.fields PS1_DEV_1 PS1_V1 9 test.fields PS1_V1 PS1_V110 test.fields PS1_V2 PS1_V111 test.fields PS1_V3 PS1_V112 test.fields PS1_V4 PS1_V19 test.fields PS1_V1 PS1_V1 10 test.fields PS1_V2 PS1_V1 11 test.fields PS1_V3 PS1_V1 12 test.fields PS1_V4 PS1_V1 13 13 14 14 test.fields PS1_DEV_0 PS1_V2 15 15 test.fields PS1_DEV_1 PS1_V2 16 test.fields PS1_V1 PS1_V217 test.fields PS1_V2 PS1_V218 test.fields PS1_V3 PS1_V219 test.fields PS1_V4 PS1_V416 test.fields PS1_V1 PS1_V2 17 test.fields PS1_V2 PS1_V2 18 test.fields PS1_V3 PS1_V2 19 test.fields PS1_V4 PS1_V4 20 20 21 21 test.fields PS1_DEV_0 PS1_V3 22 22 test.fields PS1_DEV_1 PS1_V3 23 test.fields PS1_V1 PS1_V324 test.fields PS1_V2 PS1_V325 test.fields PS1_V3 PS1_V326 test.fields PS1_V4 PS1_V423 test.fields PS1_V1 PS1_V3 24 test.fields PS1_V2 PS1_V3 25 test.fields PS1_V3 PS1_V3 26 test.fields PS1_V4 PS1_V4 27 27 28 28 test.fields PS1_DEV_0 PS1_V4 29 29 test.fields PS1_DEV_1 PS1_V4 30 test.fields PS1_V1 PS1_V431 test.fields PS1_V2 PS1_V432 test.fields PS1_V3 PS1_V433 test.fields PS1_V4 PS1_V430 test.fields PS1_V1 PS1_V4 31 test.fields PS1_V2 PS1_V4 32 test.fields PS1_V3 PS1_V4 33 test.fields PS1_V4 PS1_V4 34 34 end 35 36 if (not($?NO_NOISE)) 37 $NO_NOISE = "" 38 end 35 39 36 40 # create a populated catdir with a single cmf -- test each field … … 50 54 51 55 mkinput 52 exec mkcmf test.in.txt test.cmf -date 2008/1/1 -time 01:00:00 -radec $RA $DEC -type $1 56 echo mkcmf test.in.txt test.cmf -date 2008/1/1 -time 01:00:00 -radec $RA $DEC -type $1 $NO_NOISE 57 exec mkcmf test.in.txt test.cmf -date 2008/1/1 -time 01:00:00 -radec $RA $DEC -type $1 $NO_NOISE 53 58 if ($TAP_VERBOSE) 54 59 echo exec addstar -D CATDIR catdir.test -D CAMERA simtest test.cmf -D CATFORMAT $2 -quick-airmass 55 60 exec addstar -D CATDIR catdir.test -D CAMERA simtest test.cmf -D CATFORMAT $2 -quick-airmass 56 61 else 62 echo addstar -D CATDIR catdir.test -D CAMERA simtest test.cmf -D CATFORMAT $2 -quick-airmass 57 63 exec addstar -D CATDIR catdir.test -D CAMERA simtest test.cmf -D CATFORMAT $2 -quick-airmass >& tmp.log 58 64 end … … 112 118 113 119 # some fields require arithmetic manipulations 114 if ("$name:0" == "KRON_FLUX") 115 set v1 = -2.5*log(v1) 116 end 117 if ("$name:0" == "KRON_FLUX_ERR") 118 set v1 = KRON_FLUX_ERR / KRON_FLUX 120 ## if ("$name:0" == "KRON_FLUX") 121 ## set v1 = -2.5*log(v1) 122 ## end 123 ## if ("$name:0" == "KRON_FLUX_ERR") 124 ## set v1 = KRON_FLUX_ERR / KRON_FLUX 125 ## end 126 if (("$name:0" == "X_PSF_SIG") || ("$name:0" == "Y_PSF_SIG")) 127 set v1 = int(100*(v1)) 128 set v2 = int(100*(v2 + 0.0001)) 129 end 130 if ("$name:0" == "POSANGLE") 131 set v1 = int((0xffff/360.0)*(v1)) 132 set v2 = int((0xffff/360.0)*(v2 + 0.0028)) 119 133 end 120 134 … … 206 220 # this list is good for PS1_V1 207 221 list testfields_PS1_V1 208 IPP_IDET : detid 209 X_PSF : xccd 210 Y_PSF : yccd 222 IPP_IDET : detid 223 X_PSF : xccd 224 Y_PSF : yccd 211 225 X_PSF_SIG : xccd:err # FAIL 212 226 Y_PSF_SIG : yccd:err # FAIL … … 215 229 POSANGLE : SKIP # astrometry is not calibrated in the cmf 216 230 PLTSCALE : SKIP # astrometry is not calibrated in the cmf 217 PSF_INST_MAG : mag:inst 218 PSF_INST_MAG_SIG : mag:err 231 PSF_INST_MAG : mag:inst 232 PSF_INST_MAG_SIG : mag:err 219 233 AP_MAG_STANDARD : mag:ap # FAIL 220 234 AP_MAG_RADIUS : SKIP # no accessor … … 222 236 CAL_PSF_MAG : SKIP # photometry is not calibrated in the cmf 223 237 CAL_PSF_MAG_SIG : SKIP # photometry is not calibrated in the cmf 224 SKY : sky 225 SKY_SIG : sky_err 226 PSF_CHISQ : psf_chisq 227 CR_NSIGMA : cr_nsigma 238 SKY : sky 239 SKY_SIG : sky_err 240 PSF_CHISQ : psf_chisq 241 CR_NSIGMA : cr_nsigma 228 242 EXT_NSIGMA : ext_nsigma 229 PSF_MAJOR : FWHM_MAJ 230 PSF_MINOR : FWHM_MIN 243 PSF_MAJOR : FWHM_MAJ 244 PSF_MINOR : FWHM_MIN 231 245 PSF_THETA : THETA # FAIL 232 PSF_QF : PSF_QF 246 PSF_QF : PSF_QF 233 247 PSF_NDOF : SKIP # no accessor 234 248 PSF_NPIX : SKIP # no accessor … … 237 251 MOMENTS_YY : SKIP # no accessor 238 252 FLAGS : phot_flags 239 N_FRAMES : SKIP # no accessor 253 N_FRAMES : SKIP # no accessor 240 254 end 241 255 242 256 # this list is good for PS1_V2 243 257 list testfields_PS1_V2 244 IPP_IDET : detid 245 X_PSF : xccd 246 Y_PSF : yccd 258 IPP_IDET : detid 259 X_PSF : xccd 260 Y_PSF : yccd 247 261 X_PSF_SIG : xccd:err # FAIL 248 262 Y_PSF_SIG : yccd:err # FAIL … … 251 265 POSANGLE : SKIP # astrometry is not calibrated in the cmf 252 266 PLTSCALE : SKIP # astrometry is not calibrated in the cmf 253 PSF_INST_MAG : mag:inst 254 PSF_INST_MAG_SIG : mag:err 267 PSF_INST_MAG : mag:inst 268 PSF_INST_MAG_SIG : mag:err 255 269 AP_MAG_STANDARD : mag:ap # FAIL 256 270 AP_MAG_RADIUS : SKIP # no accessor … … 258 272 CAL_PSF_MAG : SKIP # photometry is not calibrated in the cmf 259 273 CAL_PSF_MAG_SIG : SKIP # photometry is not calibrated in the cmf 260 SKY : sky 261 SKY_SIG : sky_err 262 PSF_CHISQ : psf_chisq 263 CR_NSIGMA : cr_nsigma 274 SKY : sky 275 SKY_SIG : sky_err 276 PSF_CHISQ : psf_chisq 277 CR_NSIGMA : cr_nsigma 264 278 EXT_NSIGMA : ext_nsigma 265 PSF_MAJOR : FWHM_MAJ 266 PSF_MINOR : FWHM_MIN 279 PSF_MAJOR : FWHM_MAJ 280 PSF_MINOR : FWHM_MIN 267 281 PSF_THETA : THETA # FAIL 268 PSF_QF : PSF_QF 282 PSF_QF : PSF_QF 269 283 PSF_NDOF : SKIP # no accessor 270 284 PSF_NPIX : SKIP # no accessor … … 273 287 MOMENTS_YY : SKIP # no accessor 274 288 FLAGS : phot_flags 275 N_FRAMES : SKIP # no accessor 289 N_FRAMES : SKIP # no accessor 276 290 end 277 291 278 292 # this list is good for PS1_V3 279 293 list testfields_PS1_V3 280 IPP_IDET : detid 281 X_PSF : xccd 282 Y_PSF : yccd 294 IPP_IDET : detid 295 X_PSF : xccd 296 Y_PSF : yccd 283 297 X_PSF_SIG : xccd:err # FAIL 284 298 Y_PSF_SIG : yccd:err # FAIL 285 299 POSANGLE : SKIP # astrometry is not calibrated in the cmf 286 300 PLTSCALE : SKIP # astrometry is not calibrated in the cmf 287 PSF_INST_MAG : mag:inst 288 PSF_INST_MAG_SIG : mag:err 301 PSF_INST_MAG : mag:inst 302 PSF_INST_MAG_SIG : mag:err 289 303 PSF_INST_FLUX : SKIP # not ingested into DVO 290 304 PSF_INST_FLUX_SIG : SKIP # not ingested into DVO … … 297 311 DEC_PSF : SKIP # astrometry is not calibrated in the cmf 298 312 PEAK_FLUX_AS_MAG : SKIP # not ingested into DVO 299 SKY : sky 300 SKY_SIG : sky_err 301 PSF_CHISQ : psf_chisq 302 CR_NSIGMA : cr_nsigma 313 SKY : sky 314 SKY_SIG : sky_err 315 PSF_CHISQ : psf_chisq 316 CR_NSIGMA : cr_nsigma 303 317 EXT_NSIGMA : ext_nsigma 304 PSF_MAJOR : FWHM_MAJ 305 PSF_MINOR : FWHM_MIN 318 PSF_MAJOR : FWHM_MAJ 319 PSF_MINOR : FWHM_MIN 306 320 PSF_THETA : THETA # FAIL 307 PSF_QF : PSF_QF 321 PSF_QF : PSF_QF 308 322 PSF_QF_PERFECT : SKIP # not ingested into DVO 309 323 PSF_NDOF : PSF_NDOF … … 326 340 end 327 341 328 # this list is good for PS1_V 4329 list testfields_PS1_V 4330 IPP_IDET : detid 331 X_PSF : xccd 332 Y_PSF : yccd 333 X_PSF_SIG : xccd:err # FAIL334 Y_PSF_SIG : yccd:err # FAIL335 POSANGLE : SKIP # astrometry is not calibrated in the cmf336 PLTSCALE : SKIP # astrometry is not calibrated in the cmf337 PSF_INST_MAG : mag:inst 338 PSF_INST_MAG_SIG : mag:err 339 PSF_INST_FLUX : SKIP # not ingested into DVO340 PSF_INST_FLUX_SIG : SKIP # not ingested into DVO341 AP_MAG : mag:aper inst # FAIL342 # this list is good for PS1_V5 343 list testfields_PS1_V5 344 IPP_IDET : detid 345 X_PSF : xccd 346 Y_PSF : yccd 347 X_PSF_SIG : xccd:err 348 Y_PSF_SIG : yccd:err 349 POSANGLE : posangle 350 PLTSCALE : platescale 351 PSF_INST_MAG : mag:inst 352 PSF_INST_MAG_SIG : mag:err 353 PSF_INST_FLUX : flux:inst 354 PSF_INST_FLUX_SIG : flux:inst:err 355 AP_MAG : mag:aper:inst 342 356 AP_MAG_RAW : SKIP # not ingested into DVO 343 357 AP_MAG_RADIUS : SKIP # not ingested into DVO 344 CAL_PSF_MAG : SKIP # photometry is not calibrated in the cmf 345 CAL_PSF_MAG_SIG : SKIP # photometry is not calibrated in the cmf 346 RA_PSF : SKIP # astrometry is not calibrated in the cmf 347 DEC_PSF : SKIP # astrometry is not calibrated in the cmf 348 PEAK_FLUX_AS_MAG : SKIP # not ingested into DVO 349 SKY : sky 350 SKY_SIGMA : sky_err 351 PSF_CHISQ : psf_chisq 352 CR_NSIGMA : cr_nsigma 353 EXT_NSIGMA : ext_nsigma 354 PSF_MAJOR : FWHM_MAJ 355 PSF_MINOR : FWHM_MIN 356 PSF_THETA : THETA # FAIL 357 PSF_QF : PSF_QF 358 PSF_QF_PERFECT : SKIP # not ingested into DVO 359 PSF_NDOF : PSF_NDOF 360 PSF_NPIX : PSF_NPIX 361 MOMENTS_XX : MXX 362 MOMENTS_XY : MXY 363 MOMENTS_YY : MYY 364 MOMENTS_M3C : SKIP # not ingested into DVO 365 MOMENTS_M3S : SKIP # not ingested into DVO 366 MOMENTS_M4C : SKIP # not ingested into DVO 367 MOMENTS_M4S : SKIP # not ingested into DVO 368 MOMENTS_R1 : SKIP # not ingested into DVO 369 MOMENTS_RH : SKIP # not ingested into DVO 370 KRON_FLUX : mag:kroninst 371 KRON_FLUX_ERR : mag:kronerr 372 KRON_FLUX_INNER : SKIP # not ingested into DVO 373 KRON_FLUX_OUTER : SKIP # not ingested into DVO 374 FLAGS : phot_flags 375 N_FRAMES : SKIP # not ingested into DVO 376 end 358 AP_FLUX : flux:aper:inst 359 AP_FLUX_SIG : flux:aper:inst:err 360 CAL_PSF_MAG : mag:cal 361 CAL_PSF_MAG_SIG : mag:cal:err 362 RA_PSF : ra 363 DEC_PSF : dec 364 AP_NPIX : SKIP # not ingested into DVO 365 PEAK_FLUX_AS_MAG : SKIP # not ingested into DVO 366 SKY : sky 367 SKY_SIGMA : sky_err 368 PSF_CHISQ : psf_chisq 369 CR_NSIGMA : cr_nsigma 370 EXT_NSIGMA : ext_nsigma 371 PSF_MAJOR : fwhm_maj # XXX technically, this is not FWHM but Sigma 372 PSF_MINOR : fwhm_min # XXX technically, this is not FWHM but Sigma 373 PSF_THETA : theta # FAIL 374 PSF_CORE : SKIP # not ingested into DVO 375 PSF_FWHM_MAJ : SKIP # not ingested into DVO 376 PSF_FWHM_MIN : SKIP # not ingested into DVO 377 PSF_QF : psf_qf 378 PSF_QF_PERFECT : SKIP # not ingested into DVO 379 PSF_NDOF : psf_ndof 380 PSF_NPIX : psf_npix 381 MOMENTS_XX : Mxx 382 MOMENTS_XY : Mxy 383 MOMENTS_YY : Myy 384 MOMENTS_M3C : SKIP # not ingested into DVO 385 MOMENTS_M3S : SKIP # not ingested into DVO 386 MOMENTS_M4C : SKIP # not ingested into DVO 387 MOMENTS_M4S : SKIP # not ingested into DVO 388 MOMENTS_R1 : SKIP # not ingested into DVO 389 MOMENTS_RH : SKIP # not ingested into DVO 390 KRON_FLUX : flux:kron:inst 391 KRON_FLUX_ERR : flux:kron:inst:err 392 KRON_FLUX_INNER : SKIP # not ingested into DVO 393 KRON_FLUX_OUTER : SKIP # not ingested into DVO 394 SKY_LIMIT_RAD : SKIP # not ingested into DVO 395 SKY_LIMIT_FLUX : SKIP # not ingested into DVO 396 SKY_LIMIT_SLOPE : SKIP # not ingested into DVO 397 FLAGS : phot_flags 398 FLAGS2 : SKIP # not ingested into DVO 399 N_FRAMES : SKIP # not ingested into DVO 400 end 401 402 # this list is good for PS1_SV3 403 list testfields_PS1_SV3 404 IPP_IDET : detid 405 X_PSF : xccd 406 Y_PSF : yccd 407 X_PSF_SIG : xccd:err 408 Y_PSF_SIG : yccd:err 409 POSANGLE : posangle 410 PLTSCALE : platescale 411 PSF_INST_MAG : mag:inst 412 PSF_INST_MAG_SIG : mag:err 413 PSF_INST_FLUX : flux:inst 414 PSF_INST_FLUX_SIG : flux:inst:err 415 AP_MAG : mag:aper:inst 416 AP_MAG_RAW : SKIP # not ingested into DVO 417 AP_MAG_RADIUS : SKIP # not ingested into DVO 418 AP_FLUX : flux:aper:inst 419 AP_FLUX_SIG : flux:aper:inst:err 420 CAL_PSF_MAG : mag:cal 421 CAL_PSF_MAG_SIG : mag:cal:err 422 RA_PSF : ra 423 DEC_PSF : dec 424 AP_NPIX : SKIP # not ingested into DVO 425 PEAK_FLUX_AS_MAG : SKIP # not ingested into DVO 426 SKY : sky 427 SKY_SIGMA : sky_err 428 PSF_CHISQ : psf_chisq 429 CR_NSIGMA : cr_nsigma 430 EXT_NSIGMA : ext_nsigma 431 PSF_MAJOR : fwhm_maj # XXX technically, this is not FWHM but Sigma 432 PSF_MINOR : fwhm_min # XXX technically, this is not FWHM but Sigma 433 PSF_THETA : theta # FAIL 434 PSF_CORE : SKIP # not ingested into DVO 435 PSF_FWHM_MAJ : SKIP # not ingested into DVO 436 PSF_FWHM_MIN : SKIP # not ingested into DVO 437 PSF_QF : psf_qf 438 PSF_QF_PERFECT : SKIP # not ingested into DVO 439 PSF_NDOF : psf_ndof 440 PSF_NPIX : psf_npix 441 MOMENTS_XX : Mxx 442 MOMENTS_XY : Mxy 443 MOMENTS_YY : Myy 444 MOMENTS_M3C : SKIP # not ingested into DVO 445 MOMENTS_M3S : SKIP # not ingested into DVO 446 MOMENTS_M4C : SKIP # not ingested into DVO 447 MOMENTS_M4S : SKIP # not ingested into DVO 448 MOMENTS_R1 : SKIP # not ingested into DVO 449 MOMENTS_RH : SKIP # not ingested into DVO 450 KRON_FLUX : flux:kron:inst 451 KRON_FLUX_ERR : flux:kron:inst:err 452 KRON_FLUX_INNER : SKIP # not ingested into DVO 453 KRON_FLUX_OUTER : SKIP # not ingested into DVO 454 FLAGS : phot_flags 455 FLAGS2 : SKIP # not ingested into DVO 456 N_FRAMES : SKIP # not ingested into DVO 457 end
Note:
See TracChangeset
for help on using the changeset viewer.
