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. More...
 
GiFlatConfig * giraffe_flat_config_create (cpl_parameterlist *list)
 Creates a setup structure for the flat field correction. More...
 
void giraffe_flat_config_destroy (GiFlatConfig *config)
 Destroys a flat field setup structure. More...
 
void giraffe_flat_config_add (cpl_parameterlist *list)
 Adds parameters for the flat field correction. More...
 

Detailed Description

TBD

Function Documentation

◆ giraffe_flat_apply()

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
extractionExtracted spectra to be corrected.
fibersFiber setup information.
flatImage of extracted flat field spectra.
errorsImage of extracted flat field spectra errors.
configFlat field correction setup information.
Returns
The function returns 0 on success and a non-zero value otherwise.

TBD

Definition at line 238 of file giflat.c.

◆ giraffe_flat_config_add()

void giraffe_flat_config_add ( cpl_parameterlist *  list)

Adds parameters for the flat field correction.

Parameters
listParameter list to which parameters are added.
Returns
Nothing.

TBD

Definition at line 376 of file giflat.c.

◆ giraffe_flat_config_create()

GiFlatConfig* giraffe_flat_config_create ( cpl_parameterlist *  list)

Creates a setup structure for the flat field correction.

Parameters
listParameter 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 302 of file giflat.c.

◆ giraffe_flat_config_destroy()

void giraffe_flat_config_destroy ( GiFlatConfig *  config)

Destroys a flat field setup structure.

Parameters
configThe setup structure to destroy.
Returns
Nothing.

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

TBD

Definition at line 353 of file giflat.c.


This file is part of the GIRAFFE Pipeline Reference Manual 2.16.10.
Documentation copyright © 2002-2006 European Southern Observatory.
Generated on Thu Dec 15 2022 21:18:52 by doxygen 1.9.1 written by Dimitri van Heesch, © 1997-2004