Index: trunk/ippconfig/recipes/psphot.config
===================================================================
--- trunk/ippconfig/recipes/psphot.config	(revision 13199)
+++ trunk/ippconfig/recipes/psphot.config	(revision 13284)
@@ -28,4 +28,6 @@
 SKY_STAT            STR  FITTED_MEAN_V3  # statistic used to measure background
 SKY_CLIP_SIGMA      F32  2.0             # statistic used to measure background
+SKY_SIG             F32  1.0             # optional sky error for 
+
 # allowed values for SKY_STAT: 
 # SAMPLE_MEAN, SAMPLE_MEDIAN, CLIPPED_MEAN, ROBUST_MEAN, ROBUST_QUARTILE, FITTED_MEAN
@@ -56,6 +58,8 @@
 PSF_MOMENTS_RADIUS  F32  3               # calculate initial source moments with this radius
 PSF_SN_LIM          F32  50              # minimum S/N for stars used for PSF model
-PSF_MAX_NSTARS      S32  300             # limit number of stars used for PSF model
-PSF_CLUMP_NSIGMA   F32  1.5             # region of Sx,Sy plane to use for selecting PSF stars
+PSF_MAX_NSTARS      S32  200             # limit number of stars used for PSF model
+PSF_CLUMP_NSIGMA    F32  1.5             # region of Sx,Sy plane to use for selecting PSF stars
+PSF_MIN_DS          F32  0.01
+PSF_PARAM_WEIGHTS   BOOL FALSE
 
 # PSF model parameters : choose the PSF model
@@ -70,13 +74,8 @@
 # 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       0                # number of x orders
+   NORDER_Y         S32       0                # 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
+   NELEMENTS        S32       1                # number of unmasked components
 END  # folder for 2D polynomial
 
@@ -120,5 +119,4 @@
 # MOMENTS_OUTPUT_FILE STR  moments.dat
 # ANALYSIS_REGION     STR  [1000:1600,2800:3400]
-# POISSON_ERRORS      BOOL TRUE
 
 # optional parameter to limit the actual analysis to a fraction of the image
