OMEGA Pipeline Reference Manual  1.0.6
Functions
Master Night Sky Flat

Functions

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

Detailed Description

Synopsis:
This recipe is used to create a Night Sky Flat from at least 3 science frames. Each science frame is reduced
trimmed and corrected for the bias and the flat.The recipes expects the following tags in the Set of Frames:
Input frames:
NIGHTSKY_FLAT
MASTER_BIAS
MASTER_FLAT
BAD_PIXELS_MAP
Output frames:
MASTER_NIGHT_SKY_FLAT
#include omega_recipe.h
#include omega_wcscor.h

Function Documentation

cpl_image * omega_nsky_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
nsky Reduced night sky image

Definition at line 487 of file omega_nightsky_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().