OMEGA Pipeline Reference Manual  1.0.5
Functions
Master Fringes Flat

Functions

cpl_image * omega_fringes_flat_process (omega_fits *scifits, cpl_image *mbias, cpl_image *mflat, cpl_image *bpm, cpl_parameterlist *pars, int ext)
 Reduce a science image.

Detailed Description

Synopsis:
This recipe is used to create a Fringes Flat if the filter requires it. The recipe always takes as input
a list of at least 3 science frames and reduced them, by trimming, correcting for the bias and the flat.
The recipes expects the following tags in the Set of Frames:
Input frames:
FRINGES
MASTER_BIAS
MASTER_FLAT
BAD_PIXELS_MAP
Output frames:
FRINGES_FLAT
#include omega_recipe.h
#include omega_wcscor.h

Function Documentation

cpl_image * omega_fringes_flat_process ( omega_fits *  scifits,
cpl_image *  mbias,
cpl_image *  mflat,
cpl_image *  bpm,
cpl_parameterlist *  pars,
int  ext 
)

Reduce a science image.

Parameters:
scifitsomega_fits structure of science image
mbiasmaster bias
mflatmaster flat
bpmbad pixels image
parsparameters list
extFITS extension to laod
Returns:
fringes Reduced science image

Definition at line 488 of file omega_fringes_flat.c.

References omega_biascor(), omega_fits_get_ehu(), omega_fits_get_frame(), omega_flatcor(), omega_pfits_get_overscan(), omega_shift_refpix(), and omega_trim_oscan_correct().