Index: /branches/eam_branches/ipp-20211108/ippTests/ippCheck/cammask.pro
===================================================================
--- /branches/eam_branches/ipp-20211108/ippTests/ippCheck/cammask.pro	(revision 41974)
+++ /branches/eam_branches/ipp-20211108/ippTests/ippCheck/cammask.pro	(revision 41975)
@@ -1,3 +1,18 @@
 #!/usr/bin/env dvo
+
+# this module generates a table of mask fractions and matched detections for known sources
+# in the field of an exposure.  mask fractions are measured on the chip (or camera?) mask files
+# while the detections are derived from the camera-stage smf file
+
+# this module provides the following functions
+# get.camera.eff (camera) (expname) (camLabel) (refsrcs.fits) : 
+# get.chip.detect.stats (chipname) (chipnseq)
+# get.chip.mask.stats (cammask)
+# get.chip.mask.files (camPath)
+# get.chip.metadata (camera) (chipID)
+# get.camera.metadata (camera) (expname) (camLabel)
+
+# init.radec.range
+# set.radec.range
 
 $VERBOSE    = 1	       
Index: /branches/eam_branches/ipp-20211108/ippTests/ippCheck/camstats.pro
===================================================================
--- /branches/eam_branches/ipp-20211108/ippTests/ippCheck/camstats.pro	(revision 41974)
+++ /branches/eam_branches/ipp-20211108/ippTests/ippCheck/camstats.pro	(revision 41975)
@@ -1,2 +1,13 @@
+# this 
+
+# load.camstats (glob) : load data from a set of stf files and calculate detection histograms
+# plot.camstats.resid  : plot photometric and astrometric residuals
+# plot.camstats.fracs  : plot detection fraction histograms vs magnitude
+
+# calc.camstats : calculate detection histograms for a single set of data
+
+# UTILITIES:
+# legend.init
+# legend.line
 
 macro load.camstats
@@ -270,4 +281,6 @@
 end
 
+############ macros used to test mpcorb_predict
+
 macro plot.camsky
 
@@ -290,6 +303,4 @@
   cplot -c red  -op 1.0 -pt box -sz 2.5 RrefCam DrefCam where (not(isnan(Xpsf)) && (Q1psf > 0.85))
 end
-
-############ macros used to test mpcorb_predict
 
 macro test.mpcfine
Index: /branches/eam_branches/ipp-20211108/ippTests/ippCheck/ippCheck
===================================================================
--- /branches/eam_branches/ipp-20211108/ippTests/ippCheck/ippCheck	(revision 41974)
+++ /branches/eam_branches/ipp-20211108/ippTests/ippCheck/ippCheck	(revision 41975)
@@ -25,4 +25,11 @@
     break
   end
+
+  # XXX Can I add flags to turn on/off certain stages?
+  # -no-warp, -no-diff, -no-cam
+
+  args.options -no-cam  BOOL SKIP_CAM
+  args.options -no-warp BOOL SKIP_WARP
+  args.options -no-diff BOOL SKIP_DIFF
 
   local expname camlabel
@@ -124,5 +131,5 @@
   if ("$argv:0" == "mpc")
     if ($argv:n != 4)
-      echo "USAGE: teleff.pro mpc (expname) (label) (mpcfile)"
+      echo "USAGE: ippCheck mpc (expname) (label) (mpcfile)"
       break
     end
@@ -134,5 +141,5 @@
   if ("$argv:0" == "dvo")
     if ($argv:n != 3)
-      echo "USAGE: teleff.pro dvo (expname) (label)"
+      echo "USAGE: ippCheck dvo (expname) (label)"
       break
     end
@@ -142,6 +149,17 @@
   end
 
-  echo "USAGE: teleff.pro (mode) (expname) (label) [mpcfile]"
+  if ("$argv:0" == "smf")
+    if ($argv:n != 4)
+      echo "USAGE: ippCheck smf (expname) (label) (smffile)"
+      break
+    end
+
+    example.full.dvo $argv:1 $argv:2
+    exit 0
+  end
+
+  echo "USAGE: ippCheck (mode) (expname) (label) [mpcfile]"
   echo "  mode may be 'dvo' or 'mpc'"
   exit 2
 end
+
