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.

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:
fibers The fiber setup to update
spectra Reference 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 GiRvCorrection::bc, GiRvCorrection::gc, giraffe_error_pop(), giraffe_error_push(), giraffe_image_get_properties(), giraffe_rvcorrection_compute(), giraffe_table_get(), and GiRvCorrection::hc.


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