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:
list the 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:
pars the input list of parameters
xn extension 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:
image reduced image to be saved
set the input frame set
parlist the input list of parameters
qclist QC property list
bitpix cpl_type_bpp
procatg PRO CATG of product
outfile output name (without .suffix)
Returns:
0 if everything is ok, -1 otherwise

Save the omega_darkcurrent products

Parameters:
image Reduced image to be saved
set The input frame set
parlist The input list of parameters
qclist QC property list
bitpix CPL_BPP to save product
outfile Name of output
product_frame Frame 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().


Generated on 11 Mar 2013 for OMEGA Pipeline Reference Manual by  doxygen 1.6.1