The kmo_noise_map recipe
===============================================================

.. data:: kmo_noise_map

Synopsis
--------

Generate a noise map from a raw frame

Description
-----------

The noise in each pixel of the input data is estimated using gain and readnoise.

The readnoise is expected to be in the primary header (ESO DET CHIP RON), the
gain (ESO DET CHIP GAIN) has to be in each of the subsequent headers of each 
detector frame. The output is the initial noise map of the data frame.


Input files
^^^^^^^^^^^^
::

   DO                    KMOS                                                  
   category              Type   Explanation                    Required #Frames
   --------              -----  -----------                    -------- -------
   <none or any>         RAW    raw data frame                     Y       1   

Output files
^^^^^^^^^^^^
::

   DO                    KMOS
   category              Type   Explanation
   --------              -----  -----------
   NOISE_MAP             F2D    Initial noise map
                                (6 Extensions, 3 data and 3 noise)


Constructor
-----------

.. method:: cpl.Recipe("kmo_noise_map")
   :noindex:

   Create an object for the recipe kmo_noise_map.

::

   import cpl
   kmo_noise_map = cpl.Recipe("kmo_noise_map")



.. seealso:: `cpl.Recipe <http://packages.python.org/python-cpl/recipe.html>`_
   for more information about the recipe object.

Bug reports
-----------

Please report any problems to `Alex Agudo Berbel <kmos-spark@mpe.mpg.de>`_. Alternatively, you may 
send a report to the `ESO User Support Department <usd-help@eso.org>`_.

Copyright
---------

This file is part of the KMOS Instrument Pipeline
Copyright (C) 2002,2003 European Southern Observatory

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, 51 Franklin Street, Suite 500, Boston, MA  02110-1335  USA

.. codeauthor:: Alex Agudo Berbel <kmos-spark@mpe.mpg.de>
