Index: branches/eam_branches/ipp-20110213/psModules/src/objects/pmSource.c
===================================================================
--- branches/eam_branches/ipp-20110213/psModules/src/objects/pmSource.c	(revision 30881)
+++ branches/eam_branches/ipp-20110213/psModules/src/objects/pmSource.c	(revision 30882)
@@ -328,8 +328,4 @@
 *****************************************************************************/
 
-// XXX EAM include a S/N cutoff in selecting the sources?
-// XXX this function should probably accept the values, not a recipe. wrap with a
-// psphot-specific function which applies the recipe values
-// only apply selection to sources within specified region
 pmPSFClump pmSourcePSFClump(psImage **savedImage, psRegion *region, psArray *sources, float PSF_SN_LIM, float PSF_CLUMP_GRID_SCALE, psF32 SX_MAX, psF32 SY_MAX, psF32 AR_MAX)
 {
@@ -429,4 +425,5 @@
 
 	psfClump.nSigma = stats->sampleStdev;
+	psfClump.nTotal = nValid;
 
 	if (savedImage) {
Index: branches/eam_branches/ipp-20110213/psModules/src/objects/pmSource.h
===================================================================
--- branches/eam_branches/ipp-20110213/psModules/src/objects/pmSource.h	(revision 30881)
+++ branches/eam_branches/ipp-20110213/psModules/src/objects/pmSource.h	(revision 30882)
@@ -121,4 +121,5 @@
     float dY;
     int nStars;
+    int nTotal;
     float nSigma;
 }
