% @(#)flat_fero.hlq	19.1 (ESO-IPG) 02/25/03 14:20:55
% @(#)flat_fero.hlq  1.0 (ESO-IPG) 13-11-1997
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
%.COPYRIGHT  (c)  1997 European Southern Observatory
%.IDENT      flat_fero.hlq
%.AUTHOR     AM, LSW Heidelberg, IPG/ESO
%.KEYWORDS   MIDAS, help files, FLAT/FEROS 
%.PURPOSE    On-line help file for the command: FLAT/FEROS
%.VERSION    1.0  13-NOV-97 : Creation, AM
%----------------------------------------------------------------
\se
SECTION./FEROS
\es\co
FLAT/FEROS                                        23-FEB-99 AM/OS
\oc\su
FLAT/FEROS [inspectrum] [flatspectrum] [outspectrum]
        Remove blaze function from spectrum through division by
        spectrum of flatfield lamp.

\us\pu
Purpose:    
        Remove blaze function from spectrum through division by
        spectrum of flatfield lamp.

\up\sy
Syntax:     
            FLAT/FEROS [inspectrum] [flatspectrum] [outspectrum]

\ys\pa
            inspectrum = root name of input image (extracted spectrum)

\ap\pa      
            flatspectrum = root name of flatfield lamp image 
                           (extracted spectrum)
\ap\pa
            outspectrum = root name of output image
\ap\sa
See also: 
            EXTRACT/FEROS

\as\no
Note:       
            1) inspectrum, flatspectrum and outspectrum are root names.
               For double fiber mode the names of the files to be
               accessed are generated from the root name and the appendices
               1 and 2. For all other modes the filenames are
               identical with the root names.

            2) The distinction between single fiber and double fiber is
               made via the keyword FIBER_MODE.

            3) flatspectrum must exist on disk. It can be created
               by applying the command EXTRACT/FEROS to a spectrum
               of a flatfield lamp.

\on\exs
Examples:
\ex        
            FLAT/FEROS
            Remove the blazefunction using default filenames, which
            are stored in keywords.  
\xe\ex
            FLAT/FEROS thisimage thatimage anotherimage
            Remove the blazefunction from the spectrum with root
            name thisimage through division by the spectrum with
            root name thatimage and store the result in a file
            with root name anotherimage.
\xe\sxe
