Index: trunk/ippconfig/simtest/camera.config
===================================================================
--- trunk/ippconfig/simtest/camera.config	(revision 15628)
+++ trunk/ippconfig/simtest/camera.config	(revision 16188)
@@ -136,5 +136,4 @@
 
 FITS    METADATA
-# FLOAT is the name of a custom floating-point scheme, or NONE
 # BITPIX is the bits per pixel for writing the output data
 # COMP = NONE|RICE|GZIP|HCOMPRESS|PLIO is the compression algorithm
@@ -143,11 +142,65 @@
 # HSCALE is the scale factor for lossy compression with HCOMPRESS; 0 or 1 for none; 2*RMS --> 10x compression
 # HSMOOTH is the smoothing to apply to HCOMPRESSed data when decompressing; 0 for none
-        TYPE            FITS    FLOAT	BITPIX  COMP     TILE.X  TILE.Y  TILE.Z  NOISE   HSCALE  HSMOOTH
-        DET_IMAGE       FITS    NONE	-32     RICE     0       1       1       16      0       0
-        DET_MASK        FITS    NONE	8       PLIO     0       1       1       0       0       0
-        DET_WEIGHT      FITS    NONE	-32     RICE     0       1       1       16      0       0
-        SKY_IMAGE       FITS    NONE	-32     RICE     0       1       1       16      0       0
-        SKY_MASK        FITS    NONE	8       PLIO     0       1       1       0       0       0
-        SKY_WEIGHT      FITS    NONE	-32     RICE     0       1       1       16      0       0
+
+# BITPIX(S32) is the bits per pixel for writing the output data
+# COMPRESSION(STR) = NONE|RICE|GZIP|HCOMPRESS|PLIO is the compression algorithm
+# TILE.[XYZ](S32) are the tile sizes.  0 means entire the dimension, so (0,1,1) forms tiles from rows
+# NOISE(S32) [0..16] is the number of "noise bits" to preserve when quantising floating point data
+# HSCALE(S32) is the scale factor for lossy compression with HCOMPRESS; 0 or 1 for none; 2*RMS --> 10x compression
+# HSMOOTH(S32) is the smoothing to apply to HCOMPRESSed data when decompressing; 0 for none
+# SCALING(STR) = NONE|RANGE|STDEV_POSITIVE|STDEV_NEGATIVE|STDEV_BOTH|MANUAL is the scaling scheme
+# BSCALE(F32) is the manual scaling to apply (when SCALING = MANUAL)
+# BZERO(F32) is the manual zero-point to apply (when SCALING = MANUAL)
+# STDEV.BITS(S32) is the number of bits to map to a standard deviation (when SCALING = STDEV_*)
+# STDEV.NUM(F32) is the number of standard deviations to the edge (when SCALING = STDEV_NEGATIVE|STDEV_POSITIVE)
+# FLOAT(STR) is the name of a custom floating-point type
+
+	DET_IMAGE	METADATA
+		BITPIX		S32	-32
+	END
+	DET_MASK	METADATA
+		BITPIX		S32	8
+	END
+	DET_WEIGHT	METADATA
+		BITPIX		S32	-32
+	END
+
+	SKY_IMAGE	METADATA
+		BITPIX		S32	-32
+	END
+	SKY_MASK	METADATA
+		BITPIX		S32	8
+	END
+	SKY_WEIGHT	METADATA
+		BITPIX		S32	-32
+	END
+
+	COMPRESSED_POSITIVE	METADATA
+		BITPIX		S32	16
+		SCALING		STR	SIGMA_POSITIVE
+		SIGMA.BITS	S32	4
+		SIGMA.NUM	F32	10
+		COMPRESSSION	STR	RICE
+		TILE.X		S32	0
+		TILE.Y		S32	1
+		TILE.Z		S32	1
+	END
+	COMPRESSED_MASK		METADATA
+		COMPRESSION	STR	PLIO
+		TILE.X		S32	0
+		TILE.Y		S32	1
+		TILE.Z		S32	1
+	END
+	COMPRESSED_SUBTRACTION	METADATA
+		BITPIX		S32	16
+		SCALING		STR	SIGMA_BOTH
+		SIGMA.BITS	S32	4
+		SIGMA.NUM	F32	5
+		COMPRESSION	STR	RICE
+		TILE.X		S32	0
+		TILE.Y		S32	1
+		TILE.Z		S32	1
+	END
+
 END
 
