Index: trunk/psModules/src/objects/pmSource.h
===================================================================
--- trunk/psModules/src/objects/pmSource.h	(revision 14652)
+++ trunk/psModules/src/objects/pmSource.h	(revision 15039)
@@ -3,6 +3,6 @@
  * @author EAM, IfA; GLG, MHPCC
  *
- * @version $Revision: 1.17 $ $Name: not supported by cvs2svn $
- * @date $Date: 2007-08-24 00:11:02 $
+ * @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
+ * @date $Date: 2007-09-27 03:35:29 $
  * Copyright 2004 Maui High Performance Computing Center, University of Hawaii
  */
@@ -59,4 +59,5 @@
 struct pmSource {
     const int id;                       ///< Unique ID for object
+    int seq;				///< ID for output (generated on write)
     pmPeak *peak;                       ///< Description of peak pixel.
     psImage *pixels;                    ///< Rectangular region including object pixels.
@@ -78,4 +79,7 @@
     float apMag;                        ///< apMag corresponding to psfMag or extMag (depending on type)
     float pixWeight;                    ///< model-weighted coverage of valid pixels
+    float psfProb;                      ///< probability of PSF
+    float crNsigma;                     ///< Nsigma deviation from PSF to CR
+    float extNsigma;                    ///< Nsigma deviation from PSF to EXT
     psRegion region;                    ///< area on image covered by selected pixels
     float sky, skyErr;                  ///< The sky and its error at the center of the object
@@ -223,4 +227,7 @@
 bool pmSourceCachePSF (pmSource *source, psMaskType maskVal);
 
+int             pmSourceSortBySN (const void **a, const void **b);
+int             pmSourceSortByY (const void **a, const void **b);
+
 /// @}
 # endif /* PM_SOURCE_H */
