/home/amodigli/releases/xsh/1.2.10/pso/xsh.26608/xshp/xsh/xsh_baryvel.c File Reference

#include <xsh_baryvel.h>
#include <xsh_pfits.h>
#include <xsh_utils.h>
#include <xsh_error.h>
#include <xsh_msg.h>
#include <cpl.h>
#include <math.h>

Go to the source code of this file.

Defines

#define MIDAS_BUG   0

Functions

static void deg2dms (double in_val, double *degs, double *minutes, double *seconds)
 convert degrees -> degrees, minutes, seconds
static void deg2hms (double in_val, double *hours, double *minutes, double *seconds)
 convert hours -> degrees, minutes, seconds
static void compxy (double inputr[19], char inputc[4], double outputr[4], double utr, double mod_juldat)
 Compute velocity correction.
static void barvel (double DJE, double DEQ, double DVELH[4], double DVELB[4])
 compute rectangular heliocentric and barycentric components of the earth's orbital velocity
void xsh_baryvel (const cpl_propertylist *raw_header, double *bary_corr, double *helio_corr)
 Compute velocity correction.

Generated on 9 Mar 2011 for X-shooter Pipeline Reference Manual by  doxygen 1.6.1