Functions | |
| static double | integrate_flux (const double *spectrum_data, const cpl_binary *spectrum_bad, int spectrum_row, int nx, double x_min, double x_max, bool threshold_to_positive, bool *is_bad) |
| Integrate flux. | |
| cpl_parameterlist * | uves_rebin_define_parameters (void) |
| Define recipe parameters used for rebinning. | |
| cpl_image * | uves_rebin (const cpl_image *spectrum, const cpl_parameterlist *parameters, const char *context, const cpl_table *linetable, const polynomial *dispersion_relation, int first_abs_order, int last_abs_order, int n_traces, bool threshold_to_positive, uves_propertylist **rebinned_header) |
| Rebin a spectrum. | |
|
||||||||||||||||||||||||||||||||||||
|
Integrate flux.
Definition at line 684 of file uves_rebin.c. References uves_max_double(), uves_max_int(), uves_min_double(), uves_min_int(), and uves_round_double(). |
|
|
Define recipe parameters used for rebinning.
Definition at line 198 of file uves_rebin.c. |
|
||||||||||||||||||||||||||||||||||||||||||||
|
Rebin a spectrum.
The conversion factor |d x / d (lambda)| can be switched on/off by (un-)setting the corresponding parameter (see If the MIDAS flag is set, the resampled spectrum is shifted a random amount (depending on round-off) up to wavestep / 2. Bad pixels are taken into account and propagated, and an output bin is marked as bad if no flux (from good pixels) went into that bin. Definition at line 301 of file uves_rebin.c. References assure, check, passure, uves_absolute_order(), uves_initialize_image_header(), uves_msg_debug, uves_round_double(), and uves_tostring_cpl_type(). Referenced by extract_ff_rebin_merge(). |
1.4.6