Index: trunk/psModules/src/objects/pmModel.h
===================================================================
--- trunk/psModules/src/objects/pmModel.h	(revision 13803)
+++ trunk/psModules/src/objects/pmModel.h	(revision 13898)
@@ -5,6 +5,6 @@
  * @author EAM, IfA
  *
- * @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
- * @date $Date: 2007-06-13 23:41:51 $
+ * @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
+ * @date $Date: 2007-06-20 02:22:26 $
  *
  * Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -30,13 +30,13 @@
 
 typedef enum {
-    PM_MODEL_OP_NONE 	= 0x00,
-    PM_MODEL_OP_FUNC 	= 0x01,
-    PM_MODEL_OP_RES0 	= 0x02,
-    PM_MODEL_OP_RES1 	= 0x04,
+    PM_MODEL_OP_NONE    = 0x00,
+    PM_MODEL_OP_FUNC    = 0x01,
+    PM_MODEL_OP_RES0    = 0x02,
+    PM_MODEL_OP_RES1    = 0x04,
     PM_MODEL_OP_FULL    = 0x07,
-    PM_MODEL_OP_SKY  	= 0x08,
+    PM_MODEL_OP_SKY     = 0x08,
     PM_MODEL_OP_CENTER  = 0x10,
-    PM_MODEL_OP_NORM  	= 0x20,
-    PM_MODEL_OP_NOISE  	= 0x40,
+    PM_MODEL_OP_NORM    = 0x20,
+    PM_MODEL_OP_NOISE   = 0x40,
 } pmModelOpMode;
 
@@ -52,14 +52,14 @@
 typedef struct
 {
-    pmModelType type;			///< Model to be used.
-    psVector *params;			///< Paramater values.
-    psVector *dparams;			///< Parameter errors.
-    float chisq;			///< Fit chi-squared.
-    float chisqNorm;			///< re-normalized fit chi-squared.
-    int nDOF;				///< number of degrees of freedom
-    int nIter;				///< number of iterations to reach min
-    pmModelStatus flags;		///< model status flags
-    float radiusFit;			///< fit radius actually used
-    pmResiduals *residuals; 		///< normalized PSF residuals 
+    pmModelType type;                   ///< Model to be used.
+    psVector *params;                   ///< Paramater values.
+    psVector *dparams;                  ///< Parameter errors.
+    float chisq;                        ///< Fit chi-squared.
+    float chisqNorm;                    ///< re-normalized fit chi-squared.
+    int nDOF;                           ///< number of degrees of freedom
+    int nIter;                          ///< number of iterations to reach min
+    pmModelStatus flags;                ///< model status flags
+    float radiusFit;                    ///< fit radius actually used
+    pmResiduals *residuals;             ///< normalized PSF residuals
 }
 pmModel;
@@ -105,8 +105,9 @@
  */
 bool pmModelAdd(
-    psImage *image,			///< The output image (float)
-    psImage *mask,			///< The image pixel mask (valid == 0)
-    pmModel *model,			///< The input pmModel
-    pmModelOpMode mode		     ///< mode to control how the model is added into the image
+    psImage *image,                     ///< The output image (float)
+    psImage *mask,                      ///< The image pixel mask (valid == 0)
+    pmModel *model,                     ///< The input pmModel
+    pmModelOpMode mode,                 ///< mode to control how the model is added into the image
+    psMaskType maskVal                  ///< Value to mask
 );
 
@@ -122,8 +123,9 @@
  */
 bool pmModelSub(
-    psImage *image,			///< The output image (float)
-    psImage *mask,			///< The image pixel mask (valid == 0)
-    pmModel *model,			///< The input pmModel
-    pmModelOpMode mode		     ///< mode to control how the model is added into the image
+    psImage *image,                     ///< The output image (float)
+    psImage *mask,                      ///< The image pixel mask (valid == 0)
+    pmModel *model,                     ///< The input pmModel
+    pmModelOpMode mode,                 ///< mode to control how the model is added into the image
+    psMaskType maskVal                  ///< Value to mask
 );
 
