Index: branches/eam_branches/ipp-20230313/psphot/src/psphotCheckStarDistribution.c
===================================================================
--- branches/eam_branches/ipp-20230313/psphot/src/psphotCheckStarDistribution.c	(revision 42508)
+++ branches/eam_branches/ipp-20230313/psphot/src/psphotCheckStarDistribution.c	(revision 42509)
@@ -89,4 +89,7 @@
         if (source->type != PM_SOURCE_TYPE_STAR) continue;
 
+	// XXX for a test, do not include faint sources
+	if (source->moments->SN < 20) continue;
+
 	float x = source->peak->xf;
 	float y = source->peak->yf;
