% @(#)rippleeche.hlq	19.1 (ESO-IPG) 02/25/03 14:18:39 
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
%.COPYRIGHT  (c)  1990 European Southern Observatory
%.IDENT      rippleeche.hlq
%.AUTHOR     JDP, IPG/ESO
%.KEYWORDS   MIDAS, help files, RIPPLE/ECHELLE
%.PURPOSE    On-line help file for the command: RIPPLE/ECHELLE
%.VERSION    1.0  17-DEC-1986 : Creation, JDP
%----------------------------------------------------------------
\se
SECTION./ECHE
\es\co
RIPPLE/ECHELLE						25-SEP-1991  PB
\oc\su
RIPPLE/ECHELLE input output [params] [method] [option]
	correct for the blaze function
\us\pu
Purpose:    
            Correct for the echelle blaze function. Input data results
            from the sequence of commands\\
            EXTRACT/ECHELLE
\\
            REBIN/ECHELLE
\\
            Three methods are implemented. The first one (SINC)
            is based on Ahmad, 1981, NASA IUE Newsletter, 14, 129. 
            The second method (OVER) is based on BARKER, 1984, 
            Astron.J., 89, 899. In this case only the parameter k is 
            fitted.
            The third method (FIT) is an extension of OVER to
            fit both parameters k and alpha.
            See manual for detailed command description.

\up\sy
Syntax:     RIPPLE/ECHELLE input output [params] [method] [option]
\ys\pa
            input  = extracted orders, sampled in wavelengths.
                     Produced by EXTRACT/ECHELLE and REBIN/ECHELLE.
\ap\pa
            output = ripple corrected orders. Use the command
                     MERGE/ECHELLE to get 1D files.
\ap\pa
            params = parameters. They depend on the method.\\
                     Method SINC: k,alpha\\
                     Method OVER: lambda1,lambda2,k,alpha\\
                     Method FIT:  lambda1,lambda2,k,alpha\\
                     See manual for detailed command description.
                     The coresponding echelle keywords are
                     LAMBDA1, LAMBDA2, RIPK, ALPHA.
\ap\pa
            method = defines the method used for correction.
                     Possible methods are SINC, OVER or FIT.
                     Echelle keyword is RIPMTD.             
\ap\pa
            option = Allows to freeze the values of K and Alpha
                     during the computation. Possible options are
                     NO or FREEZE. Default is NO.
                     Echelle keyword is RIPFRZ.
\ap\no

            The parameter K is the grating constant. This value
            is estimated during the wavelength calibration and echelle
            keyword RIPK is updated.

Note:       Recommended values (for Caspec) for 31.6 grooves/mm resp. 52 grooves/mm:
            k \ \ \ \ \ \ \ \  568746.0\ \ \ \ \ \ 344705.0\\
            alpha \ \ \ \ \ \ \ \ \ 0.8 \ \ \ \ \ \ \ \ 0.8\\
            lambda1 \ \ \ \ \ \ \ \ 1.\ \ \ \ \ \ \ \ \ 1.\\
            lambda2\ \ \ \ \ \ \ \ 20. \ \ \ \ \ \ \ \ 20.
\on\exs
Examples:
\ex
            RIPPLE/ECHELLE input output 568746.,0.8
\xe \sxe
