The naco_img_slitpos recipe
===============================================================

.. data:: naco_img_slitpos

Synopsis
--------

Slit Position recipe

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

naco_img_slitpos -- NACO imaging slit position recipe.

The Set Of Frames (sof-file) must specify at least one file which must be tagged
raw-file.fits SLIT_IMG

Each image is flipped around the x=y axis before the analysis.


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

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

   Create an object for the recipe naco_img_slitpos.

::

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

Parameters
----------

.. py:attribute:: naco_img_slitpos.param.slit_w

    Slit width (int; default: 20) [default=20].


The following code snippet shows the default settings for the available 
parameters.

::

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

   naco_img_slitpos.param.slit_w = 20


You may also set or overwrite some or all parameters by the recipe 
parameter `param`, as shown in the following example:

::

   import cpl
   naco_img_slitpos = cpl.Recipe("naco_img_slitpos")
   [...]
   res = naco_img_slitpos( ..., param = {"slit_w":20})


.. 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 `Lars Lundin <usd-help@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 NACO Instrument Pipeline
Copyright (C) 2002, 2003, 2005, 2008 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 St, Fifth Floor, Boston, 
MA  02111-1307  USA

.. codeauthor:: Lars Lundin <usd-help@eso.org>
