% @(#)normalmos.hlq	1.2 (ESO-DMD) 2/14/94 14:21:16
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
%.COPYRIGHT  (c)  1994 European Southern Observatory
%.IDENT      normalmos.hlq
%.AUTHOR     PB, DMD/ESO
%.KEYWORDS   MIDAS, help files, NORMALIZE/MOS
%.PURPOSE    On-line help file for the command: NORMALIZE/MOS
%.VERSION    1.0  14-FEB-1994 : Creation, PB
%----------------------------------------------------------------
\se
SECTION./MOS
\es\co
NORMALIZE/MOS					19-AUG-1993 OS
\oc\su
NORMALIZE/MOS [ff] [table] [normff] [order] [method] 
	Normalize MOS flat-field frame
\us\pu
Purpose:   
	  Normalize MOS flat-field frame
\up\sy
Syntax:		
	  NORM/MOS [ff] [table] [normff] [order] [method]
\ys\pa
	  ff = flat field image
              Session keyword: FLAT
              Default: flat
	  table = Input table with slitlet positions
              Session keyword: MOS
              Default: mos
	  normff = Output image
              Session keyword: NORMFLAT
              Default: normflat
	  order = order of fit, or width of median filter
              Session keyword: FFORD
              Default: 3
	  method = smoothing method (median or polynomial)
              Session keyword: NORMMET
              Default: poly
\ap\sa
See also: 
	  FLAT/MOS
\as\no
Note:       
	  This command will fit a polynomial of order ORDER
	  to the flat FF (resp. smooth FF with a median filter 
	  of width ORDER), and divide the flat by its smooth version,
	  thereby creating the normalized flat NORMFF. This normalized 
	  flat should now only show the high-frequency pixel-to-pixel 
	  variations of the CCD sensitivity. 
\on\exs
Examples:
\ex
	  NORMA/MOS flat mos normflat 2 poly
          Takes flat.bdf and fits within the limits given by mos.tbl 
          a 2nd order polynomials to the spectral characteristics of 
          the intensity. Divides flat.bdf by these fits and stores 
          the results in normflat.bdf.
	  NORMA/MOS ff ? normff 5 median
          Takes ff.bdf and smooths it with a median filter of 5 pixels
          width within the limits given by the table stored in keyword 
          MOS. Divides ff.bdf by the smoothed frame and stores the 
          results in normflat.bdf.
\xe \sxe
