Index: trunk/psphot/src/psphotCheckStarDistribution.c
===================================================================
--- trunk/psphot/src/psphotCheckStarDistribution.c	(revision 30624)
+++ trunk/psphot/src/psphotCheckStarDistribution.c	(revision 42842)
@@ -89,4 +89,8 @@
         if (source->type != PM_SOURCE_TYPE_STAR) continue;
 
+	// XXX for a test, do not include faint sources
+	// EAM XXX : make this optional and default to all
+	if (source->moments->SN < 20) continue;
+
 	float x = source->peak->xf;
 	float y = source->peak->yf;
