Index: /branches/eam_branches/ipp-20100621/psModules/src/objects/pmSource.h
===================================================================
--- /branches/eam_branches/ipp-20100621/psModules/src/objects/pmSource.h	(revision 28821)
+++ /branches/eam_branches/ipp-20100621/psModules/src/objects/pmSource.h	(revision 28822)
@@ -65,4 +65,5 @@
     pmSourceType type;                  ///< Best identification of object.
     pmSourceMode mode;                  ///< analysis flags set for object.
+    pmSourceMode2 mode2;                ///< analysis flags set for object.
     pmSourceTmpF tmpFlags;              ///< internal-only flags
     psArray *blends;                    ///< collection of sources thought to be confused with object
Index: /branches/eam_branches/ipp-20100621/psModules/src/objects/pmSourceDiffStats.c
===================================================================
--- /branches/eam_branches/ipp-20100621/psModules/src/objects/pmSourceDiffStats.c	(revision 28821)
+++ /branches/eam_branches/ipp-20100621/psModules/src/objects/pmSourceDiffStats.c	(revision 28822)
@@ -29,4 +29,9 @@
     diffStats->nRatioAll = NAN;
     diffStats->nGood = 0;
+
+    diffStats->SNp = NAN;
+    diffStats->SNm = NAN;
+    diffStats->Rp = NAN;
+    diffStats->Rm = NAN;
 }
 
Index: /branches/eam_branches/ipp-20100621/psModules/src/objects/pmSourceDiffStats.h
===================================================================
--- /branches/eam_branches/ipp-20100621/psModules/src/objects/pmSourceDiffStats.h	(revision 28821)
+++ /branches/eam_branches/ipp-20100621/psModules/src/objects/pmSourceDiffStats.h	(revision 28822)
@@ -29,4 +29,8 @@
     float nRatioAll;			// = nGood / (nGood + nMask + nBad)
     int   nGood;			// nGood as defined above
+    float SNp;				// S/N of matched source in positive image
+    float SNm;				// S/N of matched source in negative image
+    float Rp;				// radius of matched source in positive image
+    float Rm;				// radius of matched source in negative image
 } pmSourceDiffStats;
 
Index: /branches/eam_branches/ipp-20100621/psModules/src/objects/pmSourceMasks.h
===================================================================
--- /branches/eam_branches/ipp-20100621/psModules/src/objects/pmSourceMasks.h	(revision 28821)
+++ /branches/eam_branches/ipp-20100621/psModules/src/objects/pmSourceMasks.h	(revision 28822)
@@ -39,4 +39,11 @@
 } pmSourceMode;
 
+// Bit flags to distinguish analysis results
+// When adding to or subtracting from this list, please also modify pmSourceMaskHeader
+typedef enum {
+    PM_SOURCE_MODE2_DEFAULT          = 0x00000000, ///< Initial value: resets all bits
+    PM_SOURCE_MODE2_DIFF_WITH_SINGLE = 0x00000001, ///< diff source matched to a single positive detection
+    PM_SOURCE_MODE2_DIFF_WITH_DOUBLE = 0x00000002, ///< diff source matched to positive detections in both images
+} pmSourceMode2;
 
 /// Populate header with mask values
