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.

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 71 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.8.8.
Documentation copyright © 2002-2006 European Southern Observatory.
Generated on Fri Mar 4 10:50:29 2011 by doxygen 1.6.3 written by Dimitri van Heesch, © 1997-2004