Changeset 38321
- Timestamp:
- May 25, 2015, 1:11:18 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20150419/Ohana/src/addstar/test/relphot.flatcorr.dvo
r38318 r38321 400 400 end 401 401 402 mextract ra dec dbflags403 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)) 405 405 avmatch rs ds 0.1 $FILTER\:flags $FILTER\:uc_dist 406 406 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[])" 409 409 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" 412 412 return 413 413 end
Note:
See TracChangeset
for help on using the changeset viewer.
