Index: trunk/ippconfig/isp/camera.config
===================================================================
--- trunk/ippconfig/isp/camera.config	(revision 9348)
+++ trunk/ippconfig/isp/camera.config	(revision 9503)
@@ -48,4 +48,34 @@
 END
 
+
+# Rejection levels for detrend creation
+REJECTION	METADATA
+	TYPE	LIMITS	FILTER	EXPECTED	IMFILE.MEAN	IMFILE.STDEV	EXP.MEAN	EXP.STDEV	EXP.MEANSTDEV	ENSEMBLE.MEAN	ENSEMBLE.STDEV	ENSEMBLE.MEANSTDEV
+	FLAT	MULTI
+
+	BIAS	LIMITS	*	0		0		15		0		15		0		0		0		0
+	DARK	LIMITS	*	0		0		0		0		0		0		0		0		0
+	FLAT	LIMITS	*	0		0		0		0		0		0		0		0		0
+#	FLAT	LIMITS	u	0		0		0		0		0		0		0		0		0
+#	FLAT	LIMITS	g	0		0		0		0		0		0		0		0		0
+#	FLAT	LIMITS	r	0		0		0		0		0		0		0		0		0
+#	FLAT	LIMITS	i	0		0		0		0		0		0		0		0		0
+#	FLAT	LIMITS	z	0		0		0		0		0		0		0		0		0
+
+# FILTER is an additional qualifier, and may be "*" (or absent!), in which case it matches everything
+# EXPECTED is the expected mean value
+# IMFILE.MEAN is the maximum permitted mean value for an imfile
+# IMFILE.STDEV is the maximum permitted standard deviation for an imfile
+# EXP.MEAN is the maximum permitted mean value for an exposure
+# EXP.STDEV is the maximum permitted standard deviation for an exposure
+# EXP.MEANSTDEV is the maximum permitted mean standard deviation for an exposure
+# ENSEMBLE.MEAN is the maximum permitted mean for an ensemble of exposures
+# ENSEMBLE.STDEV is the maximum permitted standard deviation for an ensemble of exposures
+# ENSEMBLE.MEANSTDEV is the maximum permitted mean standard deviation for an ensemble of exposures
+# These values (all except FILTER) may be zero, in which case no clipping is applied.
+
+END
+		
+
 FILERULES METADATA
    PSASTRO.INPUT      STR PSASTRO.INPUT.CMP
@@ -59,8 +89,8 @@
    PPARITH.INPUT      INPUT    none.fits                      NONE          NONE         NONE         IMAGE     FPA
 
-   PPIMAGE.BIAS       INPUT    /data/alala/eugene/swtests/pantasks/isp/bias.fits NONE          NONE         NONE         IMAGE     CHIP       
-   PPIMAGE.DARK       INPUT    /data/alala/eugene/swtests/pantasks/isp/dark.fits NONE          NONE         NONE         IMAGE     CHIP       
-   PPIMAGE.SHUTTER    INPUT    /data/alala/price/isp/shutter/ISP.shutter.3.0.isp.fits NONE    NONE         NONE         IMAGE     CHIP
-   PPIMAGE.FLAT       INPUT    /data/alala/price/isp/flat/ISP.flat.4.0.isp.fits NONE          NONE         NONE         IMAGE     CHIP       
+   PPIMAGE.BIAS       INPUT    /data/alala/price/isp/bias/ISP.bias.norm.1.0.isp.fits NONE          NONE         NONE         IMAGE     CHIP       
+   PPIMAGE.DARK       INPUT    /data/alala/price/isp/dark/ISP.dark.norm.2.0.isp.fits NONE          NONE         NONE         IMAGE     CHIP       
+#   PPIMAGE.SHUTTER    INPUT    /data/alala/price/isp/shutter/ISP.shutter.3.0.isp.fits NONE    NONE         NONE         IMAGE     CHIP
+   PPIMAGE.FLAT       INPUT    /data/alala/price/isp/flat/ISP.flat.norm.3.0.isp.fits NONE          NONE         NONE         IMAGE     CHIP       
    PPIMAGE.MASK       INPUT    mask.fits                      NONE          NONE         NONE         IMAGE     CHIP       
 
