GIRAFFE Pipeline Reference Manual

Flat Field Correction

Functions

cxint giraffe_flat_apply (GiExtraction *extraction, const GiTable *fibers, const GiImage *flat, const GiImage *errors, GiFlatConfig *config)
 Apply the flat field correction to the given extracted spectra.
GiFlatConfig * giraffe_flat_config_create (cpl_parameterlist *list)
 Creates a setup structure for the flat field correction.
void giraffe_flat_config_destroy (GiFlatConfig *config)
 Destroys a flat field setup structure.
void giraffe_flat_config_add (cpl_parameterlist *list)
 Adds parameters for the flat field correction.

Detailed Description

TBD


Function Documentation

cxint giraffe_flat_apply ( GiExtraction *  extraction,
const GiTable *  fibers,
const GiImage *  flat,
const GiImage *  errors,
GiFlatConfig *  config 
)

Apply the flat field correction to the given extracted spectra.

Parameters:
extraction Extracted spectra to be corrected.
fibers Fiber setup information.
flat Image of extracted flat field spectra.
errors Image of extracted flat field spectra errors.
config Flat field correction setup information.
Returns:
The function returns 0 on success and a non-zero value otherwise.

TBD

Definition at line 246 of file giflat.c.

void giraffe_flat_config_add ( cpl_parameterlist *  list  ) 

Adds parameters for the flat field correction.

Parameters:
list Parameter list to which parameters are added.
Returns:
Nothing.

TBD

Definition at line 384 of file giflat.c.

GiFlatConfig* giraffe_flat_config_create ( cpl_parameterlist *  list  ) 

Creates a setup structure for the flat field correction.

Parameters:
list Parameter list from which the setup informations is read.
Returns:
A newly allocated and initialized setup structure if no errors occurred, or NULL otherwise.

TBD

Definition at line 310 of file giflat.c.

void giraffe_flat_config_destroy ( GiFlatConfig *  config  ) 

Destroys a flat field setup structure.

Parameters:
config The setup structure to destroy.
Returns:
Nothing.

The function deallocates the memory used by the setup structure config.

TBD

Definition at line 361 of file giflat.c.


This file is part of the GIRAFFE Pipeline Reference Manual 2.8.8.
Documentation copyright © 2002-2006 European Southern Observatory.
Generated on Fri Mar 4 10:50:29 2011 by doxygen 1.6.3 written by Dimitri van Heesch, © 1997-2004