% @(#)align_cent.hlq	19.1 (ESO-IPG) 02/25/03 14:02:55 
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
%.COPYRIGHT  (c)  1990 European Southern Observatory
%.IDENT      align_cent.hlq
%.AUTHOR     KB, IPG/ESO
%.KEYWORDS   MIDAS, help files, ALIGN/CENTER
%.PURPOSE    On-line help file for the command: ALIGN/CENTER
%.VERSION    1.0  26-JAN-1990 : Creation, KB
%----------------------------------------------------------------
\se
SECTION./CENT
\es\co
ALIGN/CENTER						26-JAN-1990  KB
\oc\su
ALIGN/CENTER inframe refframe incent_x,_y refcent_x,_y
	compute start coordinates for inframe to match with refframe center
\us\pu
Purpose:    
           Compute start coordinates for inframe so that center of inframe
           matches  with center of refframe (full pixels).
\up\sub
Subject:    
           Alignment
\bus\sy
Syntax:     
           ALIGN/CENTER inframe refframe incent_x,_y refcent_x,_y
\ys\pa
           inframe = input frame
\ap\pa
           refframe = reference frame
\ap\pa
           incent_x,_y = center coordinates of inframe
\ap\pa
           refcent_x,_y = center coordinates of refframe
\ap\sa
See also:
           ALIGN/IMAGE, REBIN/ROTATE, CENTER/...
\as\no
Note:       
           The input frame and reference frame must have the same stepsize.
           The resulting start values are only displayed, descr. START of
           input frame is NOT updated.
\on\exs
Examples:
\ex
           ALIGN/CENTER becerra vaca @10,@300 12.0,3245.0
            Calculate new start coordinates for frame `becerra.bdf' so that
            the center pixels of `becerra.bdf' and `vaca.bdf' are aligned.
\xe \sxe
