IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 12, 2015, 6:18:23 PM (11 years ago)
Author:
eugene
Message:

merge changes from EAM dev branch ohana.20150429

Location:
trunk/Ohana
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana

  • trunk/Ohana/src/addstar/test

  • trunk/Ohana/src/addstar/test/simple.dvo

    r37036 r38441  
    1010  test.fields PS1_V2    PS1_V1
    1111  test.fields PS1_V3    PS1_V1
    12   test.fields PS1_V4    PS1_V1
     12  test.fields PS1_V5    PS1_V1
    1313
    1414  test.fields PS1_DEV_0 PS1_V2
     
    1717  test.fields PS1_V2    PS1_V2
    1818  test.fields PS1_V3    PS1_V2
    19   test.fields PS1_V4    PS1_V4
     19  test.fields PS1_V5    PS1_V2
    2020
    2121  test.fields PS1_DEV_0 PS1_V3
     
    2424  test.fields PS1_V2    PS1_V3
    2525  test.fields PS1_V3    PS1_V3
    26   test.fields PS1_V4    PS1_V4
     26  test.fields PS1_V5    PS1_V3
    2727
    2828  test.fields PS1_DEV_0 PS1_V4
     
    3131  test.fields PS1_V2    PS1_V4
    3232  test.fields PS1_V3    PS1_V4
    33   test.fields PS1_V4    PS1_V4
     33  test.fields PS1_V5    PS1_V4
    3434end 
    3535
     
    5454
    5555  mkinput
    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
    58   if ($TAP_VERBOSE)
    59     echo exec addstar -D CATDIR catdir.test -D CAMERA simtest test.cmf -D CATFORMAT $2 -quick-airmass
    60     exec addstar -D CATDIR catdir.test -D CAMERA simtest test.cmf -D CATFORMAT $2 -quick-airmass
    61   else
    62     echo addstar -D CATDIR catdir.test -D CAMERA simtest test.cmf -D CATFORMAT $2 -quick-airmass
    63     exec addstar -D CATDIR catdir.test -D CAMERA simtest test.cmf -D CATFORMAT $2 -quick-airmass >& tmp.log
    64   end
     56  tapEXEC mkcmf test.in.txt test.cmf -date 2008/1/1 -time 01:00:00 -radec $RA $DEC -type $1 $NO_NOISE
     57  tapEXEC addstar -D CATDIR catdir.test -D CAMERA simtest test.cmf -D CATFORMAT $2 -quick-airmass
    6558
    6659  list testfields -copy testfields_$1
     
    7972    if ("$name:0" == "SKIP") continue
    8073    if ("$name:2" == "SKIP") continue
     74 
    8175    read -fits Chip.psf $name:0
    8276    mextract $name:2
     
    9286  set d = $name:0 - $name:2
    9387  vstat -q d
    94   tapOK {abs($MEAN)  < 0.001} "$name:0 vs $name:2 (MEAN)"
    95   tapOK {abs($SIGMA) < 0.001} "$name:0 vs $name:2 (SIGMA)"
     88  tapOK {abs($MEAN)  < 0.001} "$name:0 vs $name:2 (MEAN = $MEAN)"
     89  tapOK {abs($SIGMA) < 0.001} "$name:0 vs $name:2 (SIGMA = $SIGMA)"
    9690
    9791  # detection ID must be first for this to work:
     
    142136    if ("$name:0" == "PSF_THETA")
    143137      # echo $MEAN
    144       tapOK {abs($MEAN)  < 0.006} "$name:0 vs $name:2 (MEAN)"
    145       tapOK {abs($SIGMA) < 0.001} "$name:0 vs $name:2 (SIGMA)"
     138      tapOK {abs($MEAN)  < 0.006} "$name:0 vs $name:2 (MEAN = $MEAN)"
     139      tapOK {abs($SIGMA) < 0.001} "$name:0 vs $name:2 (SIGMA = $SIGMA)"
    146140      continue
    147141    end
    148142
    149     tapOK {abs($MEAN)  < 0.001} "$name:0 vs $name:2 (MEAN)"
    150     tapOK {abs($SIGMA) < 0.001} "$name:0 vs $name:2 (SIGMA)"
     143    tapOK {abs($MEAN)  < 0.001} "$name:0 vs $name:2 (MEAN = $MEAN)"
     144    tapOK {abs($SIGMA) < 0.001} "$name:0 vs $name:2 (SIGMA = $MEAN)"
    151145  end   
    152146
     
    231225  PSF_INST_MAG      : mag:inst 
    232226  PSF_INST_MAG_SIG  : mag:err   
    233   AP_MAG_STANDARD   : mag:ap # FAIL
     227# AP_MAG_STANDARD   : mag:ap # FAIL
    234228  AP_MAG_RADIUS     : SKIP # no accessor
    235229  PEAK_FLUX_AS_MAG  : SKIP # no accessor
     
    237231  CAL_PSF_MAG_SIG   : SKIP # photometry is not calibrated in the cmf
    238232  SKY               : sky       
    239   SKY_SIG           : sky_err   
     233  SKY_SIGMA         : sky_err   
    240234  PSF_CHISQ         : psf_chisq
    241235  CR_NSIGMA         : cr_nsigma
     
    267261  PSF_INST_MAG      : mag:inst 
    268262  PSF_INST_MAG_SIG  : mag:err   
    269   AP_MAG_STANDARD   : mag:ap # FAIL
     263# AP_MAG_STANDARD   : mag:ap # FAIL
    270264  AP_MAG_RADIUS     : SKIP # no accessor
    271265  PEAK_FLUX_AS_MAG  : SKIP # no accessor
     
    273267  CAL_PSF_MAG_SIG   : SKIP # photometry is not calibrated in the cmf
    274268  SKY               : sky       
    275   SKY_SIG           : sky_err   
     269  SKY_SIGMA         : sky_err   
    276270  PSF_CHISQ         : psf_chisq
    277271  CR_NSIGMA         : cr_nsigma
     
    303297  PSF_INST_FLUX     : SKIP # not ingested into DVO
    304298  PSF_INST_FLUX_SIG : SKIP # not ingested into DVO
    305   AP_MAG_STANDARD   : mag:aperinst # FAIL
     299# AP_MAG_STANDARD   : mag:aperinst # FAIL
    306300  AP_MAG_RAW        : SKIP # not ingested into DVO
    307301  AP_MAG_RADIUS     : SKIP # not ingested into DVO
     
    312306  PEAK_FLUX_AS_MAG  : SKIP # not ingested into DVO
    313307  SKY               : sky       
    314   SKY_SIG           : sky_err   
     308  SKY_SIGMA         : sky_err   
    315309  PSF_CHISQ         : psf_chisq
    316310  CR_NSIGMA         : cr_nsigma
     
    332326  MOMENTS_R1        : SKIP # not ingested into DVO
    333327  MOMENTS_RH        : SKIP # not ingested into DVO
    334   KRON_FLUX         : mag:kroninst
    335   KRON_FLUX_ERR     : mag:kronerr
     328  KRON_FLUX         : mag:kron:inst
     329  KRON_FLUX_ERR     : mag:kron:err
    336330  KRON_FLUX_INNER   : SKIP # not ingested into DVO
    337331  KRON_FLUX_OUTER   : SKIP # not ingested into DVO
Note: See TracChangeset for help on using the changeset viewer.