High-Level Data Reduction Library: hdrl_utils.c File Reference

High-Level Data Reduction Library 1.6.0 High-Level data reduction routines for ESO pipelines

Loading...
Searching...
No Matches
Macros | Functions
hdrl_utils.c File Reference
`#include "hdrl_utils.h"`
`#include "hdrl_types.h"`
`#include "hdrl_elemop.h"`
`#include "hdrl_prototyping.h"`
`#include "hdrl_imagelist.h"`
`#include <string.h>`
`#include <assert.h>`
`#include <stdlib.h>`
`#include <unistd.h>`
`#include <errno.h>`
`#include <math.h>`
`#include <stdarg.h>`
Include dependency graph for hdrl_utils.c:

## Macros
#define | _XOPEN_SOURCE 500 /* posix 2001, mkstemp */
#define | EOP_LINE_SIZE 188

## Functions
const char * | hdrl_get_license (void)
| Get the pipeline copyright and license.
cpl_table * | hdrl_eop_data_totable (const char *eop_data, cpl_size data_length)
| Export a raw string buffer containing EOP data to a CPL table.
hdrl_parameter * | hdrl_rect_region_parameter_create (cpl_size llx, cpl_size lly, cpl_size urx, cpl_size ury)
| Creates Rect Region Parameters object.
cpl_error_code | hdrl_rect_region_parameter_update (hdrl_parameter *rect_region, cpl_size llx, cpl_size lly, cpl_size urx, cpl_size ury)
| Update Rect Region Parameters object.
cpl_boolean | hdrl_rect_region_parameter_check (const hdrl_parameter *self)
| Check that the parameter is hdrl_rect_region parameter.
cpl_size | hdrl_rect_region_get_llx (const hdrl_parameter *p)
| get lower left x coordinate of rectangual region
cpl_size | hdrl_rect_region_get_lly (const hdrl_parameter *p)
| get lower left y coordinate of rectangual region
cpl_size | hdrl_rect_region_get_urx (const hdrl_parameter *p)
| get upper right x coordinate of rectangular region
cpl_size | hdrl_rect_region_get_ury (const hdrl_parameter *p)
| get upper right y coordinate of rectangual region
cpl_error_code | hdrl_rect_region_parameter_verify (const hdrl_parameter *param, const cpl_size max_x, const cpl_size max_y)
| Verify basic correctness of the parameters.
cpl_parameterlist * | hdrl_rect_region_parameter_create_parlist (const char *base_context, const char *prefix, const char *name_prefix, const hdrl_parameter *defaults)
| Create parameter list for hdrl_rect_region.
hdrl_parameter * | hdrl_rect_region_parameter_parse_parlist (const cpl_parameterlist *parlist, const char *base_context, const char *name_prefix)
| parse parameterlist for rectangle parameters
cpl_error_code | hdrl_rect_region_fix_negatives (hdrl_parameter *rect_region, const cpl_size nx, const cpl_size ny)
| wrap negative or zero coordinates around full image size
cpl_boolean | hdrl_is_strictly_monotonic_increasing (const double *x, cpl_size l)
| returns CPL_TRUE if x is strictly monotonic increasing
void | hdrl_sort_on_x (double *x, double *y1, double *y2, const cpl_size sample_len, const cpl_boolean sort_decreasing)
| sort in increasing or decreasing order x. Keep aligned with y1 and y2.
char * | hdrl_join_string (const char *sep_, int n,...)
| join strings together
hdrl_value | hdrl_utils_airmass (hdrl_value aRA, hdrl_value aDEC, hdrl_value aLST, hdrl_value aExptime, hdrl_value aLatitude, hdrl_airmass_approx type)
| Compute the effective airmass of an observation. Takes in count the error propagation if you enter the relative error of the input parameters in a hdrl_value structure {data,error}.

## Macro Definition Documentation

## ◆ _XOPEN_SOURCE

#define _XOPEN_SOURCE 500 /* posix 2001, mkstemp */