OMEGA Pipeline Reference Manual  1.0.5
Functions
Dark Current

Functions

int cpl_plugin_get_info (cpl_pluginlist *list)
 Build the list of available plugins, for this module.
int omega_darkcurrent_combine (cpl_parameterlist *pars, int xn)
 Trim and combine input images.
int omega_darkcurrent_save (cpl_image *image, cpl_frameset *set, cpl_parameterlist *parlist, cpl_propertylist *qclist, cpl_type_bpp bitpix, const char *outfile, cpl_frame *product_frame)
 Save the omega_darkcurrent recipe products on disk.

Detailed Description

Synopsis:
Measure the dark current and the particle event rate. The raw dark frames are trimmed, overscan-corrected and
debiased. The dark current is calculated by median averaging three reduced dark frames and iteratively
rejecting outliers from the result, and computing the mean of the remaining pixels. The recipes expects
the following tags in the set of frames:
Input frames:
DARK_CURRENT
MASTER_BIAS
Output frames:
MEAN_DARK
#include omega_recipe.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 128 of file omega_darkcurrent.c.

References omega_get_license().

int omega_darkcurrent_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 631 of file omega_darkcurrent.c.

References omega_iter_stat(), omega_pfits_get_detlive(), omega_pfits_get_exptime(), and TrimOscanCorrect().

int omega_darkcurrent_save ( cpl_image *  image,
cpl_frameset *  set,
cpl_parameterlist *  parlist,
cpl_propertylist *  qclist,
cpl_type_bpp  bitpix,
const char *  outfile,
cpl_frame *  product_frame 
)

Save the omega_darkcurrent recipe products on disk.

Parameters:
imagereduced image to be saved
setthe input frame set
parlistthe input list of parameters
qclistQC property list
bitpixcpl_type_bpp
procatgPRO CATG of product
outfileoutput name (without .suffix)
Returns:
0 if everything is ok, -1 otherwise
Save the omega_darkcurrent products
Parameters:
imageReduced image to be saved
setThe input frame set
parlistThe input list of parameters
qclistQC property list
bitpixCPL_BPP to save product
outfileName of output
product_frameFrame describing the product
Returns:
0 on success or -1 in case of error.

Definition at line 872 of file omega_darkcurrent.c.

References omega_fits_get_extnum(), and omega_get_root_name().