The kmos_gen_telluric recipe

kmos_gen_telluric

Synopsis

Generate a TELLURIC frame

Description

This recipe creates the TELLURIC frame needed by kmos_sci_red by merging the TELLURIC (produced by kmos_std_star), the static RESPONЅE frame and the TELLURIC_CORR (produced with molecfit).

The way the frames are combined is controlled by the –method parameter:
  • 0 (default) : use TELLURIC and get zpoint from TELLURIC
    If TELLURIC missing, use RESPONSE and get zpoint from RESPONSE
  • 1 : use TELLURIC_CORR and get zpoint from TELLURIC_CORR
  • 2 : use RESPONSE and get zpoint from TELLURIC
    If TELLURIC missing, get zpoint from RESPONSE For missing ZPOINTs, use the average of other IFUs for the same detector.
  • 3 : use RESPONSE x TELLURIC_CORR and get zpoint from TELLURIC_CORR

Input files

DO category         Explanation                    Required
-----------         -----------                    --------
TELLURIC            Produced  by kmos_std_star          N
TELLURIC_CORR       Produced  by molecfit               N
RESPONSE            static calibration                  N

Output files

DO category         Explanation
-----------         -----------
TELLURIC_GEN        Used by kmos_sci_red

Constructor

cpl.Recipe("kmos_gen_telluric")

Create an object for the recipe kmos_gen_telluric.

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

Parameters

kmos_gen_telluric.param.method

How the TELLURIC is generated (int; default: 0) [default=0].

kmos_gen_telluric.param.b_samples

The number of samples in wavelength (int; default: -1) [default=-1].

kmos_gen_telluric.param.fill_empty_ifus

Flag to fill empty TELLURIC IFUs (only method 0) (bool; default: False) [default=False].

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

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

kmos_gen_telluric.param.method = 0
kmos_gen_telluric.param.b_samples = -1
kmos_gen_telluric.param.fill_empty_ifus = False

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

import cpl
kmos_gen_telluric = cpl.Recipe("kmos_gen_telluric")
[...]
res = kmos_gen_telluric( ..., param = {"method":0, "b_samples":-1})

See also

cpl.Recipe for more information about the recipe object.

Bug reports

Please report any problems to Yves Jung. Alternatively, you may send a report to the ESO User Support Department.