
# turn these on to see specific outputs
SAVE.OUTPUT	BOOL 	TRUE
SAVE.BACKMDL	BOOL 	TRUE
SAVE.PSF	BOOL 	TRUE
SAVE.PLOTS     	BOOL    TRUE

BACKGROUND.XBIN	    S32  128            # size of background superpixels
BACKGROUND.YBIN	    S32  128            # 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

PSF_SN_LIM          F32  100             # 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 SMPDATA
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

#PSF.TREND.MODE STR MAP
#PSF.TREND.NX   S32 1
#PSF.TREND.NY   S32 1

DIAGNOSTIC.PLOTS		METADATA
  IMAGE.BACKGROUND.CELL.HISTOGRAM   BOOL FALSE
  IMAGE.BACKGROUND.CELL.HISTOGRAM.X S32 -1
  IMAGE.BACKGROUND.CELL.HISTOGRAM.Y S32 12
END

USE_FOOTPRINTS                      BOOL  TRUE       	  # use new pmFootprint peak packaging
