The giframestack recipe

giframestack

Synopsis

Creates a stacked image from a set of raw images.

Description

TBD

Constructor

cpl.Recipe("giframestack")

Create an object for the recipe giframestack.

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

Parameters

giframestack.param.stack_method

Stacking method: average, median, minmax or ksigma (str; default: ‘average’) [default=”average”].

giframestack.param.stack_ksigmalow

Lower threshold multiplier for method ksigma (float; default: 5.0) [default=5.0].

giframestack.param.stack_ksigmahigh

Upper threshold multiplier for method ksigma (float; default: 5.0) [default=5.0].

giframestack.param.stack_minreject

Minimum rejection level for method minmax (int; default: 1) [default=1].

giframestack.param.stack_maxreject

Maximum rejection level for method minmax (int; default: 1) [default=1].

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

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

giframestack.param.stack_method = "average"
giframestack.param.stack_ksigmalow = 5.0
giframestack.param.stack_ksigmahigh = 5.0
giframestack.param.stack_minreject = 1
giframestack.param.stack_maxreject = 1

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

import cpl
giframestack = cpl.Recipe("giframestack")
[...]
res = giframestack( ..., param = {"stack_method":"average", "stack_ksigmalow":5.0})

See also

cpl.Recipe for more information about the recipe object.

Bug reports

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