IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 38321


Ignore:
Timestamp:
May 25, 2015, 1:11:18 PM (11 years ago)
Author:
eugene
Message:

tweak relphot test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20150419/Ohana/src/addstar/test/relphot.flatcorr.dvo

    r38318 r38321  
    400400    end
    401401
    402     mextract ra dec dbflags
    403     subset rs = ra  if (dbflags & 0x8000)
    404     subset ds = dec if (dbflags & 0x8000)
     402    mextract ra dec mag dbflags
     403    subset rs = ra  if ((dbflags & 0x8000) && (mag > 13.5))
     404    subset ds = dec if ((dbflags & 0x8000) && (mag > 13.5))
    405405    avmatch rs ds 0.1 $FILTER\:flags $FILTER\:uc_dist
    406406
    407     subset tmp = rs if ($FILTER\:flags & 0x8)
    408     tapOK {tmp[] == rs[]} "objects with ubercal detections have ubercal bit set (tmp[] vs rs[])"
     407    subset tmp = rs if (($FILTER\:flags & 0x8) || ($FILTER\:flags & 0x4))
     408    tapOK {tmp[] == rs[]} "objects with ubercal detections have ubercal bit set or used SYNTH photometry (tmp[] vs rs[])"
    409409 
    410     subset tmp = rs if ($FILTER\:uc_dist < 0.1)
    411     tapOK {tmp[] == rs[]} "objects with ubercal detections have ubercal dist of 0.0"
     410    subset tmp = rs if (($FILTER\:uc_dist < 0.1) || ($FILTER\:flags & 0x4))
     411    tapOK {tmp[] == rs[]} "objects with ubercal detections have ubercal dist of 0.0 or used SYNTH photometry"
    412412    return
    413413  end
Note: See TracChangeset for help on using the changeset viewer.