The fors_img_sky_flat recipe

fors_img_sky_flat

Synopsis

Compute master img_sky_flat frame

Description

Input files

DO category:               Type:       Explanation:             Number:
SKY_FLAT_IMG               Raw         Jittered sky flat fields    1+
MASTER_BIAS                FITS image  Master bias                 1

Output files

DO category:               Data type:  Explanation:
MASTER_SKY_FLAT_IMG        FITS image  Master sky flat field

Constructor

cpl.Recipe("fors_img_sky_flat")

Create an object for the recipe fors_img_sky_flat.

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

Parameters

fors_img_sky_flat.param.stack_method

Frames combination method (str; default: ‘median’) [default=”median”].

fors_img_sky_flat.param.minrejection

Number of lowest values to be rejected (int; default: 1) [default=1].

fors_img_sky_flat.param.maxrejection

Number of highest values to be rejected (int; default: 1) [default=1].

fors_img_sky_flat.param.klow

Low threshold in ksigma method (float; default: 3.0) [default=3.0].

fors_img_sky_flat.param.khigh

High threshold in ksigma method (float; default: 3.0) [default=3.0].

fors_img_sky_flat.param.kiter

Max number of iterations in ksigma method (int; default: 999) [default=999].

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

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

fors_img_sky_flat.param.stack_method = "median"
fors_img_sky_flat.param.minrejection = 1
fors_img_sky_flat.param.maxrejection = 1
fors_img_sky_flat.param.klow = 3.0
fors_img_sky_flat.param.khigh = 3.0
fors_img_sky_flat.param.kiter = 999

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

import cpl
fors_img_sky_flat = cpl.Recipe("fors_img_sky_flat")
[...]
res = fors_img_sky_flat( ..., param = {"stack_method":"median", "minrejection":1})

See also

cpl.Recipe for more information about the recipe object.

Bug reports

Please report any problems to Jonas M. Larsen. Alternatively, you may send a report to the ESO User Support Department.