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

Functions

hdrl_spectrum1Dlisthdrl_spectrum1Dlist_new (void)
 hdrl_spectrum1Dlist default constructor
 
hdrl_spectrum1Dlisthdrl_spectrum1Dlist_duplicate (const hdrl_spectrum1Dlist *l)
 hdrl_spectrum1Dlist copy-constructor
 
hdrl_spectrum1Dlisthdrl_spectrum1Dlist_wrap (hdrl_spectrum1D **self, const cpl_size sz)
 hdrl_spectrum1Dlist wrapper
 
hdrl_spectrum1Dhdrl_spectrum1Dlist_get (hdrl_spectrum1Dlist *self, const cpl_size idx)
 hdrl_spectrum1Dlist getter of the i-th element
 
const hdrl_spectrum1Dhdrl_spectrum1Dlist_get_const (const hdrl_spectrum1Dlist *self, const cpl_size idx)
 hdrl_spectrum1Dlist getter of the i-th element
 
cpl_error_code hdrl_spectrum1Dlist_set (hdrl_spectrum1Dlist *self, hdrl_spectrum1D *s, const cpl_size idx)
 hdrl_spectrum1Dlist setter of the i-th element
 
hdrl_spectrum1Dhdrl_spectrum1Dlist_unset (hdrl_spectrum1Dlist *self, const cpl_size idx)
 hdrl_spectrum1Dlist remove of the i-th element
 
void hdrl_spectrum1Dlist_delete (hdrl_spectrum1Dlist *l)
 hdrl_spectrum1Dlist destructor
 
cpl_size hdrl_spectrum1Dlist_get_size (const hdrl_spectrum1Dlist *l)
 hdrl_spectrum1Dlist getter for size
 
cpl_error_code hdrl_spectrum1Dlist_collapse (const hdrl_spectrum1Dlist *list, const hdrl_parameter *stacking_par, const cpl_array *wlengths, const hdrl_parameter *resample_par, const cpl_boolean mark_bpm_in_interpolation, hdrl_spectrum1D **result, cpl_image **contrib, hdrl_imagelist **resampled_and_aligned_fluxes)
 collapsing a hdrl_spectrum1Dlist. The spectra in list are first resampled on the wavelengths wlengths. The resampling method is regulated by the resample_par. For more information on samplig_par see hdrl_spectrum1D_resample_on_array. The resampled fluxes are collapsed as in hdrl_imagelist_collapse and the collapsing is regulated by the parameter stacking_par. For more information on stacking_par please see the documentation of hdrl_imagelist_collapse.