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

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

Loading...
Searching...
No Matches
Data Structures | Typedefs | Functions
hdrl_collapse.c File Reference
`#include "hdrl_collapse.h"`
`#include "hdrl_parameter.h"`
`#include "hdrl_parameter_defs.h"`
`#include "hdrl_sigclip.h"`
`#include "hdrl_mode.h"`
`#include "hdrl_utils.h"`
`#include "hdrl_types.h"`
`#include <cpl.h>`
`#include <string.h>`
`#include <math.h>`
Include dependency graph for hdrl_collapse.c:

## Data Structures
struct | hdrl_collapse_imagelist_to_image_s
struct | hdrl_collapse_imagelist_to_vector_s

## Typedefs
typedef cpl_error_code() | hdrl_collapse_imagelist_to_image_f(const cpl_imagelist *data, const cpl_imagelist *errors, cpl_image **out, cpl_image **err, cpl_image **contrib, void *parameters, void *extra_out)
typedef cpl_error_code() | hdrl_collapse_imagelist_to_vector_f(const cpl_imagelist *data, const cpl_imagelist *errors, cpl_vector **out, cpl_vector **err, cpl_array **contrib, void *parameters, void *extra_out)

## Functions
hdrl_parameter * | hdrl_collapse_mean_parameter_create (void)
| create a parameter object for mean
cpl_boolean | hdrl_collapse_parameter_is_mean (const hdrl_parameter *self)
| check if parameter is a mean parameter
hdrl_parameter * | hdrl_collapse_median_parameter_create (void)
| create a parameter object for median
cpl_boolean | hdrl_collapse_parameter_is_median (const hdrl_parameter *self)
| check if parameter is a median parameter
hdrl_parameter * | hdrl_collapse_weighted_mean_parameter_create (void)
| create a parameter object for weighted mean
cpl_boolean | hdrl_collapse_parameter_is_weighted_mean (const hdrl_parameter *self)
| check if parameter is a weighted mean parameter
hdrl_parameter * | hdrl_collapse_sigclip_parameter_create (double kappa_low, double kappa_high, int niter)
| create a parameter object for sigclipped mean
cpl_boolean | hdrl_collapse_parameter_is_sigclip (const hdrl_parameter *self)
| check if parameter is a sigclip mean parameter
double | hdrl_collapse_sigclip_parameter_get_kappa_high (const hdrl_parameter *p)
| get high kappa
double | hdrl_collapse_sigclip_parameter_get_kappa_low (const hdrl_parameter *p)
| get low kappa
int | hdrl_collapse_sigclip_parameter_get_niter (const hdrl_parameter *p)
| get maximum number of clipping iterations
hdrl_parameter * | hdrl_collapse_minmax_parameter_create (double nlow, double nhigh)
| create a parameter object for min-max rejected mean
cpl_boolean | hdrl_collapse_parameter_is_minmax (const hdrl_parameter *self)
| check if parameter is a minmax mean parameter
double | hdrl_collapse_minmax_parameter_get_nhigh (const hdrl_parameter *p)
| get high value
double | hdrl_collapse_minmax_parameter_get_nlow (const hdrl_parameter *p)
| get low value
hdrl_parameter * | hdrl_collapse_mode_parameter_create (double histo_min, double histo_max, double bin_size, hdrl_mode_type mode_method, cpl_size error_niter)
| create a parameter object for the mode
cpl_boolean | hdrl_collapse_parameter_is_mode (const hdrl_parameter *self)
| check if parameter is a mode parameter
double | hdrl_collapse_mode_parameter_get_histo_min (const hdrl_parameter *p)
| get min value
double | hdrl_collapse_mode_parameter_get_histo_max (const hdrl_parameter *p)
| get high value
double | hdrl_collapse_mode_parameter_get_bin_size (const hdrl_parameter *p)
| get size of the histogram bins
hdrl_mode_type | hdrl_collapse_mode_parameter_get_method (const hdrl_parameter *p)
| get the mode determination method
cpl_size | hdrl_collapse_mode_parameter_get_error_niter (const hdrl_parameter *p)
| get the error type of the mode
cpl_parameterlist * | hdrl_collapse_parameter_create_parlist (const char *base_context, const char *prefix, const char *method_def, hdrl_parameter *sigclip_def, hdrl_parameter *minmax_def, hdrl_parameter *mode_def)
| Create parameters for the collapse.
hdrl_parameter * | hdrl_collapse_parameter_parse_parlist (const cpl_parameterlist *parlist, const char *prefix)
| parse parameterlist for imagelist reduction method

## Typedef Documentation

## ◆ hdrl_collapse_imagelist_to_image_f

typedef cpl_error_code() hdrl_collapse_imagelist_to_image_f(const cpl_imagelist *data, const cpl_imagelist *errors, cpl_image **out, cpl_image **err, cpl_image **contrib, void *parameters, void *extra_out)

## ◆ hdrl_collapse_imagelist_to_vector_f

typedef cpl_error_code() hdrl_collapse_imagelist_to_vector_f(const cpl_imagelist *data, const cpl_imagelist *errors, cpl_vector **out, cpl_vector **err, cpl_array **contrib, void *parameters, void *extra_out)