# Recipe configuration for ppStack (image combination)

ITER		S32	1		# Number of rejection iterations
COMBINE.REJ	F32	4.0		# Rejection threshold in combination (sigma)
MASK.BAD	STR	BLANK,SAT,BAD	# Mask value of bad pixels
MASK.BLANK	STR	BLANK		# Mask value to give blank pixels
THRESHOLD.MASK	F32	0.8		# 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
VARIANCE	BOOL	TRUE		# Use variance in rejection?
SAFE		BOOL	TRUE		# Play safe when combining small number of values?

RENORM		BOOL	FALSE		# Renormalise variance maps?
RENORM.MEAN	STR	ROBUST_MEDIAN	# Statistic to use for mean in renormalisation
RENORM.STDEV	STR	ROBUST_STDEV	# Statistic to use for stdev in renormalisation
RENORM.WIDTH	S32	300		# Size of renormalisation boxes (pixels)

SOURCE.RADIUS	F32	2.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	3.0		# Rejection limit (sigma) for magnitude difference

PSF.INSTANCES	S32	9		# Number of instances for PSF generation
PSF.RADIUS	F32	20.0		# Radius for PSF generation
PSF.ORDER	S32	3		# Order of spatial variation for PSF generation
PSF.MODEL	STR	PS_MODEL_RGAUSS	# Model for PSF generation

TEMP.IMAGE	STR	conv.im.fits	# Suffix for convolved images
TEMP.MASK	STR	conv.mk.fits	# Suffix for convolved masks
TEMP.WEIGHT	STR	conv.wt.fits	# Suffix for convolved weight maps
TEMP.DELETE	BOOL	FALSE		# Delete temporary files on completion?
