High-Level Data Reduction Library 1.6.0
High-Level data reduction routines for ESO pipelines
Loading...
Searching...
No Matches
hdrl_barycorr.c File Reference
#include "hdrl_barycorr.h"
#include <erfa.h>
Include dependency graph for hdrl_barycorr.c:

Functions

cpl_error_code hdrl_barycorr_compute (double ra, double dec, const cpl_table *eop_table, double mjdobs, double time_to_mid_exposure, double longitude, double latitude, double elevation, double pressure, double temperature, double humidity, double wavelength, double *barycorr)
 Derives the barycentric correction using the erfa function eraApco13(). The latter For a terrestrial observer, prepare star-independent astrometry parameters for transformations between ICRS and observed coordinates. ERFA models are used to obtain the Earth ephemeris, CIP/CIO and refraction constants.