Index: trunk/psModules/src/objects/pmModel.h
===================================================================
--- trunk/psModules/src/objects/pmModel.h	(revision 11253)
+++ trunk/psModules/src/objects/pmModel.h	(revision 12949)
@@ -5,6 +5,6 @@
  * @author EAM, IfA
  *
- * @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
- * @date $Date: 2007-01-24 02:54:15 $
+ * @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
+ * @date $Date: 2007-04-21 19:47:14 $
  * Copyright 2004 Maui High Performance Computing Center, University of Hawaii
  */
@@ -38,15 +38,21 @@
 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 status;  ///< fit status
-    float radiusFit;   ///< fit radius actually used
+    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 status;		///< fit status
+    float radiusFit;			///< fit radius actually used
+    pmResiduals *residuals; 		///< normalized PSF residuals 
 }
 pmModel;
+
+/* XXX we are currently saving the residuals with the pmModel.  It might be better to save this
+ * in the pmSource.  we may want an API to Add/Sub a pmModel (analytical model only) or a
+ * pmSource (analytical + residuals).
+ */
 
 /** Symbolic names for the elements of [d]params
