Index: /trunk/ippconfig/isp/psphot.config
===================================================================
--- /trunk/ippconfig/isp/psphot.config	(revision 13162)
+++ /trunk/ippconfig/isp/psphot.config	(revision 13163)
@@ -8,45 +8,50 @@
 
 # image statistics parameters
-IMSTATS_NPIX        S32  1000    	 # number of pixels to use for sky estimate boxes:
+IMSTATS_NPIX        S32  3000    	 # number of pixels to use for sky estimate boxes:
 
-PSF_SN_LIM          F32  25              # minimum S/N for stars used for PSF model
+PSF_SN_LIM          F32  10              # 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
-# list as many PSF_MODEL options as desired
-# PSF_MODEL         MULTI
 PSF_MODEL         STR  PS_MODEL_QGAUSS
-# PSF_MODEL         STR  PS_MODEL_GAUSS
-# PSF_MODEL         STR  PS_MODEL_PGAUSS
-# PSF_MODEL           STR  PS_MODEL_TEST1
 
 MOMENTS_SN_MIN      F32   10.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  20.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  20.0
+PSF_CLUMP_NSIGMA   F32  2.5             # region of Sx,Sy plane to use for selecting PSF stars
 
 # PSFTREND must be a 2D polynomial
 # the specified values are ignored but define the active components of the polynomial
 PSF.TREND.MASK  METADATA  
-   NORDER_X         S32       2                # number of x orders
-   NORDER_Y         S32       2                # number of y orders
+   NORDER_X         S32       3                # number of x orders
+   NORDER_Y         S32       3                # number of y orders
    VAL_X00_Y00      F64       1                # polynomial coefficient
+
    VAL_X01_Y00      F64       1                # polynomial coefficient
    VAL_X00_Y01      F64       1                # polynomial coefficient
+
    VAL_X02_Y00      F64       1                # polynomial coefficient
    VAL_X01_Y01      F64       1                # polynomial coefficient
    VAL_X00_Y02      F64       1                # polynomial coefficient
-   NELEMENTS        S32       6                # number of unmasked components
+
+   VAL_X03_Y00      F64       1                # polynomial coefficient
+   VAL_X02_Y01      F64       1                # polynomial coefficient
+   VAL_X01_Y02      F64       1                # polynomial coefficient
+   VAL_X00_Y03      F64       1                # polynomial coefficient
+   NELEMENTS        S32       10               # number of unmasked components
 END  # folder for 4D polynomial
 
-# APTREND must be a 4D polynomial
-# the specified values are ignored but define the active components of the polynomial
-AP.TREND.MASK  METADATA  
-   NORDER_X         	S32   2                # number of x orders
-   NORDER_Y         	S32   2                # number of y orders
-   NORDER_Z         	S32   1                # number of z orders
-   NORDER_T         	S32   1                # number of t orders
-   VAL_X00_Y00_Z00_T00  F64   1                # polynomial coefficient
-   VAL_X00_Y00_Z01_T00  F64   0                # polynomial coefficient
-   NELEMENTS            S32   2                # number of unmasked components
-END  # folder for 4D polynomial
+XMIN F32 15
+PSF.RESIDUALS       BOOL false
+BREAK_POINT         STR  ENSEMBLE
+OUTPUT.FORMAT       STR  PS1_DEV_0
+
+PSPHOT.SUMMIT METADATA
+ PEAKS_SMOOTH_SIGMA  F32  0.8 	   	 # peak significance threshold
+ PEAKS_NSIGMA_LIMIT  F32  50.0 	   	 # peak significance threshold
+ PEAKS_NMAX          S32  1000
+ SAVE.RESID	BOOL 	FALSE
+ PSF_SN_LIM          F32  25              # minimum S/N for stars used for PSF model
+ MOMENTS_SN_MIN      F32   25.0
+ PSF_MODEL         STR  PS_MODEL_PGAUSS
+END
