IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 14, 2021, 10:00:13 AM (5 years ago)
Author:
eugene
Message:

fix minor bugs, update output names for consistency

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/eam/teleff/cammask.pro

    r41717 r41719  
    22
    33$VERBOSE    = 1       
    4 $COPYMASKS  = 1
     4$COPYMASKS  = 0
    55$OUTDIR     = .
    66$OUTVERSION = XXX
     
    6565 end
    6666
     67  # delete any existing output vectors
     68  foreach field $SMF_FIELDS_CAM $REF_FIELDS_CAM $XTR_FIELDS_CAM
     69    delete -q $field\_out
     70  end
     71
    6772 # find matching entries in smf file
    6873 for i 0 $chipName:n
     
    7075   get.chip.mask.stats $camMask:$i
    7176
    72    foreach field SMF_FIELDS_CAM
     77   foreach field $SMF_FIELDS_CAM
    7378     concat $field\_found $field\_out
    7479     delete $field\_found
    7580   end
    76    foreach field REF_FIELDS_CAM $XTR_FIELDS_CAM
     81   foreach field $REF_FIELDS_CAM $XTR_FIELDS_CAM
    7782     concat $field\_onchp $field\_out
    7883     delete $field\_onchp
     
    8186
    8287 $OUT_FIELDS =
    83  foreach field $SMP_FIELDS_CAM $REF_FIELDS_CAM $XTR_FIELDS_CAM
     88 foreach field $SMF_FIELDS_CAM $REF_FIELDS_CAM $XTR_FIELDS_CAM
    8489   $OUT_FIELDS = $OUT_FIELDS $field\_out
    8590 end
     
    309314
    310315
    311 ####
     316#### this test macro generates the match table without measuring the mask fraction
     317#### XXX the output formats are not consistent with the above version
    312318
    313319macro get.camera.matches
Note: See TracChangeset for help on using the changeset viewer.