Index: trunk/ippconfig/recipes/psphot.config
===================================================================
--- trunk/ippconfig/recipes/psphot.config	(revision 34307)
+++ trunk/ippconfig/recipes/psphot.config	(revision 34338)
@@ -366,4 +366,27 @@
 PSPHOT.STACK.SPLIT.LINEAR.FIT       BOOL  T    # require positive flux for pass 3 linear fit then fit matched sources separately
 
+# psphotStack source matching parameters
+PSHOT.STACK.MIN.DETECT.FOR.FORCED   S32   2   # number of bands that an object must be detected in before creating
+                                              # sources in undetected bands
+                                              
+# PSPHOT.STACK.MATCH.FILTER
+# list of metadata to control how source matching is performed for each band
+# FILTER.ID is used to match to the FPA's concept value FPA.FILTERID
+# ORDER controls the order in which the bands are processed. Lower numbers are processed first.
+#       The intent is to process in order of sensitivity
+# MATCH.ALL if true causes forced photometry sources for objects detected in that band but don't meet 
+#       the minimum number of detections cut
+# TYPE is used in the recipe bookkeeping and has no semantic (but must be unique)
+# Note: if an input has a filter not in this list it will be processed after all of the others with MATCH.ALL = FALSE
+PSPHOT.STACK.MATCH.FILTERS   METADATA
+    TYPE        PSPHOT_STACK.MATCH.FILTER FILTER.ID ORDER MATCH.ALL
+    gband       PSPHOT_STACK.MATCH.FILTER   g        4       FALSE
+    rband       PSPHOT_STACK.MATCH.FILTER   r        2       FALSE
+    iband       PSPHOT_STACK.MATCH.FILTER   i        1       FALSE
+    zband       PSPHOT_STACK.MATCH.FILTER   z        3       FALSE
+    yband       PSPHOT_STACK.MATCH.FILTER   y        5       TRUE
+    wband       PSPHOT_STACK.MATCH.FILTER   w        0       FALSE
+END
+
 RADIAL_APERTURES                    BOOL  F    # calculate flux in circular radial apertures?
 RADIAL_APERTURES_SN_LIM             F32   0.0  # S/N limit for radial aperture calculation
