GIRAFFE Pipeline Reference Manual

Astrometric Utilities

Functions

cxint giraffe_add_rvcorrection (GiTable *fibers, const GiImage *spectra)
 Add the barycentric and heliocentric corrections to the given fiber setup. More...
 

Detailed Description

TBD

Function Documentation

cxint giraffe_add_rvcorrection ( GiTable *  fibers,
const GiImage *  spectra 
)

Add the barycentric and heliocentric corrections to the given fiber setup.

Parameters
fibersThe fiber setup to update
spectraReference image.
Returns
The function returns 0 on success, or a non-zero value otherwise.

The function takes the information about the telescope location, the observation time and the epoch from the reference image image and computes the barycentric, heliocentric and geocentric corrections for each object fiber in the fiber setup fibers. The computed corrections are added to fibers in the columns BCORR, HCORR and GCORR respectively. The computed corrections are in units of km/s.

The position of the object fibers is taken from the fiber configuration fibers. In case of an Argus observation, where the individual fiber positions a are not given in the fiber configuration, the telescope pointing direction is used for all Argus fibers.

If a property, which is needed to compute the corrections, is not found in the property list of the reference image the function returns a positive value. On any other error a negative value is returned.

Definition at line 76 of file giastrometry.c.

References giraffe_image_get_properties(), giraffe_rvcorrection_compute(), and giraffe_table_get().


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