# Mask generation --- already included in default, above
PPMERGE_DARKMASK METADATA
  ITER           S32    3
  MASK.SUSPECT	 F32	3.0		# Threshold for suspect pixels (sigma)
  MASK.BAD	 F32	0.1		# Threshold for bad pixels 
  MASK.MODE	 STR	FRACTION	# Meaning of threshold : value, sigma
  SAMPLE         S32    100000          # Sampling factor for measuring the background
END

PPMERGE_FLATMASK METADATA
  ITER           S32    3
  MASK.SUSPECT	 F32	3.0		# Threshold for suspect pixels (sigma)
  MASK.BAD	 F32	0.1		# Threshold for bad pixels (sigma)
  MASK.MODE	 STR	FRACTION	# Threshold for bad pixels (sigma)
  SAMPLE         S32    100000          # Sampling factor for measuring the background
END

ROWS		S32	32		# Number of rows to read at once

# Ordinates for fitting dark current
DARK.ORDINATES	METADATA
	CELL.DARKTIME	S32	1
	CHIP.TEMP	METADATA
		ORDER	S32	1
		SCALE	BOOL	TRUE
		MIN	F32	-95
		MAX	F32	-50
	END
END
