
# turn these on to see specific outputs
SAVE.OUTPUT	BOOL 	TRUE
SAVE.BACKMDL	BOOL 	TRUE
#SAVE.RESID	BOOL 	TRUE
#SAVE.BACKGND	BOOL 	TRUE
#SAVE.BACKSUB	BOOL 	TRUE
#SAVE.PSF	BOOL 	TRUE
#LOAD.PSF	BOOL 	FALSE
#SAVE.PLOTS     	BOOL    TRUE

BACKGROUND.XBIN	    S32  256            # size of background superpixels
BACKGROUND.YBIN	    S32  256            # size of background superpixels

# image background parameters
IMSTATS_NPIX        S32  10000    	 # number of pixels to use for sky estimate boxes:
SKY_STAT            STR  FITTED_MEAN_V4  # statistic used to measure background
SKY_CLIP_SIGMA      F32  2.0             # statistic used to measure background

PEAKS_SMOOTH_SIGMA  F32   2.5            # smoothing kernel sigma in pixels
PEAKS_NMAX          S32   5000           # on first pass, only keep NMAX peaks (0 == all)
PEAKS_NSIGMA_LIMIT  F32   25.0            # peak significance threshold
PEAKS_NSIGMA_LIMIT_2 F32  10.0             # peak significance threshold

PSF_SN_LIM          F32  25              # minimum S/N for stars used for PSF model
PSF_MAX_NSTARS      S32  300             # limit number of stars used for PSF model

# PSF model parameters : choose the PSF model desired
PSF_MODEL           STR  PS_MODEL_QGAUSS

MOMENTS_SN_MIN      F32   30.0
EXT_MIN_SN           F32  50.0           # fit galaxies above this S/N limit
FULL_FIT_SN_LIM      F32  50.0
AP_MIN_SN            F32  50.0

OUTPUT.FORMAT       STR PS1_DEV_1

PSF_SHAPE_NSIGMA     F32  3.0		 # max significance for shape variation
PSF_MAX_CHI          F32  50.0		 # reject objects worse that this
APTREND.ORDER.MAX    S32  1
MEASURE.APTREND      BOOL  FALSE  ### XXX for now, skip this (too many errors)

# BREAK_POINT STR ENSEMBLE

DIAGNOSTIC.PLOTS                    METADATA
  IMAGE.BACKGROUND.CELL.HISTOGRAM   BOOL  FALSE
  IMAGE.BACKGROUND.CELL.HISTOGRAM.X S32   32
  IMAGE.BACKGROUND.CELL.HISTOGRAM.Y S32   15
END

USE_FOOTPRINTS                      BOOL  TRUE       	  # use new pmFootprint peak packaging
