% @(#)residuroma.hlq	19.1 (ESO-IPG) 02/25/03 13:29:29 
\se              
SECTION./ROMAFOT
\es\co
RESIDUAL/ROMAFOT                                              08-AUG-1989 RHW
\oc\su               
RESIDUAL/ROMAFOT in_frame out_frame diff_frame [reg_tab]
	compute reconstructed image and difference with original image
\us\pu
Purpose:      Compute reconstructed image and the difference with the 
              original image
\up\sy               
Syntax:       RESIDUAL/ROMAFOT in_frame out_frame diff_frame [reg_tab]
\ys\pa                                                                          
              in_frame =   original input image frame
\ap\pa                                                                          
              out_frame =  output image frame with the composition of all the 
                           analytical fits.
\ap\pa
              diff_frame = output image frame containing the difference between
                           the original frame and the rec_frame.
\ap\pa
              reg_tab =    registration table created by REGISTER/ROMAFOT
                           storing the results of photometry. Default is the 
                           name of the in_frame extended with `REG'.
\ap\no
Note:         The difference frame could be useful to detect the residuals
              of photometry and to add some windows with previously undetected 
              objects to the intermediate file. Given the interactivity
              allowed by ROMAFOT, this command is rather abundant.
\on\exs                                                                        Examples:                            
\ex
              RESIDUAL/ROMAFOT GCLUST RECIMA DIFFIMA ?
              Read analytical parameters from the tabel GCLUSTREG, compute 
              their photometric effects on the original frame and create the 
              frame RECIMA; thereafter compute the difference with the original
              frame and put the result in the frame DIFFIMA.
\xe \sxe                                                                        
