Index: trunk/ippconfig/recipes/ppStack.config
===================================================================
--- trunk/ippconfig/recipes/ppStack.config	(revision 20715)
+++ trunk/ippconfig/recipes/ppStack.config	(revision 20996)
@@ -23,8 +23,33 @@
 RENORM.WIDTH	F32	2.2		# Gaussian width for normalisation
 
-SOURCE.RADIUS	F32	1.0		# Radius (pixels) for matching sources
-SOURCE.MIN	S32	15		# Minimum number of sources for merging source lists
-SOURCE.ITER	S32	2		# Number of rejection iterations for magnitude difference
-SOURCE.REJ	F32	2.0		# Rejection limit (sigma) for magnitude difference
+### The PHOT mode is intended as a quick and dirty stopgap; it should disappear soon.
+PHOT		BOOL	TRUE		# Calculate ZP using own photometry?
+PHOT.RADIUS	S32	7		# Photometry radius (pixels)
+PHOT.SIGMA	F32	2		# Photometry gaussian sigma for weight (pixels)
+PHOT.FRAC	F32	0.9		# Minimum fraction of good pixels
+
+ZP.RADIUS	F32	1.0		# Radius (pixels) for matching sources
+ZP.ITER		S32	1000		# Maximum iterations for zero point
+ZP.TOL		F32	1.0e-6		# Tolerance for zero point iterations
+ZP.TRANS.ITER	S32	2		# Iterations for transparency determination
+ZP.TRANS.REJ	F32	3.0		# Rejection threshold for transparency determination
+ZP.TRANS.THRESH	F32	1.0		# Threshold for transparency determination
+ZP.STAR.REJ	F32	3.0		# Rejection threshold for stars
+ZP.STAR.LIMIT	F32	1.0e-2		# Limit on star rejection fraction for successful iteration
+ZP.STAR.SYS	F32	0.05		# Estimated systematic error
+ZP.AIRMASS	METADATA		# Airmass terms by filter
+	g	F32	0.0
+	r	F32	0.0
+	i	F32	0.0
+	z	F32	0.0
+	y	F32	0.0
+END
+	
+
+### The following is obsolete
+#SOURCE.RADIUS	F32	1.0		# Radius (pixels) for matching sources
+#SOURCE.MIN	S32	15		# Minimum number of sources for merging source lists
+#SOURCE.ITER	S32	2		# Number of rejection iterations for magnitude difference
+#SOURCE.REJ	F32	2.0		# Rejection limit (sigma) for magnitude difference
 
 PSF.INSTANCES	S32	15		# Number of instances for PSF generation
@@ -39,9 +64,4 @@
 TEMP.DELETE	BOOL	TRUE		# Delete temporary files on completion?
 
-ZP		BOOL	TRUE		# Calculate ZP using own photometry?
-ZP.RADIUS	S32	7		# Photometry radius (pixels)
-ZP.SIGMA	F32	2		# Photometry gaussian sigma for weight (pixels)
-ZP.FRAC		F32	0.9		# Minimum fraction of good pixels
-
 # Recipe overrides for STACK
 STACK	METADATA
