% @(#)mkflatirac.hlq	19.1 (ESO-DMD) 02/25/03 14:22:38
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
%.COPYRIGHT  (c)  1995 European Southern Observatory
%.IDENT      mkflat_irac.hlq
%.AUTHOR     David L. Clements, ESO
%.KEYWORDS   MIDAS, help files, irac
%.PURPOSE    On-line help file for the command: SSUB/IRAC
%.VERSION    1.0  951005 DLC Creation
%----------------------------------------------------------------
\se
SECTION./IRAC
\es\co
MKFLAT/IRAC                                        		6-Oct-1995 DLC
\oc\su
MKFLAT/IRAC lamp_on lamp_off flat_field 
	Make a flat field
\us\pu
Purpose:      
	Subtracts lamp off from lamp on and normalises result to make a flat
	field
\up\sy
Syntax:       
	MKFLAT/IRAC lamp_on lamp_off flat_field 
\ys\pa
	lamp_on    = name of frame with flat field light on
\ap\pa
	lamp_off   = name of frame with flat field light off
\ap\pa
	flat_field = name for output flat field frame
\ap\no
Note:        
	This command subtracts a lamp off frame from a lamp off frame and then
	normalises the resulting frame to 1 to generate a flat field. The user
	should check that the filters and integration times for the input
	images are the same, otherwise the output will not be scientifically
	useful. 
\on\exs
Examples:
\ex
        MKFLAT/IRAC klampon klampoff kflat
	Calculate the flat field image kflat by subtracting the lamp off
	frame klampoff from the lamp on frame klampon and then normalising the
	resulting frame to a mean of 1.
\xe \sxe
