### Recipe file for ppSub

KERNEL.TYPE	STR	ISIS		# Kernel type to use (POIS|ISIS|SPAM|FRIES|GUNK|RINGS)
KERNEL.SIZE     S32	20		# Kernel half-size (pixels)
SPATIAL.ORDER   S32	2		# Spatial polynomial order
REGION.SIZE	F32	0		# Iso-kernel region size (pixels)
STAMP.SPACING   F32	400		# Typical spacing between stamps (pixels)
STAMP.FOOTPRINT S32	20		# Size of stamps (pixels)
STAMP.THRESHOLD F32	0		# Flux threshold for stamps (ADU)
ITER            S32	10		# Number of rejection iterations
REJ             F32	1.5		# Rejection level (std dev)
MASK.BAD        STR	BLANK,BAD,SAT	# Mask value for bad pixels
MASK.BLANK      STR	BLANK		# Mask value to give blank pixels
@ISIS.WIDTHS	F32	1 3 5		# Gaussian FWHMs for ISIS kernels
@ISIS.ORDERS	S32	2 2 2		# Polynomial orders for ISIS kernels
SPAM.BINNING	S32	2		# Binning in outer region for SPAM kernels
INNER		S32	5		# Inner half-size for SPAM and FRIES kernels
RINGS.ORDER	S32	2		# Polynomial order for RINGS kernels

OPTIMUM		BOOL	FALSE		# Derive optimum parameters for ISIS and GUNK kernels
OPTIMUM.MIN	F32	1.0		# Minimum width for optimum FWHM search
OPTIMUM.MAX	F32	20		# Maximum width for optimum FWHM search
OPTIMUM.STEP	F32	0.5		# Step in width for optimum FWHM search
OPTIMUM.TOL	F32	3.0e-3		# Maximum difference in chi^2 between iterations to settle for
OPTIMUM.ORDER	S32	2		# Maximum polynomial order for optimum search

### Modifications to use when stacking data
STACK	METADATA
	KERNEL.TYPE	STR	RINGS	# Kernel type to use (POIS|ISIS|SPAM|FRIES|GUNK|RINGS)
END
