The amber_SciCal recipe
===============================================================

.. data:: amber_SciCal

Synopsis
--------

AMBER Science and Calibration Recipe

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

This recipe calculates Visibilities from a Pixel-To-Visibility-Matrix and Raw Files in 2- and 3-Telescope Mode (HL-version)


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

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

   Create an object for the recipe amber_SciCal.

::

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

Parameters
----------

.. py:attribute:: amber_SciCal.param.binning

    Number of Frames to be averaged per Visibility (long; default: 1) [default=1].
.. py:attribute:: amber_SciCal.param.selectPlusTrf

    select good visibilities and try to calculate the transfer function  (bool; default: True) [default=True].
.. py:attribute:: amber_SciCal.param.activate_BEAUTIFY_PISTON

    TBD (bool; default: True) [default=True].
.. py:attribute:: amber_SciCal.param.activate_MIN_PHOTOMETRY

    TBD (bool; default: True) [default=True].
.. py:attribute:: amber_SciCal.param.activate_DROP

    TBD (bool; default: False) [default=False].
.. py:attribute:: amber_SciCal.param.value_BEAUTIFY_PISTON

    TBD (float; default: 1.0) [default=1.0].
.. py:attribute:: amber_SciCal.param.value_MIN_PHOTOMETRY

    TBD (float; default: 0.0) [default=0.0].
.. py:attribute:: amber_SciCal.param.value_DROP

    TBD (float; default: 1.04e-322) [default=1.03753785627e-322].


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

::

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

   amber_SciCal.param.binning = 1
   amber_SciCal.param.selectPlusTrf = True
   amber_SciCal.param.activate_BEAUTIFY_PISTON = True
   amber_SciCal.param.activate_MIN_PHOTOMETRY = True
   amber_SciCal.param.activate_DROP = False
   amber_SciCal.param.value_BEAUTIFY_PISTON = 1.0
   amber_SciCal.param.value_MIN_PHOTOMETRY = 0.0
   amber_SciCal.param.value_DROP = 1.03753785627e-322


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

::

   import cpl
   amber_SciCal = cpl.Recipe("amber_SciCal")
   [...]
   res = amber_SciCal( ..., param = {"binning":1, "selectPlusTrf":True})


.. 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 `Tom Licha <usd-help@eso.org>`_. Alternatively, you may 
send a report to the `ESO User Support Department <usd-help@eso.org>`_.

Copyright
---------

GP

.. codeauthor:: Tom Licha <usd-help@eso.org>
