Index: trunk/ippconfig/recipes/ppStack.config
===================================================================
--- trunk/ippconfig/recipes/ppStack.config	(revision 42100)
+++ trunk/ippconfig/recipes/ppStack.config	(revision 42558)
@@ -240,7 +240,45 @@
 
 TEST1 METADATA
-  PSF.AUTOSIZE	  BOOL	FALSE		# Determine output PSF size from input PSFs?
-  PSF.OUTPUT.FWHM F32	6.5		# Target size for output PSF (if not auto-sized)
-  PSF.MODEL	  STR	PS_MODEL_PS1_V1	# Model for PSF generation
+  CONVOLVE          BOOL  FALSE           # Convolve images when stacking?
+  MATCH.ZERO.POINTS BOOL  TRUE            # Convolve images when stacking?
+  
+  COMBINE.ITER    F32     0.0             # Number of rejection iterations per input
+  COMBINE.REJ     F32    10.0             # Rejection threshold in combination (sigma)
+  COMBINE.SYS     F32     0.1             # Relative systematic error in combination
+  COMBINE.DISCARD F32     0.0             # Discard fraction for Olympic weighted mean
+  
+  COMBINE.PERCENT         BOOL  TRUE      # Use a single percentile clipping?
+  COMBINE.REJECT.FRACTION F32   0.0       # fraction of outliers to reject in percentile clipping
+                                          # Note this is the total both above and below the median
+  
+  SKIP.MISSING.INPUTS BOOL FALSE          # If some input warp images are missing, make the stack anyway
+  
+  # we are in some danger of inconsistency in the definition of a 'bad' vs a 'suspect' pixel
+  # these distinctions are also defined in psModules/src/config/pmConfigMask.c
+  
+  POOR.FRACTION   F32     0.25            # Maximum fraction of bad variance for poor pixels
+  THRESHOLD.MASK  F32     0.5             # Threshold for mask deconvolution (0..1)
+  DECONV.LIMIT    F32     3.0             # Deconvolution fraction for rejecting entire image
+  IMAGE.REJ       F32     0.1             # Rejected pixel fraction threshold for rejecting entire image
+  MATCH.REJ       F32     3.0             # Rejection threshold for chi^2 values from matching
+  ROWS            S32     64              # Number of rows to read at once
+  VARIANCE        BOOL    TRUE            # Use variance in rejection?
+  SAFE            BOOL    TRUE            # Play safe when combining small number of values?
+  WEIGHTS         BOOL    TRUE            # Use 1/noise^2 weighting?
+  BIN1            S32     4               # Binning factor for first level
+  BIN2            S32     4               # Binning factor for second level
+  PHOTOMETRY      BOOL    TRUE            # Do basic photometry?
+  SKIP.BG.SUB     BOOL    TRUE            # Bypass background subtraction?
+  TARGET.FRAC     F32     0.1             # Minimum flux fraction for target PSF
+  TARGET.MINMAG   F32     3.0             # Minimum magnitude difference to tolerate in stamp
+  NMINPIX         S32     1               # Minimum input per pixel 
+  BSCALEOFFSET    BOOL    FALSE           # HACK for removing offset from input warps because of compression (0.5*BSCALE)
+  
+  BACKGROUND.MODEL    BOOL   FALSE        # Construct a stacked version of the warp stage background
+  
+  RENORM          BOOL    TRUE            # Renormalise weight maps?
+  RENORM.NUM      S32     100000          # Number of samples for renormalisation
+  RENORM.MIN      F32     NAN             # Minimum value for renormlisation
+  RENORM.MAX      F32     NAN             # Maximum value for renormalisation
 END
 
