X-shooter Pipeline Reference Manual 3.8.15
Functions

Functions

xsh_shift_tabxsh_shift_tab_load (cpl_frame *frame, xsh_instrument *instr)
 Load a shift table.
 
void xsh_shift_tab_free (xsh_shift_tab **tab)
 Free memory associated to a the_arcline.
 
cpl_frame * xsh_shift_tab_save (xsh_shift_tab *tab, const char *tag, const int clean_tmp)
 
xsh_shift_tabxsh_shift_tab_create (xsh_instrument *instrument)
 

Detailed Description

Function Documentation

◆ xsh_shift_tab_create()

xsh_shift_tab * xsh_shift_tab_create ( xsh_instrument instrument)

Create an empty shift_tab structure.

Parameters
instrumentInstrument structure
Returns
An empty shift_tab structure

Definition at line 206 of file xsh_data_shift_tab.c.

References check, xsh_shift_tab::header, instrument, xsh_shift_tab::is_ifu, mode, XSH_ASSURE_NOT_NULL, XSH_CALLOC, xsh_instrument_get_mode(), and XSH_MODE_IFU.

Referenced by xsh_follow_arclines().

◆ xsh_shift_tab_free()

void xsh_shift_tab_free ( xsh_shift_tab **  tab)

Free memory associated to a the_arcline.

Parameters
tabThe shift_tab to free

Definition at line 123 of file xsh_data_shift_tab.c.

References xsh_free_propertylist().

Referenced by xsh_follow_arclines(), xsh_follow_arclines_ifu(), xsh_ifu_wavetab_create(), and xsh_shift_tab_load().

◆ xsh_shift_tab_load()

xsh_shift_tab * xsh_shift_tab_load ( cpl_frame *  frame,
xsh_instrument instr 
)

◆ xsh_shift_tab_save()

cpl_frame * xsh_shift_tab_save ( xsh_shift_tab tab,
const char *  tag,
const int  clean_tmp 
)