Index: trunk/psphot/src/find_peaks.c
===================================================================
--- trunk/psphot/src/find_peaks.c	(revision 4216)
+++ trunk/psphot/src/find_peaks.c	(revision 4642)
@@ -9,5 +9,4 @@
 
     // smooth the image 
-    // should we also subtract a super-binned image? (as an option?)
 
     psTimerStart ("psphot");
@@ -18,11 +17,9 @@
     psImage *smooth = psImageCopy (NULL, imdata->image, PS_TYPE_F32);
     psImageSmooth (smooth, SIGMA, NSIGMA);
-
     psLogMsg ("psphot", 4, "smooth: %f sec\n", psTimerMark ("psphot"));
-
-    // find the peaks in the smoothed image 
 
     psTimerStart ("psphot");
 
+    // find the peaks in the smoothed image 
     NSIGMA    = psMetadataLookupF32 (&status, config, "PEAK_NSIGMA");
     threshold = NSIGMA*sky->sampleStdev + sky->sampleMean;
@@ -32,5 +29,4 @@
     if (peaks == NULL) psAbort ("find peaks", "no peaks found");
     psFree (smooth);
-    // XXX Need to gracefully handle no source detections
 
     // make this optional
@@ -41,2 +37,6 @@
     return (peaks);
 }
+
+// In this function, we smooth the image, then search for the peaks 
+// Should we also subtract a super-binned image? (as an option?)
+// We need to gracefully handle no source detections
