X-shooter Pipeline Reference Manual 3.8.15
Data Structures | Macros | Functions
xsh_data_wavemap.h File Reference
#include <cpl.h>
#include <xsh_data_instrument.h>

Go to the source code of this file.

Data Structures

struct  wavemap_item
 
struct  xsh_wavemap
 
struct  xsh_wavemap_list
 

Macros

#define XSH_WAVEMAP_TABLE_NB_UVB_ORDERS   11
 
#define XSH_WAVEMAP_TABLE_NB_VIS_ORDERS   14
 
#define XSH_WAVEMAP_TABLE_NB_NIR_ORDERS   16
 

Functions

cpl_error_code xsh_wavemap_list_object_image_save (xsh_wavemap_list *omap, xsh_instrument *instr, const int iter)
 
cpl_error_code xsh_wavemap_list_sky_image_save (xsh_wavemap_list *smap, xsh_instrument *instr, const int abs_ord, const int sid, const int iter)
 
cpl_error_code xsh_wavemap_list_save4debug (xsh_wavemap_list *wmap, xsh_instrument *instr, const char *prefix)
 
xsh_wavemap_listxsh_wavemap_list_create (xsh_instrument *instr)
 create an empty order list
 
void xsh_wavemap_list_free (xsh_wavemap_list **list)
 free memory associated to a wavemap_list
 
void xsh_wavemap_list_dump (xsh_wavemap_list *list, const char *fname)
 Dump main info about a rec table (for each order of the list)
 
void xsh_wavemap_list_set_max_size (xsh_wavemap_list *list, int idx, int ordnum, int ndata)
 set max size of wavemap
 
void xsh_wavemap_list_compute (double *vlambda, double *xpos, double *ypos, int nitems, double *orders, xsh_dispersol_param *dispsol_param, xsh_wavemap_list *wmap)
 compute a wave-map-list
 
void xsh_wavemap_list_compute_poly (double *vlambda, double *vslit, double *xpos, double *ypos, int nitems, double *orders, xsh_dispersol_param *dispsol_param, xsh_wavemap_list *wmap)
 compute a wave-map-list
 
cpl_frame * xsh_wavemap_list_save_poly (xsh_wavemap_list *wmap, cpl_frame *order_frame, xsh_pre *pre, xsh_instrument *instr, const char *fname, cpl_frame **dispersol_frame, cpl_frame **slitmap_frame)
 Save the wave_map slit_map and disp_tab.
 
cpl_frame * xsh_wavemap_list_save (xsh_wavemap_list *wmap, cpl_frame *order_frame, xsh_pre *pre, xsh_instrument *instr, const char *fname)
 
cpl_frame * xsh_wavemap_list_save2 (xsh_wavemap_list *wmap, xsh_order_list *order_list, xsh_pre *pre, xsh_instrument *instr, const char *prefix)
 

Macro Definition Documentation

◆ XSH_WAVEMAP_TABLE_NB_NIR_ORDERS

#define XSH_WAVEMAP_TABLE_NB_NIR_ORDERS   16

Definition at line 33 of file xsh_data_wavemap.h.

◆ XSH_WAVEMAP_TABLE_NB_UVB_ORDERS

#define XSH_WAVEMAP_TABLE_NB_UVB_ORDERS   11

Definition at line 31 of file xsh_data_wavemap.h.

◆ XSH_WAVEMAP_TABLE_NB_VIS_ORDERS

#define XSH_WAVEMAP_TABLE_NB_VIS_ORDERS   14

Definition at line 32 of file xsh_data_wavemap.h.