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.
GiFlatConfiggiraffe_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 233 of file giflat.c.

References GiExtraction::error, and GiExtraction::spectra.

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 371 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 297 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 348 of file giflat.c.


This file is part of the GIRAFFE Pipeline Reference Manual 2.5.2.
Documentation copyright © 2002-2006 European Southern Observatory.
Generated on Fri Jun 13 14:36:26 2008 by doxygen 1.4.6 written by Dimitri van Heesch, © 1997-2004