#include <math.h>
#include <xsh_drl.h>
#include <xsh_utils_table.h>
#include <xsh_badpixelmap.h>
#include <xsh_data_pre.h>
#include <xsh_dfs.h>
#include <xsh_pfits.h>
#include <xsh_error.h>
#include <xsh_msg.h>
#include <xsh_fit.h>
#include <xsh_data_instrument.h>
#include <xsh_data_rec.h>
#include <xsh_data_spectrum.h>
#include <xsh_ifu_defs.h>
#include <xsh_irplib_utils.h>
#include <cpl.h>
Go to the source code of this file.
Functions | |
static void | xsh_merge_point (double flux_a, double weight_a, double flux_b, double weight_b, double *flux_res, double *err_res) |
Compute flux and error associated to each merged spectrum point. | |
static cpl_frame * | xsh_merge_ord_with_tag (cpl_frame *rec_frame, xsh_instrument *instrument, int merge_par, const char *tag) |
Merge the orders. | |
cpl_frame * | xsh_merge_ord (cpl_frame *rec_frame, xsh_instrument *instrument, int merge_par, const char *rec_prefix) |
Merge orders of the rectified frame using merge parameters. | |
cpl_frame * | xsh_merge_ord_slitlet (cpl_frame *rec_frame, xsh_instrument *instrument, int merge_par, int slitlet, const char *rec_prefix) |
Merge orders of the rectified frame using merge parameters. | |
static void | xsh_frame_set_shift_ref (cpl_frame *rec_frame, cpl_frame *shift_frame) |
cpl_frameset * | xsh_merge_ord_ifu (cpl_frameset *rec_frameset, xsh_instrument *instrument, int merge_par, const char *rec_prefix) |
Merge orders of the rectified frame using merge parameters. |