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.
GiSGCalConfiggiraffe_sgcalibration_config_create (cpl_parameterlist *list)
 Creates a setup structure for the slit geometry calibration.
void giraffe_sgcalibration_config_destroy (GiSGCalConfig *config)
 Destroys a sgcalibration field setup structure.
void giraffe_sgcalibration_config_add (cpl_parameterlist *list)
 Adds parameters for the sgcalibration correction computation.

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:
fibers The table with the list of fibers for which the offsets are computed, and where the results are stored
rebinning The rebinned input spectra.
grating The grating data for the spectrograph setup.
mask The correlation mask for the current spectrograph setup.
config Configuration 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(), and giraffe_table_get().

void giraffe_sgcalibration_config_add ( cpl_parameterlist *  list  ) 

Adds parameters for the sgcalibration correction computation.

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

TBD

Definition at line 2671 of file gisgcalibration.c.

GiSGCalConfig* giraffe_sgcalibration_config_create ( cpl_parameterlist *  list  ) 

Creates a setup structure for the slit geometry calibration.

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 2430 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:
config The setup structure to destroy.
Returns:
Nothing.

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

TBD

Definition at line 2640 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.9.0.
Documentation copyright © 2002-2006 European Southern Observatory.
Generated on Thu Jan 26 14:20:30 2012 by doxygen 1.6.3 written by Dimitri van Heesch, © 1997-2004