Index: trunk/psModules/src/objects/pmFootprint.h
===================================================================
--- trunk/psModules/src/objects/pmFootprint.h	(revision 30621)
+++ trunk/psModules/src/objects/pmFootprint.h	(revision 31153)
@@ -10,4 +10,10 @@
 #ifndef PM_FOOTPRINT_H
 #define PM_FOOTPRINT_H
+
+// We need to choose up front if the culling algorithm uses the raw or smoothed image.
+// depending on which we choose, we should produce sorted peaks based on peak->rawFlux or
+// peak->smoothFlux
+
+# define PM_PEAKS_CULL_WITH_SMOOTHED_IMAGE 1
 
 typedef struct {
@@ -84,5 +90,7 @@
 				 const float nsigma_delta, // how many sigma above local background a peak needs to be to survive
 				 const float fPadding, // fractional padding added to stdev since bright peaks have unreasonably high significance
-				 const float min_threshold // minimum permitted coll height
+				 const float min_threshold, // minimum permitted coll height
+				 const float max_threshold,// maximum permitted coll height
+				 const bool isWeightVar // the input weight may be variance (sigma^2) or S/N (1/sigma)
     );
 
