GIRAFFE Pipeline Reference Manual

Slit Geometry Calibration

Functions

cxint giraffe_calibrate_slit (GiTable *result, const GiExtraction *extraction, const GiLocalization *localization, const GiTable *fibers, const GiTable *wlsolution, const GiTable *slitgeometry, const GiTable *grating, const GiTable *mask, const GiSGCalConfig *config)
 Compute a slit geometry corresponding to the given rebinned spectrum.
 
cxint giraffe_compute_offsets (GiTable *fibers, const GiRebinning *rebinning, const GiTable *grating, const GiTable *mask, const GiSGCalConfig *config)
 Compute wavelength offsets for a set of rebinned input spectrum. More...
 
GiSGCalConfiggiraffe_sgcalibration_config_create (cpl_parameterlist *list)
 Creates a setup structure for the slit geometry calibration. More...
 
void giraffe_sgcalibration_config_destroy (GiSGCalConfig *config)
 Destroys a sgcalibration field setup structure. More...
 
void giraffe_sgcalibration_config_add (cpl_parameterlist *list)
 Adds parameters for the sgcalibration correction computation. More...
 

Detailed Description

TBD

Function Documentation

cxint giraffe_compute_offsets ( GiTable *  fibers,
const GiRebinning *  rebinning,
const GiTable *  grating,
const GiTable *  mask,
const GiSGCalConfig config 
)

Compute wavelength offsets for a set of rebinned input spectrum.

Parameters
fibersThe table with the list of fibers for which the offsets are computed, and where the results are stored
rebinningThe rebinned input spectra.
gratingThe grating data for the spectrograph setup.
maskThe correlation mask for the current spectrograph setup.
configConfiguration parameters for the offset computation.
Returns
The function returns 0 on success, or a non-zero value in case of an error.

The function performs a cross-correlation of the rebinned spectra of the simultaneous calibration fibers with a Thorium-Argon reference mask mask for the spectrograph setup defined by the grating data grating. The rebinned spectra and the corresponding fiber setup are given by rebinning, and fibers respectively. The cross-correlation can be controlled using the configuration parameters given by config.

Definition at line 2199 of file gisgcalibration.c.

References giraffe_grating_create(), giraffe_grating_delete(), and giraffe_table_get().

void giraffe_sgcalibration_config_add ( cpl_parameterlist *  list)

Adds parameters for the sgcalibration correction computation.

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

TBD

Definition at line 2683 of file gisgcalibration.c.

GiSGCalConfig* giraffe_sgcalibration_config_create ( cpl_parameterlist *  list)

Creates a setup structure for the slit geometry calibration.

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 2442 of file gisgcalibration.c.

References GiSGCalConfig::cc_domain, GiSGCalConfig::cc_step, GiSGCalConfig::cc_wdomain, giraffe_range_create(), giraffe_sgcalibration_config_destroy(), GiSGCalConfig::pf_dchisq, GiSGCalConfig::pf_niter, GiSGCalConfig::pf_ntest, GiSGCalConfig::repeat, GiSGCalConfig::rv_limits, GiSGCalConfig::rv_niter, GiSGCalConfig::rv_wfactor, and GiSGCalConfig::zmax.

void giraffe_sgcalibration_config_destroy ( GiSGCalConfig config)

Destroys a sgcalibration 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 2652 of file gisgcalibration.c.

References GiSGCalConfig::cc_domain, giraffe_range_delete(), and GiSGCalConfig::rv_limits.

Referenced by giraffe_sgcalibration_config_create().


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