The vimos_ima_bias recipe

vimos_ima_bias

Synopsis

Bias combination for imaging

Description

vimos_ima_bias – VIMOS bias combine recipe.

Combine a list of bias frames into a mean bias frame. Optionally compare the output frame to a reference bias frame

The program accepts the following files in the SOF:

Tag Description BIAS A list of raw bias images REFERENCE_BIAS Optional reference bias frame

If no reference bias frame is made available, then no comparison will be done. This means there will be no output difference image or stats table.

Constructor

cpl.Recipe("vimos_ima_bias")

Create an object for the recipe vimos_ima_bias.

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

Parameters

vimos_ima_bias.param.combtype

Combination algorithm (str; default: ‘median’) [default=”median”].

vimos_ima_bias.param.xrej

True if using extra rejection cycle (bool; default: True) [default=True].

vimos_ima_bias.param.thresh

Rejection threshold in sigma above background (float; default: 5.0) [default=5.0].

vimos_ima_bias.param.ncells

Number of cells for diff image stats (int; default: 64) [default=64].

vimos_ima_bias.param.prettynames

Use pretty output file names? (bool; default: False) [default=False].

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

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

vimos_ima_bias.param.combtype = "median"
vimos_ima_bias.param.xrej = True
vimos_ima_bias.param.thresh = 5.0
vimos_ima_bias.param.ncells = 64
vimos_ima_bias.param.prettynames = False

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

import cpl
vimos_ima_bias = cpl.Recipe("vimos_ima_bias")
[...]
res = vimos_ima_bias( ..., param = {"combtype":"median", "xrej":True})

See also

cpl.Recipe for more information about the recipe object.

Bug reports

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