Index: trunk/ppSim/src/ppSimDetections.c
===================================================================
--- trunk/ppSim/src/ppSimDetections.c	(revision 18011)
+++ trunk/ppSim/src/ppSimDetections.c	(revision 31157)
@@ -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;
