- Timestamp:
- Jun 19, 2014, 2:41:50 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20140610/Ohana/src/addstar/test/simple.dvo
r36911 r36912 34 34 end 35 35 36 if (not($?NO_NOISE)) 37 $NO_NOISE = "" 38 end 39 36 40 # create a populated catdir with a single cmf -- test each field 37 41 macro test.fields … … 50 54 51 55 mkinput 52 echo mkcmf test.in.txt test.cmf -date 2008/1/1 -time 01:00:00 -radec $RA $DEC -type $1 53 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 54 58 if ($TAP_VERBOSE) 55 59 echo exec addstar -D CATDIR catdir.test -D CAMERA simtest test.cmf -D CATFORMAT $2 -quick-airmass 56 60 exec addstar -D CATDIR catdir.test -D CAMERA simtest test.cmf -D CATFORMAT $2 -quick-airmass 57 61 else 62 echo addstar -D CATDIR catdir.test -D CAMERA simtest test.cmf -D CATFORMAT $2 -quick-airmass 58 63 exec addstar -D CATDIR catdir.test -D CAMERA simtest test.cmf -D CATFORMAT $2 -quick-airmass >& tmp.log 59 64 end … … 113 118 114 119 # some fields require arithmetic manipulations 115 if ("$name:0" == "KRON_FLUX") 116 set v1 = -2.5*log(v1) 117 end 118 if ("$name:0" == "KRON_FLUX_ERR") 119 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)) 120 133 end 121 134 … … 335 348 Y_PSF_SIG : yccd:err 336 349 POSANGLE : posangle 337 PLTSCALE : pl tscale350 PLTSCALE : platescale 338 351 PSF_INST_MAG : mag:inst 339 352 PSF_INST_MAG_SIG : mag:err … … 345 358 AP_FLUX : flux:aper:inst 346 359 AP_FLUX_SIG : flux:aper:inst:err 347 CAL_PSF_MAG : mag: rel348 CAL_PSF_MAG_SIG : mag: rel:err360 CAL_PSF_MAG : mag:cal 361 CAL_PSF_MAG_SIG : mag:cal:err 349 362 RA_PSF : ra 350 363 DEC_PSF : dec … … 386 399 N_FRAMES : SKIP # not ingested into DVO 387 400 end 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434
Note:
See TracChangeset
for help on using the changeset viewer.
