OMEGA Pipeline Reference Manual  1.0.5
Functions
Master Dome Flat

Functions

int cpl_plugin_get_info (cpl_pluginlist *list)
 Build the list of available plugins, for this module.
int omega_mdome_combine (cpl_parameterlist *pars, int xn)
 Trim and combine input images.

Detailed Description

Synopsis:
This recipe is used to derive a master dome flat for one particular chip and filter. The recipe always
takes as input a list of raw dome flat frames, a master bias and optionals hot pixel and a cold
pixel maps. Optionally, an overscan correction mode can be set. The default is to apply no overscan
correction. The raw dome flats are trimmed and overscan corrected. The data are then normalized, averaged,
and the result is normalized again. Image statistics are computed for the resulting frames. A new cold
pixels map is created from the flats. The recipe expects the following tags in the Set of Frames:
Input frames:
DOME_FLAT
MASTER_BIAS
HOT_PIXELS_MAP
COLD_PIXELS_MAP (optional)
REFERENCE_DOME (optional)
Output frames:
MASTER_FLAT_DOME
COLD_PIXELS_MAP
#include omega_recipe.h
#include omega_background.h

Function Documentation

int cpl_plugin_get_info ( cpl_pluginlist *  list)

Build the list of available plugins, for this module.

Parameters:
listthe plugin list
Returns:
0 if everything is ok

This function is exported.

Definition at line 148 of file omega_mdome.c.

References omega_get_license().

int omega_mdome_combine ( cpl_parameterlist *  pars,
int  xn 
)

Trim and combine input images.

Parameters:
parsthe input list of parameters
xnextension number
Returns:
0 if everything is ok, 1 if this detector is dead and -1 otherwise

Definition at line 797 of file omega_mdome.c.

References makebpm(), omega_create_background(), omega_pfits_get_conad(), omega_pfits_get_detlive(), omega_pfits_get_gain(), and TrimOscanCorrect().