Index: /branches/ipp-magic-v0/ippconfig/recipes/masks.16bit.config
===================================================================
--- /branches/ipp-magic-v0/ippconfig/recipes/masks.16bit.config	(revision 21186)
+++ /branches/ipp-magic-v0/ippconfig/recipes/masks.16bit.config	(revision 21186)
@@ -0,0 +1,28 @@
+### Recipe specifying values for various mask concepts
+
+# This file defines bit values for various abstract mask concepts.  It
+# is not necessary for all bit values to be unique.
+
+# Note that it is necessary to leave at least a single unassigned bit
+# for internal marking (or ppImage will complain)
+
+# Mask values which represent features of the detector
+DETECTOR	U8	0x0001		# Something is wrong with the detector
+FLAT		U8	0x0002		# Pixel doesn't flat-field properly
+DARK		U8	0x0004		# Pixel doesn't dark-subtract properly
+BLANK		U8	0x0008		# Pixel doesn't contain valid data
+
+# Mask values which represent invalid signal ranges
+RANGE		U8	0x0010		# Pixel is out-of-range of linearity
+SAT		U8	0x0020		# Pixel is saturated
+BAD		U8	0x0040		# Pixel is low (can we rename this 'LOW'?)
+
+# Mask values which represent non-astronomical structures
+GHOST		U8	0x0100		# Pixel contains an optical ghost
+CR		U8	0x0200		# Pixel contains a cosmic ray
+STREAK		U8	0x0400		# Pixel contains a streak
+
+# Mask values which identify pixels badly affected by convolutions and interpolations
+BAD.WARP	U8	0x1000		# Pixel is bad after convolution with a bad pixel
+POOR.WARP	U8	0x2000		# Pixel is poor after convolution with a bad pixel
+
