Index: /trunk/ippconfig/mcshort/camera.config
===================================================================
--- /trunk/ippconfig/mcshort/camera.config	(revision 10456)
+++ /trunk/ippconfig/mcshort/camera.config	(revision 10457)
@@ -118,16 +118,16 @@
 # 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
+	TYPE	LIMITS	FILTER	EXPECTED	IMFILE.MEAN	IMFILE.STDEV	EXP.MEAN	EXP.STDEV	EXP.MEANSTDEV	ENSEMBLE.MEAN	ENSEMBLE.STDEV	ENSEMBLE.MEANSTDEV	IMFILE.SN	EXP.SN
 	FLAT	MULTI
 
-	BIAS	LIMITS	*	0		1		5		0.5		5		0.5		3		3		3
-	DARK	LIMITS	*	0		1		5		0.5		5		0.5		3		3		3
-	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
-	FRINGE	LIMITS	*	0		0		0		0		0		0		0		0		0
+	BIAS	LIMITS	*	0		1		5		0.5		3		0.5		3		3		0			0		0
+	DARK	LIMITS	*	0		1		5		0.5		3		0.5		3		3		0			0		0
+	FLAT	LIMITS	*	0		0		0		0		0		0		0		0		3			0		0
+#	FLAT	LIMITS	u	0		0		0		0		0		0		0		0		3			0		0
+#	FLAT	LIMITS	g	0		0		0		0		0		0		0		0		3			0		0
+#	FLAT	LIMITS	r	0		0		0		0		0		0		0		0		3			0		0
+#	FLAT	LIMITS	i	0		0		0		0		0		0		0		0		3			0		0
+#	FLAT	LIMITS	z	0		0		0		0		0		0		0		0		3			0		0
+	FRINGE	LIMITS	*	0		0		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
@@ -137,8 +137,10 @@
 # EXP.MEAN is the maximum permitted mean value for an exposure, relative to the standard deviation
 # EXP.STDEV is the maximum permitted standard deviation for an exposure
-# EXP.MEANSTDEV is the maximum permitted mean standard deviation for an exposure
+# EXP.MEANSTDEV is the maximum permitted mean standard deviation for an exposure relative to the mean
 # 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
+# IMFILE.SN is the minimum permitted signal-to-noise for an imfile
+# EXP.SN is the minimum permitted signal-to-noise for an exposure
 # These values (all except FILTER) may be zero, in which case no clipping is applied.
 
@@ -159,5 +161,5 @@
    PPIMAGE.MASK       INPUT mcshort/mask.{CHIP.NAME}.fits                  {CHIP.NAME}   {CHIP.NAME}  NONE         CHIP       MASK     
    PPIMAGE.BIAS       INPUT megacam/bias/MEGACAM.bias.norm.1.0.{CHIP.NAME}.fits {CHIP.NAME} {CHIP.NAME} NONE       CHIP       IMAGE     
-   PPIMAGE.DARK       INPUT mcshort/MCSHORT.dark.norm.2.0.{CHIP.NAME}.fits {CHIP.NAME}   {CHIP.NAME}  NONE         CHIP       IMAGE     
+   PPIMAGE.DARK       INPUT megacam/dark/MCSHORT.dark.norm.2.1.{CHIP.NAME}.fits {CHIP.NAME}   {CHIP.NAME}  NONE         CHIP       IMAGE     
    PPIMAGE.FLAT       INPUT mcshort/MCSHORT.flat.norm.3.0.{CHIP.NAME}.fits {CHIP.NAME}   {CHIP.NAME}  NONE         CHIP       IMAGE     
    PPIMAGE.FRINGE     INPUT mcshort/MCSHORT.fringe.norm.4.0.{CHIP.NAME}.fits {CHIP.NAME} {CHIP.NAME}  NONE         CHIP       FRINGE     
Index: /trunk/ippconfig/megacam/camera.config
===================================================================
--- /trunk/ippconfig/megacam/camera.config	(revision 10456)
+++ /trunk/ippconfig/megacam/camera.config	(revision 10457)
@@ -117,27 +117,29 @@
 # 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
+	TYPE	LIMITS	FILTER	EXPECTED	IMFILE.MEAN	IMFILE.STDEV	EXP.MEAN	EXP.STDEV	EXP.MEANSTDEV	ENSEMBLE.MEAN	ENSEMBLE.STDEV	ENSEMBLE.MEANSTDEV	IMFILE.SN	EXP.SN
 	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
-	FRINGE	LIMITS	*	0		0		0		0		0		0		0		0		0
+	BIAS	LIMITS	*	0		1		5		0.5		3		0.5		3		3		0			0		0
+	DARK	LIMITS	*	0		1		5		0.5		3		0.5		3		3		0			0		0
+	FLAT	LIMITS	*	0		0		0		0		0		0		0		0		3			0		0
+#	FLAT	LIMITS	u	0		0		0		0		0		0		0		0		3			0		0
+#	FLAT	LIMITS	g	0		0		0		0		0		0		0		0		3			0		0
+#	FLAT	LIMITS	r	0		0		0		0		0		0		0		0		3			0		0
+#	FLAT	LIMITS	i	0		0		0		0		0		0		0		0		3			0		0
+#	FLAT	LIMITS	z	0		0		0		0		0		0		0		0		3			0		0
+	FRINGE	LIMITS	*	0		0		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.MEAN is the maximum permitted mean value for an imfile, relative to the standard deviation
 # IMFILE.STDEV is the maximum permitted standard deviation for an imfile
-# EXP.MEAN is the maximum permitted mean value for an exposure
+# EXP.MEAN is the maximum permitted mean value for an exposure, relative to the standard deviation
 # EXP.STDEV is the maximum permitted standard deviation for an exposure
-# EXP.MEANSTDEV is the maximum permitted mean standard deviation for an exposure
+# EXP.MEANSTDEV is the maximum permitted mean standard deviation for an exposure relative to the mean
 # 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
+# IMFILE.SN is the minimum permitted signal-to-noise for an imfile
+# EXP.SN is the minimum permitted signal-to-noise for an exposure
 # These values (all except FILTER) may be zero, in which case no clipping is applied.
 
