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

Macros

#define _POSIX_C_SOURCE   200112L
 

Functions

hdrl_parameterhdrl_dar_parameter_create (hdrl_value airmass, hdrl_value parang, hdrl_value posang, hdrl_value temp, hdrl_value rhum, hdrl_value pres, cpl_wcs *wcs)
 Creates DAR parameters object with the values in the header.
 
cpl_error_code hdrl_dar_compute (const hdrl_parameter *params, const hdrl_value lambdaRef, const cpl_vector *lambdaIn, cpl_vector *xShift, cpl_vector *yShift, cpl_vector *xShiftErr, cpl_vector *yShiftErr)
 Correct the pixel coordinates of all pixels of a given pixel table for differential atmospheric refraction (DAR).
 
hdrl_value hdrl_dar_owens_saturation_pressure (hdrl_value hvT)
 Compute the saturation pressure using the Owens calibration.
 
hdrl_value hdrl_dar_filippenko_refractive_index (hdrl_value hvL, hdrl_value hvP, hdrl_value hvT, hdrl_value hvF)
 Compute the refractive index for the given wavelength following Filippenko formulae. This function is called by hdrl_dar_compute().
 

Macro Definition Documentation

◆ _POSIX_C_SOURCE

#define _POSIX_C_SOURCE   200112L