The hawki_step_photom_2mass recipe
===============================================================

.. data:: hawki_step_photom_2mass

Synopsis
--------

(OBSOLETE) 2MASS photometric calibration

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

(OBSOLETE) hawki_step_photom_2mass -- HAWK-I photometric autocalibration using 2MASS.

The input files must be tagged:
obj_param.fits OBJ_PARAM
image.fits COMBINED
2mass_master_index.fits CAT_2MASS
The recipe creates as an output:
hawki_cal_photom_2mass.fits (ZPOINT_RES): 
The recipe does the following steps:
-Search the 2MASS catalogue for stars in the FOV
-Matches the input detected object catalogue and the 2MASS stars
-Computes photometric characteristics for each matched star
Return code:
esorex exits with an error code of 0 if the recipe completes successfully
or 1 otherwise

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

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

   Create an object for the recipe hawki_step_photom_2mass.

::

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



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

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

Please report any problems to `ESO Pipeline Group <https://support.eso.org>`_. Alternatively, you may 
send a report to the `ESO User Support Department <usd-help@eso.org>`_.

Copyright
---------

This file is part of the HAWKI Instrument Pipeline
Copyright (C) 2002,2011 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, Inc., 51 Franklin Street, Fifth Floor, Boston, 
MA 02110-1301 USA

.. codeauthor:: ESO Pipeline Group <https://support.eso.org>
