The shift table
[Data Format Handling 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)
xsh_shift_tabxsh_shift_tab_create (xsh_instrument *instrument)

Function Documentation

xsh_shift_tab* xsh_shift_tab_create ( xsh_instrument instrument  ) 

Create an empty shift_tab structure.

Parameters:
instrument Instrument structure
Returns:
An empty shift_tab structure

Definition at line 204 of file xsh_data_shift_tab.c.

References check, xsh_shift_tab::header, 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().

void xsh_shift_tab_free ( xsh_shift_tab **  tab  ) 

Free memory associated to a the_arcline.

Parameters:
tab The 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* xsh_shift_tab_load ( cpl_frame *  frame,
xsh_instrument instr 
)
cpl_frame* xsh_shift_tab_save ( xsh_shift_tab tab,
const char *  tag 
)

Generated on 9 Mar 2011 for X-shooter Pipeline Reference Manual by  doxygen 1.6.1