X-shooter Pipeline Reference Manual 3.8.15
Macros | Functions
xsh_combine_nod.c File Reference
#include <math.h>
#include <xsh_drl.h>
#include <xsh_badpixelmap.h>
#include <xsh_utils_image.h>
#include <xsh_data_pre.h>
#include <xsh_data_order.h>
#include <xsh_data_wavemap.h>
#include <xsh_data_localization.h>
#include <xsh_data_rec.h>
#include <xsh_dfs.h>
#include <xsh_pfits.h>
#include <xsh_error.h>
#include <xsh_msg.h>
#include <xsh_fit.h>
#include <cpl.h>

Go to the source code of this file.

Macros

#define combine_nod_old   0
 

Functions

void xsh_compute_slit_index (float slit_min, float slit_step, xsh_rec_list **from, int *slit_index_tab, int size)
 
static cpl_imagelist * xsh_compute_scale_factors_by_object (cpl_imagelist *scaled, cpl_image *scale, const int nlambda, const int nslit, const int no, const double smin, const double smax)
 
static cpl_imagelist * xsh_compute_scale_factors_by_slice (cpl_imagelist *scaled, cpl_image *scale, const int nlambda, const int nslit, const int no)
 
static cpl_imagelist * xsh_compute_scale_factors_pix_pix (cpl_imagelist *scaled, cpl_image *scale, const int nlambda, const int nslit, const int no)
 
static cpl_table * xsh_qual2tab_frames (int nframes, const int code, int *slit_index, xsh_rec_list *dest, xsh_rec_list **from, const int no)
 
static cpl_imagelist * xsh_find_image_scale_factors (xsh_rec_list *dest, xsh_rec_list **from, int *slit_index, int nb_frames, int no, int method, const int decode_bp, int scale_method)
 
static cpl_error_code xsh_rec_list_qc (xsh_rec_list *dest, xsh_rec_list **from, int *slit_index, int nb_frames, int no, int method, const int decode_bp, const int nf)
 
void xsh_rec_list_add (xsh_rec_list *dest, xsh_rec_list **from, int *slit_index, int nb_frames, int no, int method, const int decode_bp)
 
cpl_error_code xsh_correct_scale_w (xsh_rec_list *dest, xsh_rec_list **from, int *slit_index, int nb_frames, int no, int method, const int decode_bp, cpl_imagelist *scale_factors, const int scale_method, const cpl_table *bp)
 
cpl_error_code xsh_correct_scale (xsh_rec_list *dest, xsh_rec_list **from, int *slit_index, int nb_frames, int no, int method, const int decode_bp, cpl_imagelist *scale_factors, const int scale_method)
 
cpl_frame * xsh_combine_nod (cpl_frameset *nod_frames, xsh_combine_nod_param *nod_par, const char *tag, xsh_instrument *instrument, cpl_frame **res_frame_ext, const int scale_nod)