GIRAFFE Pipeline Reference Manual

Spectrum Localization

Functions

cxint giraffe_localize_spectra (GiLocalization *result, GiImage *image, GiTable *fibers, GiLocalization *master, GiImage *badpixels, GiLocalizeConfig *config)
 Finds the location of spectra in a Giraffe observation. More...
 
GiLocalizeConfig * giraffe_localize_config_create (cpl_parameterlist *list)
 Creates a setup structure for the spectrum localization. More...
 
void giraffe_localize_config_destroy (GiLocalizeConfig *config)
 Destroys a spectrum localization setup structure. More...
 
void giraffe_localize_config_add (cpl_parameterlist *list)
 Adds parameters for the spectrum localization. More...
 

Detailed Description

TBD

Function Documentation

void giraffe_localize_config_add ( cpl_parameterlist *  list)

Adds parameters for the spectrum localization.

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

TBD

Definition at line 3327 of file gilocalize.c.

GiLocalizeConfig* giraffe_localize_config_create ( cpl_parameterlist *  list)

Creates a setup structure for the spectrum localization.

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.

Definition at line 3196 of file gilocalize.c.

void giraffe_localize_config_destroy ( GiLocalizeConfig *  config)

Destroys a spectrum localization setup structure.

Parameters
configThe setup structure to destroy.
Returns
Nothing.

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

Definition at line 3303 of file gilocalize.c.

cxint giraffe_localize_spectra ( GiLocalization *  result,
GiImage *  image,
GiTable *  fibers,
GiLocalization *  master,
GiImage *  badpixels,
GiLocalizeConfig *  config 
)

Finds the location of spectra in a Giraffe observation.

Parameters
resultThe results of the spectrum localization task.
imageThe image where spectra are searched.
fibersThe fibers/spectra to be localized.
masterAn existing localization to use as first guess.
badpixelsThe bad pixel map to use.
configSetup parameters for the localization task.
Returns
The function returns 0 on succes, or 1 otherwise.

The function expects a bias corrected and optionally dark subtracted image as input image image. Optionally a bad pixel map badpixels may be passed to the function. If badpixels is not NULL the flagged pixels in the map are not used during the processing (not yet implemented, currently the bad pixel map is simply ignored).

If the localization should only be done on the simultaneous calibration fibers a `master' localization master must be passed to the function. This is then used as a first guess.

The fiber setup, i.e. the configuration of the fibers used during the observation is expected to be present in the fiber table fibers. The fibers listed in this table will be searched in the image image.

Definition at line 2568 of file gilocalize.c.

References giraffe_get_mode(), giraffe_image_copy_matrix(), giraffe_image_create(), giraffe_image_get(), giraffe_image_get_properties(), giraffe_image_set_properties(), giraffe_propertylist_get_conad(), giraffe_propertylist_get_ron(), giraffe_table_copy_matrix(), giraffe_table_create(), giraffe_table_get(), and giraffe_table_get_properties().


This file is part of the GIRAFFE Pipeline Reference Manual 2.14.
Documentation copyright © 2002-2006 European Southern Observatory.
Generated on Wed Mar 11 2015 13:19:42 by doxygen 1.8.9.1 written by Dimitri van Heesch, © 1997-2004