% @(#)computabso.hlq	19.1 (ESO-IPG) 02/25/03 13:23:21 
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
%.COPYRIGHT  (c)  1990 European Southern Observatory
%.IDENT      computabso.hlq
%.AUTHOR     MP, IPG/ESO
%.KEYWORDS   MIDAS, help files, COMPUTE/ABSORPTION
%.PURPOSE    On-line help file for the command: COMPUTE/ABSORPTION
%.VERSION    1.0  25-APR-1988 : Creation, MP
%----------------------------------------------------------------
\se
SECTION./ABSORPTION
\es\co
COMPUTE/ABSORPTION                               25-APR-1988   MP
\oc\su
COMPUTE/ABSORPTION inframe outframe [cm_table] [ap_table] [psframe]
	computes a synthetic 1dim. absorption spectrum
\us\pu
Purpose:   
           Induces absorption lines on a 1D spectrum
           The resulting frame is computed at a given instrumental
	   resolution.
\up\sub
Subject:   
           Spectroscopy, intersteller and intergalactic absorption,
	   synthetic spectrum
\bus\sy
Syntax:    
           COMPUTE/ABSORPTION in out [cm_table] [ad_table] [psf_frame]
\ys\pa
           inframe   = input frame.To be created by the command
		       COMPUTE/EMI
\ap\pa
           outframe  = output synthetic spectrum
\ap\pa
           cm_table  = table containing the cloud model:
		       position, thermal width, column density, atomic
		       transition for the lines to be created.
                       A template can be found in \\
                       MID_CLOUD:absc.tbl
                       Default: absc
\ap\pa
           ad_table  = table containing the atomic data.
                       A template can be found in MID_CLOUD:absp.tbl
                       Default: absp
\ap\pa
           psf_frame  = image containing the instrumental
                       response. To be created by command ABS/PSF.
                       Default: psf
\ap\no
Note:      
           The redshift of the emission source and the option
	   for the shape of the absorption profiles (maxwellian or voigtian)
	   are to be entered via keywords CLDZ  and CLDOP.	
	   For a complete description see MIDAS Users Guide: CLOUD CONTEXT
\on\exs
Examples:
\ex
           COMPUTE/ABSORPTION backg result test
 	   the command will create two spectra, namely :\\
	    1- result1  or result0   : theoretical spectrum\\
	    2- result1c or result0c  : theoretical spectrum convolved by
	       the instumental PSF\\
	   the character 0 or 1 refering to the option for
	   maxwellian or Voigtian absorption line profiles respectively.	
\xe\sxe

