Index: trunk/ippconfig/recipes/ppStack.config
===================================================================
--- trunk/ippconfig/recipes/ppStack.config	(revision 20368)
+++ trunk/ippconfig/recipes/ppStack.config	(revision 20423)
@@ -2,10 +2,10 @@
 
 ITER		S32	1		# Number of rejection iterations
-COMBINE.REJ	F32	4.0		# Rejection threshold in combination (sigma)
+COMBINE.REJ	F32	2.5		# Rejection threshold in combination (sigma)
 MASK.VAL	STR	MASK.VALUE,BAD.WARP	# Mask value of input bad pixels
 MASK.BAD	STR	BLANK		# Mask value to give bad pixels
 MASK.POOR	STR	POOR.WARP	# Mask value to give poor pixels
-POOR.FRACTION	F32	0.1		# Maximum fraction of bad weight for poor pixels
-THRESHOLD.MASK	F32	0.8		# Threshold for mask deconvolution (0..1)
+POOR.FRACTION	F32	0.2		# Maximum fraction of bad weight for poor pixels
+THRESHOLD.MASK	F32	0.5		# Threshold for mask deconvolution (0..1)
 IMAGE.REJ	F32	0.2		# Rejected pixel fraction threshold for rejecting entire image
 ROWS		S32	64		# Number of rows to read at once
@@ -25,8 +25,8 @@
 SOURCE.REJ	F32	2.0		# Rejection limit (sigma) for magnitude difference
 
-PSF.INSTANCES	S32	9		# Number of instances for PSF generation
+PSF.INSTANCES	S32	15		# Number of instances for PSF generation
 PSF.RADIUS	F32	20.0		# Radius for PSF generation
-PSF.ORDER	S32	2		# Order of spatial variation for PSF generation
-PSF.MODEL	STR	PS_MODEL_GAUSS	# Model for PSF generation
+PSF.ORDER	S32	1		# Order of spatial variation for PSF generation
+PSF.MODEL	STR	PS_MODEL_PS1_V1	# Model for PSF generation
 
 TEMP.DIR	STR	/tmp		# Directory for temporary images
@@ -36,5 +36,8 @@
 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	5		# Photometry gaussian sigma for weight (pixels)
+ZP.FRAC		F32	0.9		# Minimum fraction of good pixels
 
 # Recipe overrides for STACK
