GIRAFFE Pipeline Reference Manual

Slit Geometry Calibration


Typedefs

typedef GiMeasurement GiMeasurement
typedef GiSGSetup GiSGSetup
typedef GiCPFitParams GiCPFitParams
typedef GiCPeakFit GiCPeakFit
typedef GiSGMask GiSGMask

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_error_pop(), giraffe_error_push(), giraffe_grating_create(), giraffe_grating_delete(), giraffe_table_get(), and GiRebinning::spectra.

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

References giraffe_range_create(), and giraffe_sgcalibration_config_destroy().

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 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.10.
Documentation copyright © 2002-2006 European Southern Observatory.
Generated on Thu Mar 7 14:11:03 2013 by doxygen 1.4.7 written by Dimitri van Heesch, © 1997-2004