Flat Fields

Functions

int omega_flatcor (cpl_image *image, const cpl_image *flat, const cpl_image *nsky)
 Divide image by flat field.
int omega_fringecor (cpl_image *sci, const cpl_image *fringe, const cpl_image *bpm, const cpl_parameterlist *fpars)
 This function takes a reduced science image and correct from the fringing.
cpl_image * omega_fringes_create (cpl_imagelist *ilist, cpl_image *bpm, int n)
 Create a fringe image from a list of science frames.
cpl_image * omega_make_mflat (cpl_image *dome, cpl_image *twil, cpl_mask *bpmmap, cpl_parameterlist *pars)
 It creates a master flat field.
cpl_image * omega_nsky_create (cpl_imagelist *ilist, cpl_image *bpm, int n)
 Create a night sky flat from a series of science frames.

Detailed Description

Synopsis
This module contains functions to create a flat field (master flat, night sky flat, fringes flat). It also has functions to correct a science frame of a flat.
   #include omega_flat.h
   #include omega_fftw.h
   #include omega_dfs.h
   #include omega_pfits.h
   #include omega_utils.h
   #include omega_stats.h

Function Documentation

int omega_flatcor ( cpl_image *  image,
const cpl_image *  flat,
const cpl_image *  nsky 
)

Divide image by flat field.

Parameters:
image Image to divide flat from
flat Flat field image
nksy (optional) night sky flat
Returns:
0 on success or -1 in case of error

Definition at line 326 of file omega_flats.c.

Referenced by omega_fringes_flat_process(), omega_jitter_process(), omega_nsky_process(), and omega_std_process().

int omega_fringecor ( cpl_image *  sci,
const cpl_image *  fringe,
const cpl_image *  bpm,
const cpl_parameterlist *  fpars 
)

This function takes a reduced science image and correct from the fringing.

Parameters:
sci Reduced Science Image to correct
fringe Fringe Image
bpm Bad Pixels Map
fpars Parameters List
Returns:
0 on success or -1 in case of error.

Definition at line 161 of file omega_flats.c.

Referenced by omega_jitter_process().

cpl_image* omega_fringes_create ( cpl_imagelist *  ilist,
cpl_image *  bpm,
int  n 
)

Create a fringe image from a list of science frames.

Parameters:
ilist Image list with science images
bpm Optional bad pixels image
n Number of images
Returns:
fringes Image of fringes

Definition at line 401 of file omega_flats.c.

References omega_nsky_create().

cpl_image* omega_make_mflat ( cpl_image *  dome,
cpl_image *  twil,
cpl_mask *  bpmmap,
cpl_parameterlist *  pars 
)

It creates a master flat field.

Parameters:
dome Dome flat image
twil Twilight flat image
bpmmap Bad pixels map
pars Parameters list
Returns:
twil_comp A master flat field or NULL in case of error

Definition at line 73 of file omega_flats.c.

References omega_get_spatial_freq().

Referenced by omega_mflat_combine().

cpl_image* omega_nsky_create ( cpl_imagelist *  ilist,
cpl_image *  bpm,
int  n 
)

Create a night sky flat from a series of science frames.

Parameters:
ilist Image list with reduced science frames
bpm Optional bad pixels image
n Number of images in list
Returns:
nsky Night sky image or NULL in case of error.

Definition at line 358 of file omega_flats.c.

Referenced by omega_fringes_create().


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