Index: branches/eam_branches/ipp-20110213/ppSim/src/Makefile.am
===================================================================
--- branches/eam_branches/ipp-20110213/ppSim/src/Makefile.am	(revision 30900)
+++ branches/eam_branches/ipp-20110213/ppSim/src/Makefile.am	(revision 30977)
@@ -48,5 +48,4 @@
 	ppSimLoop.c		  \
 	ppSimMergeReadouts.c	  \
-	ppSimDetections.c	  \
 	ppSimMergeSources.c	  \
 	ppSimMosaicChip.c	  \
Index: branches/eam_branches/ipp-20110213/ppSim/src/ppSimDetectionLimits.c
===================================================================
--- branches/eam_branches/ipp-20110213/ppSim/src/ppSimDetectionLimits.c	(revision 30900)
+++ branches/eam_branches/ipp-20110213/ppSim/src/ppSimDetectionLimits.c	(revision 30977)
@@ -3,4 +3,5 @@
 // compare injected sources (PPSIM.SOURCES) and measured fake sources (PPSIM.FAKE.SOURCES) 
 // to determine detection limits and recovered magnitude errors
+// XXX this function is not used
 bool ppSimDetectionLimits (pmConfig *config, pmFPAview *view) {
 
Index: branches/eam_branches/ipp-20110213/ppSim/src/ppSimDetections.c
===================================================================
--- branches/eam_branches/ipp-20110213/ppSim/src/ppSimDetections.c	(revision 30900)
+++ branches/eam_branches/ipp-20110213/ppSim/src/ppSimDetections.c	(revision 30977)
@@ -1,4 +1,5 @@
 # include "ppSim.h"
 
+// XXX this function is not used
 bool ppSimDetections (psImage *significance, psMetadata *recipe, psArray *sources) {
     psAssert (sources, "programming error: ppSimDetections passed NULL sources");
@@ -12,5 +13,5 @@
     float SIGMA_SMTH  = psMetadataLookupF32 (&status, recipe, "SIGMA_SMOOTH"); 
     psAssert (status, "SIGMA_SMOOTH missing: call psphotSignificanceImage first"); 
-    float effArea = 4.0*M_PI*PS_SQR(SIGMA_SMTH);
+    // float effArea = 4.0*M_PI*PS_SQR(SIGMA_SMTH);
 
     int row0 = significance->row0;
@@ -23,7 +24,5 @@
 	psAssert (peak, "peak is not defined for the source");
 
-	peak->value = significance->data.F32[peak->y-row0][peak->x-col0];
-	peak->SN = sqrt(peak->value*effArea);
-
+	peak->detValue = significance->data.F32[peak->y-row0][peak->x-col0];
     }
     return true;
