/home/amodigli/releases/xsh/2.1.1/xsh.30433/xshp/xsh/xsh_dfs.h File Reference

#include <string.h>
#include <xsh_data_instrument.h>
#include <cpl.h>
#include <xsh_dump.h>

Go to the source code of this file.

Defines

#define XSH_IFU_CFG_TAB   "IFU_CFG_TAB"
#define XSH_IFU_CFG_TAB_UVB   "IFU_CFG_TAB_UVB"
#define XSH_IFU_CFG_TAB_VIS   "IFU_CFG_TAB_VIS"
#define XSH_IFU_CFG_TAB_NIR   "IFU_CFG_TAB_NIR"
#define XSH_IFU_CFG_COR   "IFU_CFG_COR"
#define XSH_IFU_CFG_COR_UVB   "IFU_CFG_COR_UVB"
#define XSH_IFU_CFG_COR_VIS   "IFU_CFG_COR_VIS"
#define XSH_IFU_CFG_COR_NIR   "IFU_CFG_COR_NIR"
#define XSH_IFU_MAP_SKY   "IFU_MAP_SKY"
#define XSH_IFU_MAP_SKY_UVB   "IFU_MAP_SKY_UVB"
#define XSH_IFU_MAP_SKY_VIS   "IFU_MAP_SKY_VIS"
#define XSH_IFU_MAP_SKY_NIR   "IFU_MAP_SKY_NIR"
#define XSH_ARC_LINE_LIST_INTMON   "ARC_LINE_LIST_INTMON"
#define XSH_ARC_LINE_LIST_INTMON_UVB   "ARC_LINE_LIST_INTMON_UVB"
#define XSH_ARC_LINE_LIST_INTMON_VIS   "ARC_LINE_LIST_INTMON_VIS"
#define XSH_ARC_LINE_LIST_INTMON_NIR   "ARC_LINE_LIST_INTMON_NIR"
#define XSH_CORRECTIFU_LAMBDAREF_PIPE_UVB   400
#define XSH_CORRECTIFU_LAMBDAREF_PIPE_VIS   700
#define XSH_CORRECTIFU_LAMBDAREF_PIPE_NIR   1500
#define XSH_SLIT_BIN_SIZE_AUTO_PIPE_UVB   0.16
#define XSH_SLIT_BIN_SIZE_AUTO_PIPE_VIS   0.16
#define XSH_SLIT_BIN_SIZE_AUTO_PIPE_NIR   0.21
#define XSH_WAVE_BIN_SIZE_AUTO_PIPE_UVB   0.04
#define XSH_WAVE_BIN_SIZE_AUTO_PIPE_VIS   0.04
#define XSH_WAVE_BIN_SIZE_AUTO_PIPE_NIR   0.1
#define XSH_SLIT_BIN_SIZE_NARROW_SLIT_UVB   0.16
#define XSH_SLIT_BIN_SIZE_NARROW_SLIT_VIS   0.16
#define XSH_SLIT_BIN_SIZE_NARROW_SLIT_NIR   0.21
#define XSH_WAVE_BIN_SIZE_NARROW_SLIT_UVB   0.015
#define XSH_WAVE_BIN_SIZE_NARROW_SLIT_VIS   0.015
#define XSH_WAVE_BIN_SIZE_NARROW_SLIT_NIR   0.06
#define XSH_SLIT_BIN_SIZE_BROAD_SLIT_UVB   0.16
#define XSH_SLIT_BIN_SIZE_BROAD_SLIT_VIS   0.16
#define XSH_SLIT_BIN_SIZE_BROAD_SLIT_NIR   0.21
#define XSH_WAVE_BIN_SIZE_BROAD_SLIT_UVB   0.02
#define XSH_WAVE_BIN_SIZE_BROAD_SLIT_VIS   0.02
#define XSH_WAVE_BIN_SIZE_BROAD_SLIT_NIR   0.06
#define XSH_SLIT_BIN_SIZE_PIPE_UVB   XSH_SLIT_BIN_SIZE_BROAD_SLIT_UVB
#define XSH_SLIT_BIN_SIZE_PIPE_VIS   XSH_SLIT_BIN_SIZE_BROAD_SLIT_VIS
#define XSH_SLIT_BIN_SIZE_PIPE_NIR   XSH_SLIT_BIN_SIZE_BROAD_SLIT_NIR
#define XSH_WAVE_BIN_SIZE_PIPE_UVB   XSH_WAVE_BIN_SIZE_BROAD_SLIT_UVB
#define XSH_WAVE_BIN_SIZE_PIPE_VIS   XSH_WAVE_BIN_SIZE_BROAD_SLIT_VIS
#define XSH_WAVE_BIN_SIZE_PIPE_NIR   XSH_WAVE_BIN_SIZE_BROAD_SLIT_NIR
#define XSH_DRS_MBIAS   "DRS_MBIAS"
#define XSH_DRS_MBIAS_UVB   "DRS_MBIAS_UVB"
#define XSH_DRS_MBIAS_VIS   "DRS_MBIAS_VIS"
#define XSH_DRS_MBIAS_NIR   "DRS_MBIAS_NIR"
#define XSH_DRS_MDARK   "DRS_MDARK"
#define XSH_DRS_MDARK_UVB   "DRS_MDARK_UVB"
#define XSH_DRS_MDARK_VIS   "DRS_MDARK_VIS"
#define XSH_DRS_MDARK_NIR   "DRS_MDARK_NIR"
#define XSH_DRS   "DRS"
#define XSH_DRS_UVB   "DRS_UVB"
#define XSH_DRS_VIS   "DRS_VIS"
#define XSH_DRS_NIR   "DRS_NIR"
#define XSH_LINEARITY   "LINEARITY"
#define XSH_LINGAIN   "LINGAIN"
#define XSH_LINGAIN_UVB   "LINGAIN_UVB"
#define XSH_LINGAIN_VIS   "LINGAIN_VIS"
#define XSH_LINGAIN_NIR   "LINGAIN_NIR"
#define XSH_TRACE   "TRACE"
#define XSH_IFU_DETECT_IFU_TRACE   "IFU_DETECT_IFU_TRACE"
#define XSH_IFU_DETECT_IFU_TRACE_UVB   "IFU_DETECT_IFU_TRACE_UVB"
#define XSH_IFU_DETECT_IFU_TRACE_VIS   "IFU_DETECT_IFU_TRACE_VIS"
#define XSH_IFU_DETECT_IFU_TRACE_NIR   "IFU_DETECT_IFU_TRACE_NIR"
#define XSH_SLIT_MAP_MODEL   "SLIT_MAP"
#define XSH_SLIT_MAP_MODEL_UVB   "SLIT_MAP_UVB"
#define XSH_SLIT_MAP_MODEL_VIS   "SLIT_MAP_VIS"
#define XSH_SLIT_MAP_MODEL_NIR   "SLIT_MAP_NIR"
#define XSH_SLIT_MAP_POLY   "SLIT_MAP"
#define XSH_SLIT_MAP_POLY_UVB   "SLIT_MAP_UVB"
#define XSH_SLIT_MAP_POLY_VIS   "SLIT_MAP_VIS"
#define XSH_SLIT_MAP_POLY_NIR   "SLIT_MAP_NIR"
#define XSH_SLIT_STARE_REMOVE_CRH   "SLIT_STARE_REMOVE_CRH"
#define XSH_SLIT_STARE_REMOVE_CRH_UVB   "SLIT_STARE_REMOVE_CRH_UVB"
#define XSH_SLIT_STARE_REMOVE_CRH_VIS   "SLIT_STARE_REMOVE_CRH_VIS"
#define XSH_SLIT_STARE_REMOVE_CRH_NIR   "SLIT_STARE_REMOVE_CRH_NIR"
#define XSH_IFU_STARE_REMOVE_CRH   "IFU_STARE_REMOVE_CRH"
#define XSH_IFU_STARE_REMOVE_CRH_UVB   "IFU_STARE_REMOVE_CRH_UVB"
#define XSH_IFU_STARE_REMOVE_CRH_VIS   "IFU_STARE_REMOVE_CRH_VIS"
#define XSH_IFU_STARE_REMOVE_CRH_NIR   "IFU_STARE_REMOVE_CRH_NIR"
#define XSH_BIAS_REMOVE_CRH   "BIAS_REMOVE_CRH"
#define XSH_BIAS_REMOVE_CRH_UVB   "BIAS_REMOVE_CRH_UVB"
#define XSH_BIAS_REMOVE_CRH_VIS   "BIAS_REMOVE_CRH_VIS"
#define XSH_BIAS_REMOVE_CRH_NIR   "BIAS_REMOVE_CRH_NIR"
#define XSH_FLAT_REMOVE_CRH   "FLAT_REMOVE_CRH"
#define XSH_FLAT_REMOVE_CRH_UVB   "FLAT_REMOVE_CRH_UVB"
#define XSH_FLAT_REMOVE_CRH_VIS   "FLAT_REMOVE_CRH_VIS"
#define XSH_FLAT_REMOVE_CRH_NIR   "FLAT_REMOVE_CRH_NIR"
#define XSH_HIGH_ABS_WIN   "HIGH_ABS_WIN"
#define XSH_HIGH_ABS_WIN_UVB   "HIGH_ABS_WIN_UVB"
#define XSH_HIGH_ABS_WIN_VIS   "HIGH_ABS_WIN_VIS"
#define XSH_HIGH_ABS_WIN_NIR   "HIGH_ABS_WIN_NIR"
#define XSH_TELL_MOD_CAT   "TELL_MOD_CAT"
#define XSH_TELL_MOD_CAT_UVB   "TELL_MOD_CAT_UVB"
#define XSH_TELL_MOD_CAT_VIS   "TELL_MOD_CAT_VIS"
#define XSH_TELL_MOD_CAT_NIR   "TELL_MOD_CAT_NIR"
#define XSH_ONOFF_REMOVE_CRH   "ONOFF_REMOVE_CRH"
#define XSH_ONOFF_REMOVE_CRH_UVB   "ONOFF_REMOVE_CRH_UVB"
#define XSH_ONOFF_REMOVE_CRH_VIS   "ONOFF_REMOVE_CRH_VIS"
#define XSH_ONOFF_REMOVE_CRH_NIR   "ONOFF_REMOVE_CRH_NIR"
#define XSH_FLAT_QTH_SLIT_UVB   "FLAT_QTH_SLIT_UVB"
#define XSH_FLAT_D2_SLIT_UVB   "FLAT_D2_SLIT_UVB"
#define XSH_FLAT_SLIT_VIS   "FLAT_SLIT_VIS"
#define XSH_FLAT_SLIT_NIR   "FLAT_SLIT_NIR_ON"
#define XSH_FLAT_SLIT_OFF   "FLAT_SLIT_NIR_OFF"
#define XSH_FLAT_QTH_IFU_UVB   "FLAT_QTH_IFU_UVB"
#define XSH_FLAT_D2_IFU_UVB   "FLAT_D2_IFU_UVB"
#define XSH_FLAT_IFU_VIS   "FLAT_IFU_VIS"
#define XSH_FLAT_IFU_NIR   "FLAT_IFU_NIR_ON"
#define XSH_FLAT_IFU_OFF   "FLAT_IFU_NIR_OFF"
#define XSH_MEASURE_FLAT_SLIT_EDGES   "MEASURE_FLAT_SLIT_EDGES"
#define XSH_MEASURE_FLAT_D2_SLIT_EDGES_UVB   "MEASURE_FLAT_D2_SLIT_EDGES_UVB"
#define XSH_MEASURE_FLAT_QTH_SLIT_EDGES_UVB   "MEASURE_FLAT_QTH_SLIT_EDGES_UVB"
#define XSH_MEASURE_FLAT_SLIT_EDGES_UVB   "MEASURE_FLAT_SLIT_EDGES_UVB"
#define XSH_MEASURE_FLAT_SLIT_EDGES_VIS   "MEASURE_FLAT_SLIT_EDGES_VIS"
#define XSH_MEASURE_FLAT_SLIT_EDGES_NIR   "MEASURE_FLAT_SLIT_EDGES_NIR"
#define XSH_MEASURE_FLAT_IFU_EDGES   "MEASURE_FLAT_IFU_EDGES"
#define XSH_MEASURE_FLAT_D2_IFU_EDGES_UVB   "MEASURE_FLAT_D2_IFU_EDGES_UVB"
#define XSH_MEASURE_FLAT_QTH_IFU_EDGES_UVB   "MEASURE_FLAT_QTH_IFU_EDGES_UVB"
#define XSH_MEASURE_FLAT_IFU_EDGES_UVB   "MEASURE_FLAT_IFU_EDGES_UVB"
#define XSH_MEASURE_FLAT_IFU_EDGES_VIS   "MEASURE_FLAT_IFU_EDGES_VIS"
#define XSH_MEASURE_FLAT_IFU_EDGES_NIR   "MEASURE_FLAT_IFU_EDGES_NIR"
#define XSH_EFFICIENCY   "EFFICIENCY"
#define XSH_BIAS   "BIAS"
#define XSH_DARK   "DARK"
#define XSH_FMTCHK   "FMTCHK"
#define XSH_FLAT   "FLAT"
#define XSH_ORDERDEF   "ORDERDEF"
#define XSH_WAVECAL   "ARC"
#define XSH_WAVE   "WAVE"
#define XSH_OBJECT_SLIT_STARE   "OBJECT_SLIT_STARE"
#define XSH_FLUX_OFFSET   "STD_FLUX_OFFSET"
#define XSH_OBJECT_SLIT_NOD   "OBJECT_SLIT_NOD"
#define XSH_OBJECT_SLIT_OFFSET   "OBJECT_SLIT_OFFSET"
#define XSH_OBJECT_IFU_STARE   "OBJECT_IFU_STARE"
#define XSH_OBJECT_IFU_OFFSET   "OBJECT_IFU_OFFSET"
#define XSH_SKY_SLIT   "SKY_SLIT"
#define XSH_SKY_IFU   "SKY_IFU"
#define XSH_IMA   "IMA"
#define XSH_IMA_UVB   "IMA_UVB"
#define XSH_IMA_VIS   "IMA_VIS"
#define XSH_IMA_NIR   "IMA_NIR"
#define XSH_RAW_IMA_SLIT   "RAW_IMA_SLIT"
#define XSH_RAW_IMA_SLIT_VIS   "RAW_IMA_SLIT_VIS"
#define XSH_RAW_IMA_SLIT_UVB   "RAW_IMA_SLIT_UVB"
#define XSH_RAW_IMA_SLIT_NIR   "RAW_IMA_SLIT_NIR"
#define XSH_RAW_IMA_IFU   "RAW_IMA_IFU"
#define XSH_RAW_IMA_IFU_VIS   "RAW_IMA_IFU_VIS"
#define XSH_RAW_IMA_IFU_UVB   "RAW_IMA_IFU_UVB"
#define XSH_RAW_IMA_IFU_NIR   "RAW_IMA_IFU_NIR"
#define XSH_SKY_SUB_BKPTS   "SKY_SUB_BKPTS"
#define XSH_SKY_SUB_BKPTS_UVB   "SKY_SUB_BKPTS_UVB"
#define XSH_SKY_SUB_BKPTS_VIS   "SKY_SUB_BKPTS_VIS"
#define XSH_SKY_SUB_BKPTS_NIR   "SKY_SUB_BKPTS_NIR"
#define XSH_GAIN   "GAIN_INFO"
#define XSH_GAIN_UVB   "GAIN_INFO_UVB"
#define XSH_GAIN_VIS   "GAIN_INFO_VIS"
#define XSH_GAIN_NIR   "GAIN_INFO_NIR"
#define XSH_FLUX_STD_TAB   "FLUX_STD_TABLE"
#define XSH_FLUX_STD_TAB_UVB   "FLUX_STD_TABLE_UVB"
#define XSH_FLUX_STD_TAB_VIS   "FLUX_STD_TABLE_VIS"
#define XSH_FLUX_STD_TAB_NIR   "FLUX_STD_TABLE_NIR"
#define XSH_FLUX_STD_CAT   "FLUX_STD_CATALOG"
#define XSH_FLUX_STD_CAT_UVB   "FLUX_STD_CATALOG_UVB"
#define XSH_FLUX_STD_CAT_VIS   "FLUX_STD_CATALOG_VIS"
#define XSH_FLUX_STD_CAT_NIR   "FLUX_STD_CATALOG_NIR"
#define XSH_EXTCOEFF_TAB   "EXTCOEFF_TABLE"
#define XSH_EXTCOEFF_TAB_UVB   "EXTCOEFF_TABLE_UVB"
#define XSH_EXTCOEFF_TAB_VIS   "EXTCOEFF_TABLE_VIS"
#define XSH_EXTCOEFF_TAB_NIR   "EXTCOEFF_TABLE_NIR"
#define XSH_CPIX_MAP   "CPIX_MAP"
#define XSH_CPIX_MAP_UVB   "CPIX_MAP_UVB"
#define XSH_CPIX_MAP_VIS   "CPIX_MAP_VIS"
#define XSH_CPIX_MAP_NIR   "CPIX_MAP_NIR"
#define XSH_HPIX_MAP   "HPIX_MAP"
#define XSH_HPIX_MAP_UVB   "HPIX_MAP_UVB"
#define XSH_HPIX_MAP_VIS   "HPIX_MAP_VIS"
#define XSH_HPIX_MAP_NIR   "HPIX_MAP_NIR"
#define XSH_CRH_MAP   "CRH_MAP"
#define XSH_CRH_MAP_UVB   "CRH_MAP_UVB"
#define XSH_CRH_MAP_VIS   "CRH_MAP_VIS"
#define XSH_CRH_MAP_NIR   "CRH_MAP_NIR"
#define XSH_CRH_LIST   "CRH_LIST"
#define XSH_CRH_LIST_UVB   "CRH_LIST_UVB"
#define XSH_CRH_LIST_VIS   "CRH_LIST_VIS"
#define XSH_CRH_LIST_NIR   "CRH_LIST_NIR"
#define XSH_STD_FLUX_SLIT_STARE_ORDER1D   "STD_FLUX_SLIT_STARE_ORDER1D"
#define XSH_STD_FLUX_SLIT_STARE_ORDER1D_UVB   "STD_FLUX_SLIT_STARE_ORDER1D_UVB"
#define XSH_STD_FLUX_SLIT_STARE_ORDER1D_VIS   "STD_FLUX_SLIT_STARE_ORDER1D_VIS"
#define XSH_STD_FLUX_SLIT_STARE_ORDER1D_NIR   "STD_FLUX_SLIT_STARE_ORDER1D_NIR"
#define XSH_STD_FLUX_SLIT_STARE_MERGE1D   "STD_FLUX_SLIT_STARE_MERGE1D"
#define XSH_STD_FLUX_SLIT_STARE_MERGE1D_UVB   "STD_FLUX_SLIT_STARE_MERGE1D_UVB"
#define XSH_STD_FLUX_SLIT_STARE_MERGE1D_VIS   "STD_FLUX_SLIT_STARE_MERGE1D_VIS"
#define XSH_STD_FLUX_SLIT_STARE_MERGE1D_NIR   "STD_FLUX_SLIT_STARE_MERGE1D_NIR"
#define XSH_ORDERPOS_RESID_TAB   "ORDERPOS_RESID_TAB"
#define XSH_ORDERPOS_RESID_TAB_UVB   "ORDERPOS_RESID_TAB_UVB"
#define XSH_ORDERPOS_RESID_TAB_VIS   "ORDERPOS_RESID_TAB_VIS"
#define XSH_ORDERPOS_RESID_TAB_NIR   "ORDERPOS_RESID_TAB_NIR"
#define XSH_DET_LIN_INFO_UVB   "DET_LIN_INFO_UVB"
#define XSH_DET_LIN_INFO_VIS   "DET_LIN_INFO_VIS"
#define XSH_DET_LIN_INFO_NIR   "DET_LIN_INFO_NIR"
#define XSH_GAIN_INFO_UVB   "GAIN_INFO_UVB"
#define XSH_GAIN_INFO_VIS   "GAIN_INFO_VIS"
#define XSH_GAIN_INFO_NIR   "GAIN_INFO_NIR"
#define XSH_COEFFS_CUBE_UVB   "COEFFS_CUBE_UVB"
#define XSH_COEFFS_CUBE_VIS   "COEFFS_CUBE_VIS"
#define XSH_COEFFS_CUBE_NIR   "COEFFS_CUBE_NIR"
#define XSH_BP_MAP   "BP_MAP"
#define XSH_BP_MAP_UVB   "BP_MAP_UVB"
#define XSH_BP_MAP_VIS   "BP_MAP_VIS"
#define XSH_BP_MAP_NIR   "BP_MAP_NIR"
#define XSH_BP_MAP_NP   "BP_MAP_NP"
#define XSH_BP_MAP_NP_UVB   "BP_MAP_NP_UVB"
#define XSH_BP_MAP_NP_VIS   "BP_MAP_NP_VIS"
#define XSH_BP_MAP_NP_NIR   "BP_MAP_NP_NIR"
#define XSH_BP_MAP_PN   "BP_MAP_PN"
#define XSH_BP_MAP_PN_UVB   "BP_MAP_PN_UVB"
#define XSH_BP_MAP_PN_VIS   "BP_MAP_PN_VIS"
#define XSH_BP_MAP_PN_NIR   "BP_MAP_PN_NIR"
#define XSH_BP_MAP_RP   "BP_MAP_RP"
#define XSH_BP_MAP_RP_UVB   "BP_MAP_RP_UVB"
#define XSH_BP_MAP_RP_VIS   "BP_MAP_RP_VIS"
#define XSH_BP_MAP_RP_NIR   "BP_MAP_RP_NIR"
#define XSH_BP_MAP_NL   "BP_MAP_NL"
#define XSH_BP_MAP_NL_UVB   "BP_MAP_NL_UVB"
#define XSH_BP_MAP_NL_VIS   "BP_MAP_NL_VIS"
#define XSH_BP_MAP_NL_NIR   "BP_MAP_NL_NIR"
#define XSH_RAW_BP_MAP_NL   "RAW_BP_MAP_NL"
#define XSH_RAW_BP_MAP_NL_UVB   "RAW_BP_MAP_NL_UVB"
#define XSH_RAW_BP_MAP_NL_VIS   "RAW_BP_MAP_NL_VIS"
#define XSH_RAW_BP_MAP_NL_NIR   "RAW_BP_MAP_NL_NIR"
#define XSH_AUTOCORR_UVB   "AUTOCORR_UVB"
#define XSH_AUTOCORR_VIS   "AUTOCORR_VIS"
#define XSH_AUTOCORR_NIR   "AUTOCORR_NIR"
#define XSH_DIFF_FLAT_UVB   "DIFF_FLAT_UVB"
#define XSH_DIFF_FLAT_VIS   "DIFF_FLAT_VIS"
#define XSH_DIFF_FLAT_NIR   "DIFF_FLAT_NIR"
#define XSH_GUESS_LINES_POS   "GUESS_LINES_POS"
#define XSH_GUESS_LINES_POS_UVB   "GUESS_LINES_POS_UVB"
#define XSH_GUESS_LINES_POS_VIS   "GUESS_LINES_POS_VIS"
#define XSH_GUESS_LINES_POS_NIR   "GUESS_LINES_POS_NIR"
#define XSH_LINEARITY_UVB   "LINEARITY_UVB"
#define XSH_LINEARITY_VIS   "LINEARITY_VIS"
#define XSH_LINEARITY_NIR   "LINEARITY_NIR"
#define XSH_LINEARITY_UVB_ON   "LINEARITY_UVB_ON"
#define XSH_LINEARITY_UVB_OFF   "LINEARITY_UVB_OFF"
#define XSH_LINEARITY_VIS_ON   "LINEARITY_VIS_ON"
#define XSH_LINEARITY_VIS_OFF   "LINEARITY_VIS_OFF"
#define XSH_LINEARITY_NIR_ON   "LINEARITY_NIR_ON"
#define XSH_LINEARITY_NIR_OFF   "LINEARITY_NIR_OFF"
#define XSH_WAVECAL_NIR   "WAVECAL_NIR"
#define XSH_BIAS_UVB   "BIAS_UVB"
#define XSH_BIAS_VIS   "BIAS_VIS"
#define XSH_BIAS_NIR   "BIAS_NIR"
#define XSH_DARK_UVB   "DARK_UVB"
#define XSH_DARK_VIS   "DARK_VIS"
#define XSH_DARK_NIR   "DARK_NIR"
#define XSH_DARK_NIR_ON   "DARK_NIR_ON"
#define XSH_DARK_NIR_OFF   "DARK_NIR_OFF"
#define XSH_FMTCHK_UVB   "FMTCHK_UVB"
#define XSH_FMTCHK_VIS   "FMTCHK_VIS"
#define XSH_FMTCHK_NIR   "FMTCHK_NIR_ON"
#define XSH_FMTCHK_OFF   "FMTCHK_NIR_OFF"
#define XSH_ORDERDEF_QTH_UVB   "ORDERDEF_QTH_UVB"
#define XSH_ORDERDEF_D2_UVB   "ORDERDEF_D2_UVB"
#define XSH_ORDERDEF_VIS   "ORDERDEF_VIS"
#define XSH_ORDERDEF_NIR   "ORDERDEF_NIR_ON"
#define XSH_ORDERDEF_OFF   "ORDERDEF_NIR_OFF"
#define XSH_FLAT_QTH_SLIT_UVB   "FLAT_QTH_SLIT_UVB"
#define XSH_FLAT_D2_SLIT_UVB   "FLAT_D2_SLIT_UVB"
#define XSH_FLAT_SLIT_VIS   "FLAT_SLIT_VIS"
#define XSH_FLAT_SLIT_NIR   "FLAT_SLIT_NIR_ON"
#define XSH_FLAT_SLIT_OFF   "FLAT_SLIT_NIR_OFF"
#define XSH_FLAT_QTH_IFU_UVB   "FLAT_QTH_IFU_UVB"
#define XSH_FLAT_D2_IFU_UVB   "FLAT_D2_IFU_UVB"
#define XSH_FLAT_IFU_VIS   "FLAT_IFU_VIS"
#define XSH_FLAT_IFU_NIR   "FLAT_IFU_NIR_ON"
#define XSH_FLAT_IFU_OFF   "FLAT_IFU_NIR_OFF"
#define XSH_WAVE_UVB   "WAVE_UVB"
#define XSH_WAVE_VIS   "WAVE_VIS"
#define XSH_WAVE_NIR   "WAVE_NIR_ON"
#define XSH_WAVE_OFF   "WAVE_NIR_OFF"
#define XSH_ARC_SLIT_UVB   "ARC_SLIT_UVB"
#define XSH_ARC_SLIT_VIS   "ARC_SLIT_VIS"
#define XSH_ARC_SLIT_NIR   "ARC_SLIT_NIR_ON"
#define XSH_ARC_SLIT_OFF   "ARC_SLIT_NIR_OFF"
#define XSH_ARC_IFU_UVB   "ARC_IFU_UVB"
#define XSH_ARC_IFU_VIS   "ARC_IFU_VIS"
#define XSH_ARC_IFU_NIR   "ARC_IFU_NIR_ON"
#define XSH_ARC_IFU_OFF   "ARC_IFU_NIR_OFF"
#define XSH_FLEX_UVB   "FLEX_UVB"
#define XSH_FLEX_VIS   "FLEX_VIS"
#define XSH_FLEX_NIR   "FLEX_NIR"
#define XSH_TRACE_UVB   "TRACE_UVB"
#define XSH_TRACE_VIS   "TRACE_VIS"
#define XSH_TRACE_NIR   "TRACE_NIR"
#define XSH_STD_TELL_SLIT_UVB   "STD_TELL_SLIT_UVB"
#define XSH_STD_TELL_SLIT_VIS   "STD_TELL_SLIT_VIS"
#define XSH_STD_TELL_SLIT_NIR   "STD_TELL_SLIT_NIR"
#define XSH_STD_FLUX_SLIT_STARE   "STD_FLUX_SLIT_STARE"
#define XSH_STD_FLUX_SLIT_STARE_UVB   "STD_FLUX_SLIT_STARE_UVB"
#define XSH_STD_FLUX_SLIT_STARE_VIS   "STD_FLUX_SLIT_STARE_VIS"
#define XSH_STD_FLUX_SLIT_STARE_NIR   "STD_FLUX_SLIT_STARE_NIR"
#define XSH_STD_FLUX_IFU_STARE   "STD_FLUX_IFU_STARE"
#define XSH_STD_FLUX_IFU_STARE_UVB   "STD_FLUX_IFU_STARE_UVB"
#define XSH_STD_FLUX_IFU_STARE_VIS   "STD_FLUX_IFU_STARE_VIS"
#define XSH_STD_FLUX_IFU_STARE_NIR   "STD_FLUX_IFU_STARE_NIR"
#define XSH_STD_TELL_SLIT_STARE   "STD_TELL_SLIT_STARE"
#define XSH_STD_TELL_SLIT_STARE_UVB   "STD_TELL_SLIT_STARE_UVB"
#define XSH_STD_TELL_SLIT_STARE_VIS   "STD_TELL_SLIT_STARE_VIS"
#define XSH_STD_TELL_SLIT_STARE_NIR   "STD_TELL_SLIT_STARE_NIR"
#define XSH_STD_TELL_IFU_STARE   "STD_TELL_IFU_STARE"
#define XSH_STD_TELL_IFU_STARE_UVB   "STD_TELL_IFU_STARE_UVB"
#define XSH_STD_TELL_IFU_STARE_VIS   "STD_TELL_IFU_STARE_VIS"
#define XSH_STD_TELL_IFU_STARE_NIR   "STD_TELL_IFU_STARE_NIR"
#define XSH_STD_TELL_IFU_OFFSET   "STD_TELL_IFU_OFFSET"
#define XSH_STD_TELL_IFU_OFFSET_UVB   "STD_TELL_IFU_OFFSET_UVB"
#define XSH_STD_TELL_IFU_OFFSET_VIS   "STD_TELL_IFU_OFFSET_VIS"
#define XSH_STD_TELL_IFU_OFFSET_NIR   "STD_TELL_IFU_OFFSET_NIR"
#define XSH_STD_TELL_SLIT_NOD   "STD_TELL_SLIT_NOD"
#define XSH_STD_TELL_SLIT_NOD_UVB   "STD_TELL_SLIT_NOD_UVB"
#define XSH_STD_TELL_SLIT_NOD_VIS   "STD_TELL_SLIT_NOD_VIS"
#define XSH_STD_TELL_SLIT_NOD_NIR   "STD_TELL_SLIT_NOD_NIR"
#define XSH_STD_FLUX_SLIT_NOD   "STD_FLUX_SLIT_NOD"
#define XSH_STD_FLUX_SLIT_NOD_UVB   "STD_FLUX_SLIT_NOD_UVB"
#define XSH_STD_FLUX_SLIT_NOD_VIS   "STD_FLUX_SLIT_NOD_VIS"
#define XSH_STD_FLUX_SLIT_NOD_NIR   "STD_FLUX_SLIT_NOD_NIR"
#define XSH_STD_FLUX_SLIT_OFFSET   "STD_FLUX_SLIT_OFFSET"
#define XSH_STD_FLUX_SLIT_OFFSET_UVB   "STD_FLUX_SLIT_OFFSET_UVB"
#define XSH_STD_FLUX_SLIT_OFFSET_VIS   "STD_FLUX_SLIT_OFFSET_VIS"
#define XSH_STD_FLUX_SLIT_OFFSET_NIR   "STD_FLUX_SLIT_OFFSET_NIR"
#define XSH_STD_FLUX_IFU_OFFSET   "STD_FLUX_IFU_OFFSET"
#define XSH_STD_FLUX_IFU_OFFSET_UVB   "STD_FLUX_IFU_OFFSET_UVB"
#define XSH_STD_FLUX_IFU_OFFSET_VIS   "STD_FLUX_IFU_OFFSET_VIS"
#define XSH_STD_FLUX_IFU_OFFSET_NIR   "STD_FLUX_IFU_OFFSET_NIR"
#define XSH_STD_FLUX_NOD   "STD_FLUX_NOD"
#define XSH_STD_FLUX_NOD_UVB   "STD_FLUX_NOD_UVB"
#define XSH_STD_FLUX_NOD_VIS   "STD_FLUX_NOD_VIS"
#define XSH_STD_FLUX_NOD_NIR   "STD_FLUX_NOD_NIR"
#define XSH_OBJECT_SLIT_STARE_UVB   "OBJECT_SLIT_STARE_UVB"
#define XSH_OBJECT_SLIT_STARE_VIS   "OBJECT_SLIT_STARE_VIS"
#define XSH_OBJECT_SLIT_STARE_NIR   "OBJECT_SLIT_STARE_NIR"
#define XSH_OBJECT_SLIT_NOD_UVB   "OBJECT_SLIT_NOD_UVB"
#define XSH_OBJECT_SLIT_NOD_VIS   "OBJECT_SLIT_NOD_VIS"
#define XSH_OBJECT_SLIT_NOD_NIR   "OBJECT_SLIT_NOD_NIR"
#define XSH_OBJECT_SLIT_OFFSET_UVB   "OBJECT_SLIT_OFFSET_UVB"
#define XSH_OBJECT_SLIT_OFFSET_VIS   "OBJECT_SLIT_OFFSET_VIS"
#define XSH_OBJECT_SLIT_OFFSET_NIR   "OBJECT_SLIT_OFFSET_NIR"
#define XSH_OBJECT_IFU_STARE_UVB   "OBJECT_IFU_STARE_UVB"
#define XSH_OBJECT_IFU_STARE_VIS   "OBJECT_IFU_STARE_VIS"
#define XSH_OBJECT_IFU_STARE_NIR   "OBJECT_IFU_STARE_NIR"
#define XSH_OBJECT_IFU_OFFSET_UVB   "OBJECT_IFU_OFFSET_UVB"
#define XSH_OBJECT_IFU_OFFSET_VIS   "OBJECT_IFU_OFFSET_VIS"
#define XSH_OBJECT_IFU_OFFSET_NIR   "OBJECT_IFU_OFFSET_NIR"
#define XSH_SKY_SLIT_UVB   "SKY_SLIT_UVB"
#define XSH_SKY_SLIT_VIS   "SKY_SLIT_VIS"
#define XSH_SKY_SLIT_NIR   "SKY_SLIT_NIR"
#define XSH_SKY_IFU_UVB   "SKY_IFU_UVB"
#define XSH_SKY_IFU_VIS   "SKY_IFU_VIS"
#define XSH_SKY_IFU_NIR   "SKY_IFU_NIR"
#define XSH_AFC_POS   "AFC_POS"
#define XSH_AFC_POS_UVB   "AFC_POS_UVB"
#define XSH_AFC_POS_VIS   "AFC_POS_VIS"
#define XSH_AFC_POS_NIR   "AFC_POS_NIR"
#define XSH_AFC_SLT   "AFC_SLT"
#define XSH_AFC_SLT_UVB   "AFC_SLT_UVB"
#define XSH_AFC_SLT_VIS   "AFC_SLT_VIS"
#define XSH_AFC_SLT_NIR   "AFC_SLT_NIR"
#define XSH_AFC_CAL   "AFC_CAL"
#define XSH_AFC_CAL_UVB   "AFC_CAL_UVB"
#define XSH_AFC_CAL_VIS   "AFC_CAL_VIS"
#define XSH_AFC_CAL_NIR   "AFC_CAL_NIR"
#define XSH_AFC_ATT   "AFC_ATT"
#define XSH_AFC_ATT_UVB   "AFC_ATT_UVB"
#define XSH_AFC_ATT_VIS   "AFC_ATT_VIS"
#define XSH_AFC_ATT_NIR   "AFC_ATT_NIR"
#define XSH_MASTER_BIAS   "MASTER_BIAS"
#define XSH_MASTER_DARK   "MASTER_DARK"
#define XSH_ORDER_TAB_RECOV   "ORDER_TAB_RECOV"
#define XSH_ORDER_TAB_GUESS   "ORDER_TAB_GUESS"
#define XSH_ORDER_TAB_CENTR   "ORDER_TAB_CENTR"
#define XSH_ORDER_TAB_EDGES   "ORDER_TAB_EDGES"
#define XSH_WAVE_TAB_GUESS   "WAVE_TAB_GUESS"
#define XSH_WAVE_TAB_2D   "WAVE_TAB_2D"
#define XSH_WAVE_TAB_AFC   "WAVE_TAB_AFC"
#define XSH_WAVE_TAB_ARC   "WAVE_TAB_ARC"
#define XSH_WAVE_TAB_ARC_DOWN_IFU   "WAVE_TAB_ARC_DOWN_IFU"
#define XSH_WAVE_TAB_ARC_CEN_IFU   "WAVE_TAB_ARC_CEN_IFU"
#define XSH_WAVE_TAB_ARC_UP_IFU   "WAVE_TAB_ARC_UP_IFU"
#define XSH_RESID_TAB   "RESID_TAB"
#define XSH_RESID_TAB_DOWN_IFU   "RESID_TAB_DOWN_IFU"
#define XSH_RESID_TAB_CEN_IFU   "RESID_TAB_CEN_IFU"
#define XSH_RESID_TAB_UP_IFU   "RESID_TAB_UP_IFU"
#define XSH_RESID_ORDER_TAB   "RESID_ORDER_TAB"
#define XSH_MASTER_FLAT   "MASTER_FLAT"
#define XSH_TILT_TAB   "TILT_TAB"
#define XSH_TILT_TAB_DOWN_IFU   "TILT_TAB_DOWN_IFU"
#define XSH_TILT_TAB_CEN_IFU   "TILT_TAB_CEN_IFU"
#define XSH_TILT_TAB_UP_IFU   "TILT_TAB_UP_IFU"
#define XSH_SHIFT_TAB   "SHIFT_TAB"
#define XSH_SHIFT_TAB_SLIT   "SHIFT_TAB_SLIT"
#define XSH_SHIFT_TAB_IFU   "SHIFT_TAB_IFU"
#define XSH_SHIFT_TAB_SLIT_UVB   "SHIFT_TAB_SLIT_UVB"
#define XSH_SHIFT_TAB_SLIT_VIS   "SHIFT_TAB_SLIT_VIS"
#define XSH_SHIFT_TAB_SLIT_NIR   "SHIFT_TAB_SLIT_NIR"
#define XSH_SHIFT_TAB_IFU_UVB   "SHIFT_TAB_IFU_UVB"
#define XSH_SHIFT_TAB_IFU_VIS   "SHIFT_TAB_IFU_VIS"
#define XSH_SHIFT_TAB_IFU_NIR   "SHIFT_TAB_IFU_NIR"
#define XSH_ORDER1D   "ORDER1D"
#define XSH_ORDER2D   "ORDER2D"
#define XSH_ORDER1D_IFU   "ORDER1D_IFU"
#define XSH_ORDER2D_IFU   "ORDER2D_IFU"
#define XSH_MERGE1D   "MERGE1D"
#define XSH_MERGE_EXT1D   "MERGE_EXT1D"
#define XSH_MERGE2D   "MERGE2D"
#define XSH_MERGE3D_IFU   "MERGE3D_IFU"
#define XSH_PHYS_MERGE1D   "PHYS_MERGE1D"
#define XSH_PHYS_MERGE2D   "PHYS_MERGE2D"
#define XSH_LOCALIZATION   "LOC_TABLE"
#define XSH_SLICE_OFFSET   "SLICE_OFFSET_TABLE"
#define XSH_PICKUP_NOISE_MAP   "PICKUP_NOISE_MAP"
#define XSH_PICKUP_NOISE_MAP_UVB   "PICKUP_NOISE_MAP_UVB"
#define XSH_PICKUP_NOISE_MAP_VIS   "PICKUP_NOISE_MAP_VIS"
#define XSH_PICKUP_NOISE_MAP_NIR   "PICKUP_NOISE_MAP_NIR"
#define XSH_BP_MAP_REF   "BP_MAP_REF"
#define XSH_BP_MAP_REF_UVB   "BP_MAP_REF_UVB"
#define XSH_BP_MAP_REF_VIS   "BP_MAP_REF_VIS"
#define XSH_BP_MAP_REF_NIR   "BP_MAP_REF_NIR"
#define XSH_BP_MAP_LIN   "BP_MAP_LIN"
#define XSH_BP_MAP_LIN_UVB   "BP_MAP_LIN_UVB"
#define XSH_BP_MAP_LIN_VIS   "BP_MAP_LIN_VIS"
#define XSH_BP_MAP_LIN_NIR   "BP_MAP_LIN_NIR"
#define XSH_BP_MAP_HP   "BP_MAP_HP"
#define XSH_BP_MAP_HP_UVB   "BP_MAP_HP_UVB"
#define XSH_BP_MAP_HP_VIS   "BP_MAP_HP_VIS"
#define XSH_BP_MAP_HP_NIR   "BP_MAP_HP_NIR"
#define XSH_BP_MAP_CP   "BP_MAP_CP"
#define XSH_BP_MAP_CP_UVB   "BP_MAP_CP_UVB"
#define XSH_BP_MAP_CP_VIS   "BP_MAP_CP_VIS"
#define XSH_BP_MAP_CP_NIR   "BP_MAP_CP_NIR"
#define XSH_BP_MAP_SP   "BP_MAP_SP"
#define XSH_BP_MAP_SP_UVB   "BP_MAP_SP_UVB"
#define XSH_BP_MAP_SP_VIS   "BP_MAP_SP_VIS"
#define XSH_BP_MAP_SP_NIR   "BP_MAP_SP_NIR"
#define XSH_BP_MAP_DP   "BP_MAP_DP"
#define XSH_BP_MAP_DP_UVB   "BP_MAP_DP_UVB"
#define XSH_BP_MAP_DP_VIS   "BP_MAP_DP_VIS"
#define XSH_BP_MAP_DP_NIR   "BP_MAP_DP_NIR"
#define XSH_MASTER_BP_MAP   "MASTER_BP_MAP"
#define XSH_MASTER_BP_MAP_UVB   "MASTER_BP_MAP_UVB"
#define XSH_MASTER_BP_MAP_VIS   "MASTER_BP_MAP_VIS"
#define XSH_MASTER_BP_MAP_NIR   "MASTER_BP_MAP_NIR"
#define XSH_MASTER_BP_MAP_NLIN   "MASTER_BP_MAP_NLIN"
#define XSH_MASTER_BP_MAP_NLIN_UVB   "MASTER_BP_MAP_NLIN_UVB"
#define XSH_MASTER_BP_MAP_NLIN_VIS   "MASTER_BP_MAP_NLIN_VIS"
#define XSH_MASTER_BP_MAP_NLIN_NIR   "MASTER_BP_MAP_NLIN_NIR"
#define XSH_MASTER_BP_MAP_BIAS   "MASTER_BP_MAP_BIAS"
#define XSH_MASTER_BP_MAP_BIAS_UVB   "MASTER_BP_MAP_BIAS_UVB"
#define XSH_MASTER_BP_MAP_BIAS_VIS   "MASTER_BP_MAP_BIAS_VIS"
#define XSH_MASTER_BP_MAP_BIAS_NIR   "MASTER_BP_MAP_BIAS_NIR"
#define XSH_MASTER_BP_MAP_DARK   "MASTER_BP_MAP_DARK"
#define XSH_MASTER_BP_MAP_DARK_UVB   "MASTER_BP_MAP_DARK_UVB"
#define XSH_MASTER_BP_MAP_DARK_VIS   "MASTER_BP_MAP_DARK_VIS"
#define XSH_MASTER_BP_MAP_DARK_NIR   "MASTER_BP_MAP_DARK_NIR"
#define XSH_MASTER_BP_MAP_FLAT   "MASTER_BP_MAP_FLAT"
#define XSH_MASTER_BP_MAP_FLAT_UVB   "MASTER_BP_MAP_FLAT_UVB"
#define XSH_MASTER_BP_MAP_FLAT_VIS   "MASTER_BP_MAP_FLAT_VIS"
#define XSH_MASTER_BP_MAP_FLAT_NIR   "MASTER_BP_MAP_FLAT_NIR"
#define XSH_MASTER_BIAS_UVB   "MASTER_BIAS_UVB"
#define XSH_MASTER_BIAS_VIS   "MASTER_BIAS_VIS"
#define XSH_MASTER_BIAS_NIR   "??TAG??"
#define XSH_MASTER_DARK_UVB   "MASTER_DARK_UVB"
#define XSH_MASTER_DARK_VIS   "MASTER_DARK_VIS"
#define XSH_MASTER_DARK_NIR   "MASTER_DARK_NIR"
#define XSH_ORDER_TAB_RECOV_UVB   "ORDER_TAB_RECOV_UVB"
#define XSH_ORDER_TAB_RECOV_VIS   "ORDER_TAB_RECOV_VIS"
#define XSH_ORDER_TAB_RECOV_NIR   "ORDER_TAB_RECOV_NIR"
#define XSH_ORDER_TAB_GUESS_UVB   "ORDER_TAB_GUESS_UVB"
#define XSH_ORDER_TAB_GUESS_VIS   "ORDER_TAB_GUESS_VIS"
#define XSH_ORDER_TAB_GUESS_NIR   "ORDER_TAB_GUESS_NIR"
#define XSH_ORDER_TAB_CENTR_UVB   "ORDER_TAB_CENTR_UVB"
#define XSH_ORDER_TAB_CENTR_VIS   "ORDER_TAB_CENTR_VIS"
#define XSH_ORDER_TAB_CENTR_NIR   "ORDER_TAB_CENTR_NIR"
#define XSH_ORDER_TAB_EDGES_SLIT   "ORDER_TAB_EDGES_SLIT"
#define XSH_ORDER_TAB_EDGES_SLIT_UVB   "ORDER_TAB_EDGES_SLIT_UVB"
#define XSH_ORDER_TAB_EDGES_SLIT_VIS   "ORDER_TAB_EDGES_SLIT_VIS"
#define XSH_ORDER_TAB_EDGES_SLIT_NIR   "ORDER_TAB_EDGES_SLIT_NIR"
#define XSH_ORDER_TAB_EDGES_IFU   "ORDER_TAB_EDGES_IFU"
#define XSH_ORDER_TAB_EDGES_IFU_UVB   "ORDER_TAB_EDGES_IFU_UVB"
#define XSH_ORDER_TAB_EDGES_IFU_VIS   "ORDER_TAB_EDGES_IFU_VIS"
#define XSH_ORDER_TAB_EDGES_IFU_NIR   "ORDER_TAB_EDGES_IFU_NIR"
#define XSH_ORDER_TAB_EDGES_QTH_SLIT_UVB   "ORDER_TAB_EDGES_QTH_SLIT_UVB"
#define XSH_ORDER_TAB_EDGES_QTH_IFU_UVB   "ORDER_TAB_EDGES_QTH_IFU_UVB"
#define XSH_ORDER_TAB_EDGES_D2_SLIT_UVB   "ORDER_TAB_EDGES_D2_SLIT_UVB"
#define XSH_ORDER_TAB_EDGES_D2_IFU_UVB   "ORDER_TAB_EDGES_D2_IFU_UVB"
#define XSH_ORDER_TAB_AFC   "ORDER_TAB_AFC"
#define XSH_ORDER_TAB_AFC_SLIT   "ORDER_TAB_AFC_SLIT"
#define XSH_ORDER_TAB_AFC_SLIT_UVB   "ORDER_TAB_AFC_SLIT_UVB"
#define XSH_ORDER_TAB_AFC_SLIT_VIS   "ORDER_TAB_AFC_SLIT_VIS"
#define XSH_ORDER_TAB_AFC_SLIT_NIR   "ORDER_TAB_AFC_SLIT_NIR"
#define XSH_ORDER_TAB_AFC_IFU   "ORDER_TAB_AFC_IFU"
#define XSH_ORDER_TAB_AFC_IFU_UVB   "ORDER_TAB_AFC_IFU_UVB"
#define XSH_ORDER_TAB_AFC_IFU_VIS   "ORDER_TAB_AFC_IFU_VIS"
#define XSH_ORDER_TAB_AFC_IFU_NIR   "ORDER_TAB_AFC_IFU_NIR"
#define XSH_WAVE_TAB_GUESS_UVB   "WAVE_TAB_GUESS_UVB"
#define XSH_WAVE_TAB_GUESS_VIS   "WAVE_TAB_GUESS_VIS"
#define XSH_WAVE_TAB_GUESS_NIR   "WAVE_TAB_GUESS_NIR"
#define XSH_WAVE_TAB_2D_UVB   "WAVE_TAB_2D_UVB"
#define XSH_WAVE_TAB_2D_VIS   "WAVE_TAB_2D_VIS"
#define XSH_WAVE_TAB_2D_NIR   "WAVE_TAB_2D_NIR"
#define XSH_WAVE_TAB_AFC_UVB   "WAVE_TAB_AFC_UVB"
#define XSH_WAVE_TAB_AFC_VIS   "WAVE_TAB_AFC_VIS"
#define XSH_WAVE_TAB_AFC_NIR   "WAVE_TAB_AFC_NIR"
#define XSH_WAVE_TAB_ARC_SLIT_UVB   "WAVE_TAB_ARC_SLIT_UVB"
#define XSH_WAVE_TAB_ARC_SLIT_VIS   "WAVE_TAB_ARC_SLIT_VIS"
#define XSH_WAVE_TAB_ARC_SLIT_NIR   "WAVE_TAB_ARC_SLIT_NIR"
#define XSH_WAVE_TAB_ARC_IFU_UVB   "WAVE_TAB_ARC_IFU_UVB"
#define XSH_WAVE_TAB_ARC_DOWN_IFU_UVB   "WAVE_TAB_ARC_DOWN_IFU_UVB"
#define XSH_WAVE_TAB_ARC_CEN_IFU_UVB   "WAVE_TAB_ARC_CEN_IFU_UVB"
#define XSH_WAVE_TAB_ARC_UP_IFU_UVB   "WAVE_TAB_ARC_UP_IFU_UVB"
#define XSH_WAVE_TAB_ARC_IFU_VIS   "WAVE_TAB_ARC_IFU_VIS"
#define XSH_WAVE_TAB_ARC_DOWN_IFU_VIS   "WAVE_TAB_ARC_DOWN_IFU_VIS"
#define XSH_WAVE_TAB_ARC_CEN_IFU_VIS   "WAVE_TAB_ARC_CEN_IFU_VIS"
#define XSH_WAVE_TAB_ARC_UP_IFU_VIS   "WAVE_TAB_ARC_UP_IFU_VIS"
#define XSH_WAVE_TAB_ARC_IFU_NIR   "WAVE_TAB_ARC_IFU_NIR"
#define XSH_WAVE_TAB_ARC_DOWN_IFU_NIR   "WAVE_TAB_ARC_DOWN_IFU_NIR"
#define XSH_WAVE_TAB_ARC_CEN_IFU_NIR   "WAVE_TAB_ARC_CEN_IFU_NIR"
#define XSH_WAVE_TAB_ARC_UP_IFU_NIR   "WAVE_TAB_ARC_UP_IFU_NIR"
#define XSH_ORDER1D_IFU_UVB   "ORDER1D_IFU_UVB"
#define XSH_ORDER1D_DOWN_IFU_UVB   "ORDER1D_DOWN_IFU_UVB"
#define XSH_ORDER1D_CEN_IFU_UVB   "ORDER1D_CEN_IFU_UVB"
#define XSH_ORDER1D_UP_IFU_UVB   "ORDER1D_UP_IFU_UVB"
#define XSH_ORDER1D_IFU_VIS   "ORDER1D_IFU_VIS"
#define XSH_ORDER1D_DOWN_IFU_VIS   "ORDER1D_DOWN_IFU_VIS"
#define XSH_ORDER1D_CEN_IFU_VIS   "ORDER1D_CEN_IFU_VIS"
#define XSH_ORDER1D_UP_IFU_VIS   "ORDER1D_UP_IFU_VIS"
#define XSH_ORDER1D_IFU_NIR   "ORDER1D_IFU_NIR"
#define XSH_ORDER1D_DOWN_IFU_NIR   "ORDER1D_DOWN_IFU_NIR"
#define XSH_ORDER1D_CEN_IFU_NIR   "ORDER1D_CEN_IFU_NIR"
#define XSH_ORDER1D_UP_IFU_NIR   "ORDER1D_UP_IFU_NIR"
#define XSH_ORDER2D_IFU_UVB   "ORDER2D_IFU_UVB"
#define XSH_ORDER2D_DOWN_IFU_UVB   "ORDER2D_DOWN_IFU_UVB"
#define XSH_ORDER2D_CEN_IFU_UVB   "ORDER2D_CEN_IFU_UVB"
#define XSH_ORDER2D_UP_IFU_UVB   "ORDER2D_UP_IFU_UVB"
#define XSH_ORDER2D_IFU_VIS   "ORDER2D_IFU_VIS"
#define XSH_ORDER2D_DOWN_IFU_VIS   "ORDER2D_DOWN_IFU_VIS"
#define XSH_ORDER2D_CEN_IFU_VIS   "ORDER2D_CEN_IFU_VIS"
#define XSH_ORDER2D_UP_IFU_VIS   "ORDER2D_UP_IFU_VIS"
#define XSH_ORDER2D_IFU_NIR   "ORDER2D_IFU_NIR"
#define XSH_ORDER2D_DOWN_IFU_NIR   "ORDER2D_DOWN_IFU_NIR"
#define XSH_ORDER2D_CEN_IFU_NIR   "ORDER2D_CEN_IFU_NIR"
#define XSH_ORDER2D_UP_IFU_NIR   "ORDER2D_UP_IFU_NIR"
#define XSH_MERGE1D_IFU_UVB   "MERGE1D_IFU_UVB"
#define XSH_MERGE1D_DOWN_IFU_UVB   "MERGE1D_DOWN_IFU_UVB"
#define XSH_MERGE1D_CEN_IFU_UVB   "MERGE1D_CEN_IFU_UVB"
#define XSH_MERGE1D_UP_IFU_UVB   "MERGE1D_UP_IFU_UVB"
#define XSH_MERGE1D_IFU_VIS   "MERGE1D_IFU_VIS"
#define XSH_MERGE1D_DOWN_IFU_VIS   "MERGE1D_DOWN_IFU_VIS"
#define XSH_MERGE1D_CEN_IFU_VIS   "MERGE1D_CEN_IFU_VIS"
#define XSH_MERGE1D_UP_IFU_VIS   "MERGE1D_UP_IFU_VIS"
#define XSH_MERGE1D_IFU_NIR   "MERGE1D_IFU_NIR"
#define XSH_MERGE1D_DOWN_IFU_NIR   "MERGE1D_DOWN_IFU_NIR"
#define XSH_MERGE1D_CEN_IFU_NIR   "MERGE1D_CEN_IFU_NIR"
#define XSH_MERGE1D_UP_IFU_NIR   "MERGE1D_UP_IFU_NIR"
#define XSH_MERGE2D_IFU_UVB   "MERGE2D_IFU_UVB"
#define XSH_MERGE2D_DOWN_IFU_UVB   "MERGE2D_DOWN_IFU_UVB"
#define XSH_MERGE2D_CEN_IFU_UVB   "MERGE2D_CEN_IFU_UVB"
#define XSH_MERGE2D_UP_IFU_UVB   "MERGE2D_UP_IFU_UVB"
#define XSH_MERGE2D_IFU_VIS   "MERGE2D_IFU_VIS"
#define XSH_MERGE2D_DOWN_IFU_VIS   "MERGE2D_DOWN_IFU_VIS"
#define XSH_MERGE2D_CEN_IFU_VIS   "MERGE2D_CEN_IFU_VIS"
#define XSH_MERGE2D_UP_IFU_VIS   "MERGE2D_UP_IFU_VIS"
#define XSH_MERGE2D_IFU_NIR   "MERGE2D_IFU_NIR"
#define XSH_MERGE2D_DOWN_IFU_NIR   "MERGE2D_DOWN_IFU_NIR"
#define XSH_MERGE2D_CEN_IFU_NIR   "MERGE2D_CEN_IFU_NIR"
#define XSH_MERGE2D_UP_IFU_NIR   "MERGE2D_UP_IFU_NIR"
#define XSH_SKY_MERGE2D_IFU_UVB   "SKY_MERGE2D_IFU_UVB"
#define XSH_SKY_MERGE2D_DOWN_IFU_UVB   "SKY_MERGE2D_DOWN_IFU_UVB"
#define XSH_SKY_MERGE2D_CEN_IFU_UVB   "SKY_MERGE2D_CEN_IFU_UVB"
#define XSH_SKY_MERGE2D_UP_IFU_UVB   "SKY_MERGE2D_UP_IFU_UVB"
#define XSH_SKY_MERGE2D_IFU_VIS   "SKY_MERGE2D_IFU_VIS"
#define XSH_SKY_MERGE2D_DOWN_IFU_VIS   "SKY_MERGE2D_DOWN_IFU_VIS"
#define XSH_SKY_MERGE2D_CEN_IFU_VIS   "SKY_MERGE2D_CEN_IFU_VIS"
#define XSH_SKY_MERGE2D_UP_IFU_VIS   "SKY_MERGE2D_UP_IFU_VIS"
#define XSH_SKY_MERGE2D_IFU_NIR   "SKY_MERGE2D_IFU_NIR"
#define XSH_SKY_MERGE2D_DOWN_IFU_NIR   "SKY_MERGE2D_DOWN_IFU_NIR"
#define XSH_SKY_MERGE2D_CEN_IFU_NIR   "SKY_MERGE2D_CEN_IFU_NIR"
#define XSH_SKY_MERGE2D_UP_IFU_NIR   "SKY_MERGE2D_UP_IFU_NIR"
#define XSH_MERGE3D_IFU_NIR   "MERGE3D_IFU_NIR"
#define XSH_MERGE3D_IFU_UVB   "MERGE3D_IFU_UVB"
#define XSH_MERGE3D_IFU_VIS   "MERGE3D_IFU_VIS"
#define XSH_COMBINED_OFFSET_2D_IFU   "COMBINED_OFFSET_2D_IFU_"
#define XSH_COMBINED_OFFSET_2D_IFU_UVB   "COMBINED_OFFSET_2D_IFU_UVB"
#define XSH_COMBINED_OFFSET_2D_DOWN_IFU_UVB   "COMBINED_OFFSET_2D_DOWN_IFU_UVB"
#define XSH_COMBINED_OFFSET_2D_CEN_IFU_UVB   "COMBINED_OFFSET_2D_CEN_IFU_UVB"
#define XSH_COMBINED_OFFSET_2D_UP_IFU_UVB   "COMBINED_OFFSET_2D_UP_IFU_UVB"
#define XSH_COMBINED_OFFSET_2D_IFU_VIS   "COMBINED_OFFSET_2D_IFU_VIS"
#define XSH_COMBINED_OFFSET_2D_DOWN_IFU_VIS   "COMBINED_OFFSET_2D_DOWN_IFU_VIS"
#define XSH_COMBINED_OFFSET_2D_CEN_IFU_VIS   "COMBINED_OFFSET_2D_CEN_IFU_VIS"
#define XSH_COMBINED_OFFSET_2D_UP_IFU_VIS   "COMBINED_OFFSET_2D_UP_IFU_VIS"
#define XSH_COMBINED_OFFSET_2D_IFU_NIR   "COMBINED_OFFSET_2D_IFU_NIR"
#define XSH_COMBINED_OFFSET_2D_DOWN_IFU_NIR   "COMBINED_OFFSET_2D_DOWN_IFU_NIR"
#define XSH_COMBINED_OFFSET_2D_CEN_IFU_NIR   "COMBINED_OFFSET_2D_CEN_IFU_NIR"
#define XSH_COMBINED_OFFSET_2D_UP_IFU_NIR   "COMBINED_OFFSET_2D_UP_IFU_NIR"
#define XSH_COMBINED_OFFSET_2D_SLIT   "COMBINED_OFFSET_2D_SLIT_"
#define XSH_COMBINED_OFFSET_2D_SLIT_UVB   "COMBINED_OFFSET_2D_SLIT_UVB"
#define XSH_COMBINED_OFFSET_2D_SLIT_VIS   "COMBINED_OFFSET_2D_SLIT_VIS"
#define XSH_COMBINED_OFFSET_2D_SLIT_NIR   "COMBINED_OFFSET_2D_SLIT_NIR"
#define XSH_RESID_TAB_SLIT_UVB   "RESID_TAB_SLIT_UVB"
#define XSH_RESID_TAB_SLIT_VIS   "RESID_TAB_SLIT_VIS"
#define XSH_RESID_TAB_SLIT_NIR   "RESID_TAB_SLIT_NIR"
#define XSH_RESID_TAB_IFU_UVB   "RESID_TAB_IFU_UVB"
#define XSH_RESID_TAB_IFU_VIS   "RESID_TAB_IFU_VIS"
#define XSH_RESID_TAB_IFU_NIR   "RESID_TAB_IFU_NIR"
#define XSH_RESID_ORDER_TAB_NIR   "RESID_ORDER_TAB_NIR"
#define XSH_RESID_ORDER_TAB_UVB   "RESID_ORDER_TAB_UVB"
#define XSH_RESID_ORDER_TAB_VIS   "RESID_ORDER_TAB_VIS"
#define XSH_MASTER_FLAT_SLIT   "MASTER_FLAT_SLIT"
#define XSH_MASTER_FLAT_SLIT_UVB   "MASTER_FLAT_SLIT_UVB"
#define XSH_MASTER_FLAT_SLIT_VIS   "MASTER_FLAT_SLIT_VIS"
#define XSH_MASTER_FLAT_SLIT_NIR   "MASTER_FLAT_SLIT_NIR"
#define XSH_MASTER_FLAT_IFU_UVB   "MASTER_FLAT_IFU_UVB"
#define XSH_MASTER_FLAT_IFU_VIS   "MASTER_FLAT_IFU_VIS"
#define XSH_MASTER_FLAT_IFU_NIR   "MASTER_FLAT_IFU_NIR"
#define XSH_MASTER_FLAT_QTH_SLIT_UVB   "MASTER_FLAT_QTH_SLIT_UVB"
#define XSH_MASTER_FLAT_QTH_SLIT_VIS   "MASTER_FLAT_QTH_SLIT_VIS"
#define XSH_MASTER_FLAT_QTH_SLIT_NIR   "MASTER_FLAT_QTH_SLIT_NIR"
#define XSH_MASTER_FLAT_QTH_IFU_UVB   "MASTER_FLAT_QTH_IFU_UVB"
#define XSH_MASTER_FLAT_QTH_IFU_VIS   "MASTER_FLAT_QTH_IFU_VIS"
#define XSH_MASTER_FLAT_QTH_IFU_NIR   "MASTER_FLAT_QTH_IFU_NIR"
#define XSH_MASTER_FLAT_D2_SLIT_UVB   "MASTER_FLAT_D2_SLIT_UVB"
#define XSH_MASTER_FLAT_D2_SLIT_VIS   "MASTER_FLAT_D2_SLIT_VIS"
#define XSH_MASTER_FLAT_D2_SLIT_NIR   "MASTER_FLAT_D2_SLIT_NIR"
#define XSH_MASTER_FLAT_D2_IFU_UVB   "MASTER_FLAT_D2_IFU_UVB"
#define XSH_MASTER_FLAT_D2_IFU_VIS   "MASTER_FLAT_D2_IFU_VIS"
#define XSH_MASTER_FLAT_D2_IFU_NIR   "MASTER_FLAT_D2_IFU_NIR"
#define XSH_TILT_TAB_SLIT_UVB   "TILT_TAB_SLIT_UVB"
#define XSH_TILT_TAB_SLIT_VIS   "TILT_TAB_SLIT_VIS"
#define XSH_TILT_TAB_SLIT_NIR   "TILT_TAB_SLIT_NIR"
#define XSH_TILT_TAB_IFU_UVB   "TILT_TAB_IFU_UVB"
#define XSH_TILT_TAB_IFU_VIS   "TILT_TAB_IFU_VIS"
#define XSH_TILT_TAB_IFU_NIR   "TILT_TAB_IFU_NIR"
#define XSH_DISP_TAB   "DISP_TAB"
#define XSH_DISP_TAB_UVB   "DISP_TAB_UVB"
#define XSH_DISP_TAB_VIS   "DISP_TAB_VIS"
#define XSH_DISP_TAB_NIR   "DISP_TAB_NIR"
#define XSH_DISP_TAB_AFC   "DISP_TAB_AFC"
#define XSH_DISP_TAB_AFC_UVB   "DISP_TAB_AFC_UVB"
#define XSH_DISP_TAB_AFC_VIS   "DISP_TAB_AFC_VIS"
#define XSH_DISP_TAB_AFC_NIR   "DISP_TAB_AFC_NIR"
#define XSH_SLIT_MAP   "SLIT_MAP"
#define XSH_SLIT_MAP_UVB   "SLIT_MAP_UVB"
#define XSH_SLIT_MAP_VIS   "SLIT_MAP_VIS"
#define XSH_SLIT_MAP_NIR   "SLIT_MAP_NIR"
#define XSH_IFU_MAP   "IFU_MAP"
#define XSH_IFU_MAP_UVB   "IFU_MAP_UVB"
#define XSH_IFU_MAP_VIS   "IFU_MAP_VIS"
#define XSH_IFU_MAP_NIR   "IFU_MAP_NIR"
#define XSH_WAVE_MAP_POLY   "WAVE_MAP"
#define XSH_WAVE_MAP_POLY_UVB   "WAVE_MAP_UVB"
#define XSH_WAVE_MAP_POLY_VIS   "WAVE_MAP_VIS"
#define XSH_WAVE_MAP_POLY_NIR   "WAVE_MAP_NIR"
#define XSH_WAVE_MAP_MODEL   "WAVE_MAP"
#define XSH_WAVE_MAP_MODEL_UVB   "WAVE_MAP_UVB"
#define XSH_WAVE_MAP_MODEL_VIS   "WAVE_MAP_VIS"
#define XSH_WAVE_MAP_MODEL_NIR   "WAVE_MAP_NIR"
#define XSH_WAVE_MAP   "WAVE_MAP"
#define XSH_WAVE_MAP_UVB   "WAVE_MAP_UVB"
#define XSH_WAVE_MAP_VIS   "WAVE_MAP_VIS"
#define XSH_WAVE_MAP_NIR   "WAVE_MAP_NIR"
#define XSH_WAVE_MAP_QTH_SLIT_UVB   "WAVE_MAP_QTH_SLIT_UVB"
#define XSH_WAVE_MAP_D2_SLIT_UVB   "WAVE_MAP_D2_SLIT_UVB"
#define XSH_WAVE_MAP_SLIT_UVB   "WAVE_MAP_SLIT_UVB"
#define XSH_WAVE_MAP_SLIT_VIS   "WAVE_MAP_SLIT_VIS"
#define XSH_WAVE_MAP_SLIT_NIR   "WAVE_MAP_SLIT_NIR"
#define XSH_WAVE_MAP_IFU_UVB   "WAVE_MAP_IFU_UVB"
#define XSH_WAVE_MAP_QTH_IFU_UVB   "WAVE_MAP_QTH_IFU_UVB"
#define XSH_WAVE_MAP_D2_IFU_UVB   "WAVE_MAP_D2_IFU_UVB"
#define XSH_WAVE_MAP_IFU_VIS   "WAVE_MAP_IFU_VIS"
#define XSH_WAVE_MAP_IFU_NIR   "WAVE_MAP_IFU_NIR"
#define XSH_SKY_LINE_LIST   "SKY_LINE_LIST"
#define XSH_SKY_LINE_LIST_UVB   "SKY_LINE_LIST_UVB"
#define XSH_SKY_LINE_LIST_VIS   "SKY_LINE_LIST_VIS"
#define XSH_SKY_LINE_LIST_NIR   "SKY_LINE_LIST_NIR"
#define XSH_ARC_LINE_LIST_AFC   "ARC_LINE_LIST_AFC"
#define XSH_ARC_LINE_LIST_AFC_UVB   "ARC_LINE_LIST_AFC_UVB"
#define XSH_ARC_LINE_LIST_AFC_VIS   "ARC_LINE_LIST_AFC_VIS"
#define XSH_ARC_LINE_LIST_AFC_NIR   "ARC_LINE_LIST_AFC_NIR"
#define XSH_ARC_LINE_LIST   "ARC_LINE_LIST"
#define XSH_ARC_LINE_LIST_UVB   "ARC_LINE_LIST_UVB"
#define XSH_ARC_LINE_LIST_VIS   "ARC_LINE_LIST_VIS"
#define XSH_ARC_LINE_LIST_NIR   "ARC_LINE_LIST_NIR"
#define XSH_ARC_LINE_LIST_PREDICT   "ARC_LINE_LIST_PREDICT"
#define XSH_ARC_LINE_LIST_PREDICT_UVB   "ARC_LINE_LIST_PREDICT_UVB"
#define XSH_ARC_LINE_LIST_PREDICT_VIS   "ARC_LINE_LIST_PREDICT_VIS"
#define XSH_ARC_LINE_LIST_PREDICT_NIR   "ARC_LINE_LIST_PREDICT_NIR"
#define XSH_ARC_LINE_LIST_2DMAP   "ARC_LINE_LIST_2DMAP"
#define XSH_ARC_LINE_LIST_2DMAP_UVB   "ARC_LINE_LIST_2DMAP_UVB"
#define XSH_ARC_LINE_LIST_2DMAP_VIS   "ARC_LINE_LIST_2DMAP_VIS"
#define XSH_ARC_LINE_LIST_2DMAP_NIR   "ARC_LINE_LIST_2DMAP_NIR"
#define XSH_ORDER1D_NIR   "ORDER1D_NIR"
#define XSH_ORDER1D_UVB   "ORDER1D_UVB"
#define XSH_ORDER1D_VIS   "ORDER1D_VIS"
#define XSH_NORM_OXT1D   "NORM_OXT1D"
#define XSH_NORM_OXT1D_NIR   "NORM_OXT1D_NIR"
#define XSH_NORM_OXT1D_UVB   "NORM_OXT1D_UVB"
#define XSH_NORM_OXT1D_VIS   "NORM_OXT1D_VIS"
#define XSH_NORM_ORDER1D   "NORM_ORDER1D"
#define XSH_NORM_ORDER1D_NIR   "NORM_ORDER1D_NIR"
#define XSH_NORM_ORDER1D_UVB   "NORM_ORDER1D_UVB"
#define XSH_NORM_ORDER1D_VIS   "NORM_ORDER1D_VIS"
#define XSH_NORM_ORDER2D   "NORM_ORDER2D"
#define XSH_NORM_ORDER2D_NIR   "NORM_ORDER2D_NIR"
#define XSH_NORM_ORDER2D_UVB   "NORM_ORDER2D_UVB"
#define XSH_NORM_ORDER2D_VIS   "NORM_ORDER2D_VIS"
#define XSH_NORM_MERGE1D   "NORM_MERGE1D"
#define XSH_NORM_MERGE1D_NIR   "NORM_MERGE1D_NIR"
#define XSH_NORM_MERGE1D_UVB   "NORM_MERGE1D_UVB"
#define XSH_NORM_MERGE1D_VIS   "NORM_MERGE1D_VIS"
#define XSH_NORM_MERGE2D   "NORM_MERGE2D"
#define XSH_NORM_MERGE2D_NIR   "NORM_MERGE2D_NIR"
#define XSH_NORM_MERGE2D_UVB   "NORM_MERGE2D_UVB"
#define XSH_NORM_MERGE2D_VIS   "NORM_MERGE2D_VIS"
#define XSH_FLUX_ORDER1D   "FLUX_ORDER1D"
#define XSH_FLUX_ORDER1D_NIR   "FLUX_ORDER1D_NIR"
#define XSH_FLUX_ORDER1D_UVB   "FLUX_ORDER1D_UVB"
#define XSH_FLUX_ORDER1D_VIS   "FLUX_ORDER1D_VIS"
#define XSH_FLUX_OXT1D   "FLUX_OXT1D"
#define XSH_FLUX_OXT1D_NIR   "FLUX_OXT1D_NIR"
#define XSH_FLUX_OXT1D_UVB   "FLUX_OXT1D_UVB"
#define XSH_FLUX_OXT1D_VIS   "FLUX_OXT1D_VIS"
#define XSH_FLUX_ORDER2D   "FLUX_ORDER2D"
#define XSH_FLUX_ORDER2D_NIR   "FLUX_ORDER2D_NIR"
#define XSH_FLUX_ORDER2D_UVB   "FLUX_ORDER2D_UVB"
#define XSH_FLUX_ORDER2D_VIS   "FLUX_ORDER2D_VIS"
#define XSH_FLUX_MERGE1D   "FLUX_MERGE1D"
#define XSH_FLUX_MERGE1D_NIR   "FLUX_MERGE1D_NIR"
#define XSH_FLUX_MERGE1D_UVB   "FLUX_MERGE1D_UVB"
#define XSH_FLUX_MERGE1D_VIS   "FLUX_MERGE1D_VIS"
#define XSH_FLUX_MERGE2D   "FLUX_MERGE2D"
#define XSH_FLUX_MERGE2D_NIR   "FLUX_MERGE2D_NIR"
#define XSH_FLUX_MERGE2D_UVB   "FLUX_MERGE2D_UVB"
#define XSH_FLUX_MERGE2D_VIS   "FLUX_MERGE2D_VIS"
#define XSH_ORDER_EXT1D   "ORDER_EXT1D"
#define XSH_ORDER_EXT1D_NIR   "ORDER_EXT1D_NIR"
#define XSH_ORDER_EXT1D_UVB   "ORDER_EXT1D_UVB"
#define XSH_ORDER_EXT1D_VIS   "ORDER_EXT1D_VIS"
#define XSH_ORDER_OXT1D   "ORDER_OXT1D"
#define XSH_ORDER_OXT1D_NIR   "ORDER_OXT1D_NIR"
#define XSH_ORDER_OXT1D_UVB   "ORDER_OXT1D_UVB"
#define XSH_ORDER_OXT1D_VIS   "ORDER_OXT1D_VIS"
#define XSH_MERGE1D_NIR   "MERGE1D_NIR"
#define XSH_MERGE1D_UVB   "MERGE1D_UVB"
#define XSH_MERGE1D_VIS   "MERGE1D_VIS"
#define XSH_MERGE_EXT1D_NIR   "MERGE_EXT1D_NIR"
#define XSH_MERGE_EXT1D_UVB   "MERGE_EXT1D_UVB"
#define XSH_MERGE_EXT1D_VIS   "MERGE_EXT1D_VIS"
#define XSH_MERGE_OXT1D   "MERGE_OXT1D"
#define XSH_MERGE_OXT1D_NIR   "MERGE_OXT1D_NIR"
#define XSH_MERGE_OXT1D_UVB   "MERGE_OXT1D_UVB"
#define XSH_MERGE_OXT1D_VIS   "MERGE_OXT1D_VIS"
#define XSH_FLUX_MOXT1D   "FLUX_MOXT1D"
#define XSH_FLUX_MOXT1D_NIR   "FLUX_MOXT1D_NIR"
#define XSH_FLUX_MOXT1D_UVB   "FLUX_MOXT1D_UVB"
#define XSH_FLUX_MOXT1D_VIS   "FLUX_MOXT1D_VIS"
#define XSH_PHYS_MERGE1D_NIR   "PHYS_MERGE1D_NIR"
#define XSH_PHYS_MERGE1D_UVB   "PHYS_MERGE1D_UVB"
#define XSH_PHYS_MERGE1D_VIS   "PHYS_MERGE1D_VIS"
#define XSH_ORDER2D_NIR   "ORDER2D_NIR"
#define XSH_ORDER2D_UVB   "ORDER2D_UVB"
#define XSH_ORDER2D_VIS   "ORDER2D_VIS"
#define XSH_SKY_ORDER2D   "SKY_ORDER2D"
#define XSH_SKY_ORDER2D_NIR   "SKY_ORDER2D_NIR"
#define XSH_SKY_ORDER2D_UVB   "SKY_ORDER2D_UVB"
#define XSH_SKY_ORDER2D_VIS   "SKY_ORDER2D_VIS"
#define XSH_MERGE2D_NIR   "MERGE2D_NIR"
#define XSH_MERGE2D_UVB   "MERGE2D_UVB"
#define XSH_MERGE2D_VIS   "MERGE2D_VIS"
#define XSH_SKY_MERGE2D   "SKY_MERGE2D"
#define XSH_SKY_MERGE2D_NIR   "SKY_MERGE2D_NIR"
#define XSH_SKY_MERGE2D_UVB   "SKY_MERGE2D_UVB"
#define XSH_SKY_MERGE2D_VIS   "SKY_MERGE2D_VIS"
#define XSH_PHYS_MERGE2D_NIR   "PHYS_MERGE2D_NIR"
#define XSH_PHYS_MERGE2D_UVB   "PHYS_MERGE2D_UVB"
#define XSH_PHYS_MERGE2D_VIS   "PHYS_MERGE2D_VIS"
#define XSH_THEO_TAB_SING   "THEO_TAB_SING"
#define XSH_THEO_TAB_SING_UVB   "THEO_TAB_SING_UVB"
#define XSH_THEO_TAB_SING_VIS   "THEO_TAB_SING_VIS"
#define XSH_THEO_TAB_SING_NIR   "THEO_TAB_SING_NIR"
#define XSH_THEO_TAB_MULT   "THEO_TAB_MULT"
#define XSH_THEO_TAB_MULT_UVB   "THEO_TAB_MULT_UVB"
#define XSH_THEO_TAB_MULT_VIS   "THEO_TAB_MULT_VIS"
#define XSH_THEO_TAB_MULT_NIR   "THEO_TAB_MULT_NIR"
#define XSH_THEO_TAB_IFU   "THEO_TAB_IFU"
#define XSH_THEO_TAB_IFU_UVB   "THEO_TAB_IFU_UVB"
#define XSH_THEO_TAB_IFU_VIS   "THEO_TAB_IFU_VIS"
#define XSH_THEO_TAB_IFU_NIR   "THEO_TAB_IFU_NIR"
#define XSH_SKY_TAB_MULT   "SKY_TAB_MULT"
#define XSH_SKY_TAB_MULT_UVB   "SKY_TAB_MULT_UVB"
#define XSH_SKY_TAB_MULT_VIS   "SKY_TAB_MULT_VIS"
#define XSH_SKY_TAB_MULT_NIR   "SKY_TAB_MULT_NIR"
#define XSH_SKY_TAB_SING   "SKY_TAB_SING"
#define XSH_SKY_TAB_SING_UVB   "SKY_TAB_SING_UVB"
#define XSH_SKY_TAB_SING_VIS   "SKY_TAB_SING_VIS"
#define XSH_SKY_TAB_SING_NIR   "SKY_TAB_SING_NIR"
#define XSH_LOCALIZATION_VIS   "LOC_TABLE_VIS"
#define XSH_LOCALIZATION_UVB   "LOC_TABLE_UVB"
#define XSH_LOCALIZATION_NIR   "LOC_TABLE_NIR"
#define XSH_SLICE_OFFSET_VIS   "SLICE_OFFSET_TABLE_VIS"
#define XSH_SLICE_OFFSET_UVB   "SLICE_OFFSET_TABLE_UVB"
#define XSH_SLICE_OFFSET_NIR   "SLICE_OFFSET_TABLE_NIR"
#define XSH_OFFSET   "OFFSET_TAB"
#define XSH_OFFSET_DOWN_IFU   "OFFSET_TAB_DOWN_IFU"
#define XSH_OFFSET_CEN_IFU   "OFFSET_TAB_CEN_IFU"
#define XSH_OFFSET_UP_IFU   "OFFSET_TAB_UP_IFU"
#define XSH_OFFSET_DOWN_IFU_VIS   "OFFSET_TAB_DOWN_IFU_VIS"
#define XSH_OFFSET_CEN_IFU_VIS   "OFFSET_TAB_CEN_IFU_VIS"
#define XSH_OFFSET_UP_IFU_VIS   "OFFSET_TAB_UP_IFU_VIS"
#define XSH_OFFSET_DOWN_IFU_UVB   "OFFSET_TAB_DOWN_IFU_UVB"
#define XSH_OFFSET_CEN_IFU_UVB   "OFFSET_TAB_CEN_IFU_UVB"
#define XSH_OFFSET_UP_IFU_UVB   "OFFSET_TAB_UP_IFU_UVB"
#define XSH_OFFSET_DOWN_IFU_NIR   "OFFSET_TAB_DOWN_IFU_NIR"
#define XSH_OFFSET_CEN_IFU_NIR   "OFFSET_TAB_CEN_IFU_NIR"
#define XSH_OFFSET_UP_IFU_NIR   "OFFSET_TAB_UP_IFU_NIR"
#define XSH_BADPIXEL_MAP   "BADPIXEL_MAP"
#define XSH_BADPIXEL_MAP_UVB   "BADPIXEL_MAP_UVB"
#define XSH_BADPIXEL_MAP_VIS   "BADPIXEL_MAP_VIS"
#define XSH_BADPIXEL_MAP_NIR   "BADPIXEL_MAP_NIR"
#define XSH_TELL_LINE_LIST   "TELL_LINE_LIST"
#define XSH_TELL_LINE_LIST_UVB   "TELL_LINE_LIST_UVB"
#define XSH_TELL_LINE_LIST_VIS   "TELL_LINE_LIST_VIS"
#define XSH_TELL_LINE_LIST_NIR   "TELL_LINE_LIST_NIR"
#define XSH_RESPONSE_SLIT   "RESPONSE_SLIT"
#define XSH_RESPONSE_SLIT_UVB   "RESPONSE_SLIT_UVB"
#define XSH_RESPONSE_SLIT_VIS   "RESPONSE_SLIT_VIS"
#define XSH_RESPONSE_SLIT_NIR   "RESPONSE_SLIT_NIR"
#define XSH_RESPONSE_MERGE1D_SLIT   "RESPONSE_MERGE1D_SLIT"
#define XSH_RESPONSE_MERGE1D_SLIT_UVB   "RESPONSE_MERGE1D_SLIT_UVB"
#define XSH_RESPONSE_MERGE1D_SLIT_VIS   "RESPONSE_MERGE1D_SLIT_VIS"
#define XSH_RESPONSE_MERGE1D_SLIT_NIR   "RESPONSE_MERGE1D_SLIT_NIR"
#define XSH_MRESPONSE_MERGE1D_SLIT   "MRESPONSE_MERGE1D_SLIT"
#define XSH_MRESPONSE_MERGE1D_SLIT_UVB   "MRESPONSE_MERGE1D_SLIT_UVB"
#define XSH_MRESPONSE_MERGE1D_SLIT_VIS   "MRESPONSE_MERGE1D_SLIT_VIS"
#define XSH_MRESPONSE_MERGE1D_SLIT_NIR   "MRESPONSE_MERGE1D_SLIT_NIR"
#define XSH_RESPONSE_ORDER1D_SLIT   "RESPONSE_ORDER1D_SLIT"
#define XSH_RESPONSE_ORDER1D_SLIT_UVB   "RESPONSE_ORDER1D_SLIT_UVB"
#define XSH_RESPONSE_ORDER1D_SLIT_VIS   "RESPONSE_ORDER1D_SLIT_VIS"
#define XSH_RESPONSE_ORDER1D_SLIT_NIR   "RESPONSE_ORDER1D_SLIT_NIR"
#define XSH_RESPONSE_OFFSET   "RESPONSE_OFFSET"
#define XSH_RESPONSE_OFFSET_UVB   "RESPONSE_OFFSET_UVB"
#define XSH_RESPONSE_OFFSET_VIS   "RESPONSE_OFFSET_VIS"
#define XSH_RESPONSE_OFFSET_NIR   "RESPONSE_OFFSET_NIR"
#define XSH_RESPONSE_IFU_UVB   "RESPONSE_IFU_UVB"
#define XSH_RESPONSE_IFU_VIS   "RESPONSE_IFU_VIS"
#define XSH_RESPONSE_IFU_NIR   "RESPONSE_IFU_NIR"
#define XSH_OFFSET_TABLE_UVB   "OFFSET_TABLE_UVB"
#define XSH_OFFSET_TABLE_VIS   "OFFSET_TABLE_VIS"
#define XSH_OFFSET_TABLE_NIR   "OFFSET_TABLE_NIR"
#define XSH_TELL_MASK   "TELL_MASK"
#define XSH_TELL_MASK_UVB   "TELL_MASK_UVB"
#define XSH_TELL_MASK_VIS   "TELL_MASK_VIS"
#define XSH_TELL_MASK_NIR   "TELL_MASK_NIR"
#define XSH_STD_STAR_FLUX_UVB   "STD_STAR_FLUX_UVB"
#define XSH_STD_STAR_FLUX_VIS   "STD_STAR_FLUX_VIS"
#define XSH_STD_STAR_FLUX_NIR   "STD_STAR_FLUX_NIR"
#define XSH_ATMOS_EXT   "ATMOS_EXT"
#define XSH_ATMOS_EXT_UVB   "ATMOS_EXT_UVB"
#define XSH_ATMOS_EXT_VIS   "ATMOS_EXT_VIS"
#define XSH_ATMOS_EXT_NIR   "ATMOS_EXT_NIR"
#define XSH_SPECTRAL_FORMAT   "SPECTRAL_FORMAT_TAB_"
#define XSH_SPECTRAL_FORMAT_NIR   "SPECTRAL_FORMAT_TAB_NIR"
#define XSH_SPECTRAL_FORMAT_UVB   "SPECTRAL_FORMAT_TAB_UVB"
#define XSH_SPECTRAL_FORMAT_VIS   "SPECTRAL_FORMAT_TAB_VIS"
#define XSH_SPECTRAL_FORMAT_JH_NIR   "SPECTRAL_FORMAT_TAB_JH_NIR"
#define XSH_MODEL_WAVE_LIST   "XSH_MODEL_COMPUTE_WAVE_LIST_"
#define XSH_MODEL_WAVE_LIST_UVB   "XSH_MODEL_COMPUTE_WAVE_LIST_UVB"
#define XSH_MODEL_WAVE_LIST_VIS   "XSH_MODEL_COMPUTE_WAVE_LIST_VIS"
#define XSH_MODEL_WAVE_LIST_NIR   "XSH_MODEL_COMPUTE_WAVE_LIST_NIR"
#define XSH_MODEL_TEST_PAR   "XSH_MODEL_COMPUTE_TEST_PAR_"
#define XSH_MODEL_TEST_PAR_UVB   "XSH_MODEL_COMPUTE_TEST_PAR_UVB"
#define XSH_MODEL_TEST_PAR_VIS   "XSH_MODEL_COMPUTE_TEST_PAR_VIS"
#define XSH_MODEL_TEST_PAR_NIR   "XSH_MODEL_COMPUTE_TEST_PAR_NIR"
#define XSH_ANNEAL_ZNSE   "XSH_MODEL_ANNEAL_ZNSE"
#define XSH_ANNEAL_CONFIG   "XSH_MODEL_ANNEAL_CONFIG"
#define XSH_ANNEAL_MEAS_COORD   "XSH_MODEL_ANNEAL_MEAS_COORD"
#define XSH_MOD_CFG_OPT_REC   "XSH_MOD_CFG_OPT_REC"
#define XSH_MOD_CFG_OPT_REC_UVB   "XSH_MOD_CFG_OPT_REC_UVB"
#define XSH_MOD_CFG_OPT_REC_VIS   "XSH_MOD_CFG_OPT_REC_VIS"
#define XSH_MOD_CFG_OPT_REC_NIR   "XSH_MOD_CFG_OPT_REC_NIR"
#define XSH_MOD_CFG_OPT_FMT   "XSH_MOD_CFG_OPT_FMT"
#define XSH_MOD_CFG_OPT_FMT_UVB   "XSH_MOD_CFG_OPT_FMT_UVB"
#define XSH_MOD_CFG_OPT_FMT_VIS   "XSH_MOD_CFG_OPT_FMT_VIS"
#define XSH_MOD_CFG_OPT_FMT_NIR   "XSH_MOD_CFG_OPT_FMT_NIR"
#define XSH_MOD_CFG_OPT_2D   "XSH_MOD_CFG_OPT_2D"
#define XSH_MOD_CFG_OPT_2D_UVB   "XSH_MOD_CFG_OPT_2D_UVB"
#define XSH_MOD_CFG_OPT_2D_VIS   "XSH_MOD_CFG_OPT_2D_VIS"
#define XSH_MOD_CFG_OPT_2D_NIR   "XSH_MOD_CFG_OPT_2D_NIR"
#define XSH_MOD_CFG_OPT_WAV_SLIT   "XSH_MOD_CFG_OPT_WAV_SLIT"
#define XSH_MOD_CFG_OPT_WAV_SLIT_UVB   "XSH_MOD_CFG_OPT_WAV_SLIT_UVB"
#define XSH_MOD_CFG_OPT_WAV_SLIT_VIS   "XSH_MOD_CFG_OPT_WAV_SLIT_VIS"
#define XSH_MOD_CFG_OPT_WAV_SLIT_NIR   "XSH_MOD_CFG_OPT_WAV_SLIT_NIR"
#define XSH_MOD_CFG_OPT_WAV_IFU   "XSH_MOD_CFG_OPT_WAV_IFU"
#define XSH_MOD_CFG_OPT_WAV_IFU_UVB   "XSH_MOD_CFG_OPT_WAV_IFU_UVB"
#define XSH_MOD_CFG_OPT_WAV_IFU_VIS   "XSH_MOD_CFG_OPT_WAV_IFU_VIS"
#define XSH_MOD_CFG_OPT_WAV_IFU_NIR   "XSH_MOD_CFG_OPT_WAV_IFU_NIR"
#define XSH_MOD_CFG_TAB   "XSH_MOD_CFG_TAB"
#define XSH_MOD_CFG_TAB_UVB   "XSH_MOD_CFG_TAB_UVB"
#define XSH_MOD_CFG_TAB_VIS   "XSH_MOD_CFG_TAB_VIS"
#define XSH_MOD_CFG_TAB_NIR   "XSH_MOD_CFG_TAB_NIR"
#define XSH_MOD_CFG_OPT_AFC   "XSH_MOD_CFG_OPT_AFC"
#define XSH_MOD_CFG_OPT_AFC_UVB   "XSH_MOD_CFG_OPT_AFC_UVB"
#define XSH_MOD_CFG_OPT_AFC_VIS   "XSH_MOD_CFG_OPT_AFC_VIS"
#define XSH_MOD_CFG_OPT_AFC_NIR   "XSH_MOD_CFG_OPT_AFC_NIR"
#define XSH_MOD_CFG   "XSH_MOD_CFG_TAB"
#define XSH_MOD_CFG_UVB   "XSH_MOD_CFG_TAB_UVB"
#define XSH_MOD_CFG_VIS   "XSH_MOD_CFG_TAB_VIS"
#define XSH_MOD_CFG_NIR   "XSH_MOD_CFG_TAB_NIR"
#define XSH_MOD_CFG_OPEN   "XSH_MOD_CFG_OPEN_"
#define XSH_MOD_CFG_OPEN_UVB   "XSH_MOD_CFG_OPEN_UVB"
#define XSH_MOD_CFG_OPEN_VIS   "XSH_MOD_CFG_OPEN_VIS"
#define XSH_MOD_CFG_OPEN_NIR   "XSH_MOD_CFG_OPEN_NIR"
#define XSH_MEASCOORD   "XSH_MEASCOORD"
#define XSH_MEASCOORD_UVB   "XSH_MEASCOORD_UVB"
#define XSH_MEASCOORD_VIS   "XSH_MEASCOORD_VIS"
#define XSH_MEASCOORD_NIR   "XSH_MEASCOORD_NIR"
#define XSH_MOD_CFG_FAN   "XSH_MOD_CFG_FAN"
#define XSH_MOD_CFG_FAN_UVB   "XSH_MOD_CFG_FAN_UVB"
#define XSH_MOD_CFG_FAN_VIS   "XSH_MOD_CFG_FAN_VIS"
#define XSH_MOD_CFG_FAN_NIR   "XSH_MOD_CFG_FAN_NIR"
#define XSH_MODEL_GUESS_XY   "XSH_MODEL_GUESS_XY"
#define XSH_MODEL_GUESS_XY_UVB   "XSH_MODEL_GUESS_XY_UVB"
#define XSH_MODEL_GUESS_XY_VIS   "XSH_MODEL_GUESS_XY_VIS"
#define XSH_MODEL_GUESS_XY_NIR   "XSH_MODEL_GUESS_XY_NIR"
#define XSH_MEASURE_LINE_POS_XY   "MEASURE_LINE_POS_XY"
#define XSH_MEASURE_LINE_POS_XY_UVB   "MEASURE_LINE_POS_XY_UVB"
#define XSH_MEASURE_LINE_POS_XY_VIS   "MEASURE_LINE_POS_XY_VIS"
#define XSH_MEASURE_LINE_POS_XY_NIR   "MEASURE_LINE_POS_XY_NIR"
#define XSH_COL_MODEL_CONF_NAME   "Parameter_Name"
#define XSH_COL_MODEL_CONF_UNITS   "Parameter_Units"
#define XSH_COL_MODEL_CONF_BEST   "Best_Guess"
#define XSH_COL_MODEL_CONF_LOW   "Low_Limit"
#define XSH_COL_MODEL_CONF_HIGH   "High_Limit"
#define XSH_COL_MODEL_CONF_FLAG   "Compute_Flag"
#define XSH_UTIL_GENCONFIG_RAW   "CONFIG"
#define XSH_PRODUCT_PREFIX   ""
#define XSH_IS_RAW(tag)
#define XSH_IS_CALIB(tag)
#define XSH_STD_TELL_SLIT(arm)
#define XSH_STD_FLUX_SLIT(arm)
#define XSH_STD_TELL_OFFSET(arm)
#define XSH_STD_FLUX_OFFSET(arm)
#define XSH_STD_FLUX(arm)
#define XSH_STD_STAR_FLUX(arm)
#define XSH_RESPONSE(arm)
#define XSH_CMP_TAG_ARM(tag_in, TAG)
#define XSH_CMP_TAG_MODE(tag_in, TAG)
#define XSH_CMP_TAG_LAMP(tag_in, TAG)
#define XSH_GET_TAG_FROM_ARM(TAG, instr)
#define XSH_GET_TAG_FROM_SLITLET(TAG, slitlet, instr)
#define XSH_GET_TAG_FROM_MODE(TAG, instr)
#define XSH_GET_TAG_FROM_LAMP(TAG, instr)

Functions

cpl_frame * xsh_frame_product (const char *fname, const char *tag, cpl_frame_type type, cpl_frame_group group, cpl_frame_level level)
 Creates a frame with given characteristics.
void xsh_frame_config (const char *fname, const char *tag, cpl_frame_type type, cpl_frame_group group, cpl_frame_level level, cpl_frame **frm)
 Define a frame characteristics.
int xsh_print_rec_status (const int val)
 Check if an error has happened and returns error kind and location.
cpl_frameset * xsh_frameset_extract (const cpl_frameset *frames, const char *tag)
 Extract frames with given tag from frameset.
cpl_error_code xsh_dfs_extract_calib_frames (cpl_frameset *input, cpl_frameset *calib)
 split input sof in groups: raw and calib
cpl_error_code xsh_dfs_extract_raw_frames (cpl_frameset *input, cpl_frameset *raws)
 split input sof in groups: raw and calib
cpl_error_code xsh_dfs_extract_pro_frames (cpl_frameset *input, cpl_frameset *pros)
 split input sof in groups: raw and calib
xsh_instrumentxsh_dfs_set_groups (cpl_frameset *)
 Set the group as RAW or CALIB in a frameset and return the instrument detected.
void xsh_dfs_split_in_group (cpl_frameset *input, cpl_frameset *raws, cpl_frameset *calib)
 split input sof in groups: raw and calib
void xsh_dfs_split_nir (cpl_frameset *input, cpl_frameset **on, cpl_frameset **off)
 split input RAW NIR sof in ON and OFF
void xsh_dfs_split_qth_d2 (cpl_frameset *input, cpl_frameset **qth, cpl_frameset **d2)
 Extracts QTH and D2 frames from input frameset.
void xsh_dfs_filter (cpl_frameset *raws, const char *tag[], int size)
 filter the frameset with the given tag list
void xsh_add_product_spectrum (cpl_frame *product_frame, cpl_frameset *frameset, const cpl_parameterlist *parameters, const char *recipe_id, xsh_instrument *instr)
void xsh_add_product_pre (cpl_frame *product_frame, cpl_frameset *frameset, const cpl_parameterlist *parameters, const char *recipe_id, xsh_instrument *instr)
 Add DFS keywords to a product frame.
void xsh_add_product_pre_3d (cpl_frame *frame, cpl_frameset *frameset, const cpl_parameterlist *parameters, const char *recipe_id, xsh_instrument *instr)
 Add 3d product frame.
void xsh_add_product_bpmap (cpl_frame *product_frame, cpl_frameset *frameset, const cpl_parameterlist *parameters, const char *recipe_id, xsh_instrument *instr, const char *prefix)
void xsh_add_product_image (cpl_frame *frame, cpl_frameset *frameset, const cpl_parameterlist *parameters, const char *recipe_id, xsh_instrument *instrument, const char *final_prefix)
void xsh_add_product_vector (cpl_frame *frame, cpl_frameset *frameset, const cpl_parameterlist *parameters, const char *recipe_id, xsh_instrument *instrument, const char *final_prefix)
void xsh_add_product_imagelist (cpl_frame *frame, cpl_frameset *frameset, const cpl_parameterlist *parameters, const char *recipe_id, xsh_instrument *instrument, const char *final_prefix)
void xsh_add_product_table (cpl_frame *frame, cpl_frameset *frameset, const cpl_parameterlist *parameters, const char *recipe_id, xsh_instrument *instrument, const char *tag_prefix)
 Save Table product (input frame has several extensions, 1 table per extension).
char * xsh_unique_filename (const char *context, const char *caller_id, const char *pro_catg)
 Get unique product filename.
cpl_frame * xsh_find_bpmap (cpl_frameset *set)
 find the bad pixel map in a set of files
cpl_frame * xsh_find_master_bpmap (cpl_frameset *set)
 find the master bad pixel map in a set of files
void xsh_dfs_find_flat (cpl_frameset *raws, cpl_frameset *flat)
 find the flat set of files in the input SOF and detect the mode of instrument. This function assure that all flat files have the same tag
cpl_frame * xsh_find_std_flux (cpl_frameset *frames)
 Find standard star frame.
cpl_frame * xsh_find_std_star_flux (cpl_frameset *frames)
 Find standard standard star flux frame.
cpl_frame * xsh_find_master_bias (cpl_frameset *frames, xsh_instrument *instr)
 Find master bias frame.
cpl_frame * xsh_find_master_dark (cpl_frameset *frames, xsh_instrument *instr)
 Find master dark frame.
cpl_frame * xsh_find_master_flat (cpl_frameset *frames, xsh_instrument *instr)
 Find master flat frame.
cpl_frame * xsh_find_order_tab_recov (cpl_frameset *frames, xsh_instrument *instr)
 Find an order tab RECOV.
cpl_frame * xsh_find_order_tab_guess (cpl_frameset *frames, xsh_instrument *instr)
 Find an order tab GUESS.
cpl_frame * xsh_find_order_tab_centr (cpl_frameset *frames, xsh_instrument *instr)
 Find an order tab CENTR.
cpl_frame * xsh_find_order_tab_edges (cpl_frameset *frames, xsh_instrument *instr)
 Find an order tab EDGES.
cpl_frame * xsh_find_theo_tab_sing (cpl_frameset *frames, xsh_instrument *instr)
 Find a theoretical tab signle pinhole in SOF.
cpl_frame * xsh_find_theo_tab_mult (cpl_frameset *frames, xsh_instrument *instr)
 Find a theoretical tab multi pinhole in SOF.
cpl_frame * xsh_find_theo_tab_mode (cpl_frameset *frames, xsh_instrument *instr)
 Find a theoretical tab IFU or SINg depending of MODE in SOF.
cpl_frame * xsh_find_wave_tab_guess (cpl_frameset *frames, xsh_instrument *instr)
 Find a wave tab guess.
cpl_frame * xsh_find_wave_tab_2d (cpl_frameset *frames, xsh_instrument *instr)
 Find a wave tab 2D.
cpl_frame * xsh_find_slitmap (cpl_frameset *frames, xsh_instrument *instr)
 Find a slit map.
cpl_frame * xsh_find_model_config_tab (cpl_frameset *frames, xsh_instrument *instr)
 Find a model configuration table frame.
cpl_frame * xsh_find_wave_tab (cpl_frameset *frames, xsh_instrument *instr)
 Find a wave tab 2D or a wave tab ARC.
cpl_frame * xsh_find_model_config (cpl_frameset *frames, xsh_instrument *instr)
 Find a model config.
cpl_frameset * xsh_find_wave_tab_ifu (cpl_frameset *frames, xsh_instrument *instr)
 Find wave tab ARC (for IFU 3 frames).
cpl_frameset * xsh_find_offset_tab_ifu (cpl_frameset *frames, xsh_instrument *instr)
 Find offset tab (One for each slitlet).
cpl_frame * xsh_find_arc_line_list_clean (cpl_frameset *frames, xsh_instrument *instr)
 Find an arc lines list clean frame.
cpl_frame * xsh_find_arc_line_list (cpl_frameset *frames, xsh_instrument *instr)
 Find an arc line list frame.
cpl_frame * xsh_find_raw_orderdef_vis_uvb (cpl_frameset *frames)
 Find orderdef raw frame for UVB or VIS.
cpl_frame * xsh_find_raw_orderdef_nir (cpl_frameset *frames)
 Find orderdef raw frame for NIR.
cpl_frame * xsh_find_raw_orderdef_nir_off (cpl_frameset *frames)
 Find orderdef raw frame for NIR OFF.
cpl_frame * xsh_find_on (cpl_frameset *set)
 find the on frame in set of files
cpl_frame * xsh_find_off (cpl_frameset *set)
 find the off frame in set of files
cpl_frame * xsh_find_raw_arc_slit_uvb_vis (cpl_frameset *frames, XSH_ARM arm)
 Find raw frame for Slit UVB/VIS.
cpl_frame * xsh_find_raw_arc_slit_nir_on (cpl_frameset *frames)
 Find raw frame for Slit NIR ON.
cpl_frame * xsh_find_raw_arc_slit_nir_off (cpl_frameset *frames)
 Find raw frame for Slit NIR OFF.
cpl_frame * xsh_find_wavemap (cpl_frameset *frames, xsh_instrument *instrument)
 Find Wave Map frame. The frame returned should not be free by the caller.
cpl_frame * xsh_find_spectral_format (cpl_frameset *frames, xsh_instrument *instr)
 Find spectral format frame.
cpl_frame * xsh_find_calpro_model_config (cpl_frameset *frames, xsh_instrument *instr)
 Find model config frame.
cpl_frame * xsh_find_model_config_open (cpl_frameset *frames, xsh_instrument *instr)
 Find model config frame.
cpl_frame * xsh_find_disp_tab (cpl_frameset *frames, xsh_instrument *instrument)
 Find Dispersol tab frame. The frame returned should not be free by the caller.
cpl_frame * xsh_find_model_wavelist (cpl_frameset *frames, xsh_instrument *instr)
 Find model wavelength list frame.
cpl_frame * xsh_find_model_testpar (cpl_frameset *frames, xsh_instrument *instr)
 Find model test parameter list.
cpl_frame * xsh_find_calpro_model_meas_coord (cpl_frameset *frames, xsh_instrument *instr)
 Find model config frame.
cpl_frame * xsh_find_model_config_opt (cpl_frameset *frames, xsh_instrument *instr)
cpl_frameset * xsh_extract_obj_and_sky_pairs (cpl_frameset *raws, xsh_instrument *instrument)
 Make sure input frames is composed by obj-sky pairs.
cpl_frame * xsh_find_frame_with_tag (cpl_frameset *frames, const char *tag, xsh_instrument *instr)
 Find frame with a given tag.
char * xsh_get_tag_from_arm (const char *tag, xsh_instrument *instr)
 Find arm specific tag from base and instrument setting.
cpl_frame * xsh_find_usr_lines_guess_tab (cpl_frameset *frames, xsh_instrument *instr)
 Find a user guess line positions table frame.
void xsh_add_product (cpl_frame *frame, cpl_frameset *frameset, const cpl_parameterlist *parameters, const char *recipe_id, xsh_instrument *instrument, const char *final_prefix, const char *type)
int xsh_dfs_split_offset (cpl_frameset *input, const char *object_tag, const char *sky_tag, cpl_frameset **object, cpl_frameset **sky)
 split input RAW offset sof in OBJECT_... and SKY_... framesets
cpl_frameset * xsh_frameset_ext_table_frames (cpl_frameset *set)
 Extract frameset sub set containing only table frames.
cpl_frameset * xsh_frameset_ext_image_frames (cpl_frameset *set)
 Extract frameset sub set containing only table frames.
cpl_frameset * xsh_frameset_drl_frames (cpl_frameset *set)
 extract DRL specific frames from frameset
cpl_error_code xsh_frameset_merge (cpl_frameset *set1, cpl_frameset *set2)
 Extracts raw frames.
cpl_error_code xsh_ensure_raws_number_is_even (cpl_frameset *raws)
 Make sure input frames is an even number (eventually removes the last from the input list).
cpl_frameset * xsh_frameset_extract_pre (cpl_frameset *set, const char *prefix)
 Extracts pre frames from a frameset.
int xsh_file_exists (const char *filename)
int xsh_dfs_files_dont_exist (cpl_frameset *frameset)
 Check if all SOF files exist.
cpl_error_code xsh_ensure_raws_input_offset_recipe_is_proper (cpl_frameset **raws, xsh_instrument *instrument)
 Make sure input frames is an even number (eventually removes the last from the input list).
cpl_frameset * xsh_extract_nod_pairs (cpl_frameset *raws, cpl_vector *offset)
 Make sure input frames is composed by nod a-b sequence.
cpl_frameset * xsh_frameset_extract_offsety_matches (cpl_frameset *raws, const double offset)
 Extract frames that has same cumoffy as offset.
cpl_frameset * xsh_frameset_extract_offsety_mismatches (cpl_frameset *raws, const double offset)
 Extract frames that has different cumoffy than offset.
cpl_error_code xsh_validate_model_cfg (cpl_frame *mod, cpl_frameset *set)
 Validate model cfg.
int xsh_parameter_get_default_flag (const cpl_parameter *p)
 Check if an input parameter has been changed by the user.
cpl_propertylist * xsh_frame_head_extract_qc (cpl_frame *frm)
cpl_boolean xsh_mode_is_physmod (cpl_frameset *set, xsh_instrument *instrument)
cpl_error_code xsh_dfs_check_binning (cpl_frameset *raw, cpl_frameset *calib)
cpl_frameset * xsh_correct_calib (cpl_frameset *raws, cpl_frameset *calib)
cpl_error_code xsh_calib_nir_corr_if_JH (cpl_frameset *calib, xsh_instrument *instr, const char *recid)
cpl_error_code xsh_calib_nir_respon_corr_if_JH (cpl_frameset *calib, xsh_instrument *instr)
cpl_error_code xsh_dfs_check_mflat_is_proper (xsh_instrument *inst, cpl_frameset **calib)
cpl_error_code xsh_frameset_check_uniform_exptime (cpl_frameset *raws, xsh_instrument *inst)
cpl_error_code xsh_table_save (cpl_table *t, cpl_propertylist *ph, cpl_propertylist *xh, const char *fname, const int ext)
cpl_error_code xsh_vector_save (cpl_vector *v, cpl_propertylist *ph, const char *fname, const int ext)
cpl_error_code xsh_frameset_uniform_bin (cpl_frameset **raws, cpl_frameset **calib, xsh_instrument *instrument)
cpl_error_code xsh_add_afc_info (cpl_frame *frm_m, cpl_frame *frm_o)

Define Documentation

#define XSH_AFC_ATT   "AFC_ATT"

Definition at line 522 of file xsh_dfs.h.

Referenced by xsh_detect_arclines(), xsh_detect_arclines_dan(), and xsh_flexcomp().

#define XSH_AFC_ATT_NIR   "AFC_ATT_NIR"

Definition at line 525 of file xsh_dfs.h.

#define XSH_AFC_ATT_UVB   "AFC_ATT_UVB"

Definition at line 523 of file xsh_dfs.h.

#define XSH_AFC_ATT_VIS   "AFC_ATT_VIS"

Definition at line 524 of file xsh_dfs.h.

#define XSH_AFC_CAL   "AFC_CAL"

Definition at line 518 of file xsh_dfs.h.

Referenced by xsh_detect_arclines(), and xsh_detect_arclines_dan().

#define XSH_AFC_CAL_NIR   "AFC_CAL_NIR"

Definition at line 521 of file xsh_dfs.h.

#define XSH_AFC_CAL_UVB   "AFC_CAL_UVB"

Definition at line 519 of file xsh_dfs.h.

#define XSH_AFC_CAL_VIS   "AFC_CAL_VIS"

Definition at line 520 of file xsh_dfs.h.

#define XSH_AFC_POS   "AFC_POS"

Definition at line 509 of file xsh_dfs.h.

Referenced by xsh_util_afc().

#define XSH_AFC_POS_NIR   "AFC_POS_NIR"

Definition at line 512 of file xsh_dfs.h.

#define XSH_AFC_POS_UVB   "AFC_POS_UVB"

Definition at line 510 of file xsh_dfs.h.

#define XSH_AFC_POS_VIS   "AFC_POS_VIS"

Definition at line 511 of file xsh_dfs.h.

#define XSH_AFC_SLT   "AFC_SLT"

Definition at line 513 of file xsh_dfs.h.

Referenced by xsh_util_afc().

#define XSH_AFC_SLT_NIR   "AFC_SLT_NIR"

Definition at line 516 of file xsh_dfs.h.

#define XSH_AFC_SLT_UVB   "AFC_SLT_UVB"

Definition at line 514 of file xsh_dfs.h.

#define XSH_AFC_SLT_VIS   "AFC_SLT_VIS"

Definition at line 515 of file xsh_dfs.h.

#define XSH_ANNEAL_CONFIG   "XSH_MODEL_ANNEAL_CONFIG"

Definition at line 1183 of file xsh_dfs.h.

#define XSH_ANNEAL_MEAS_COORD   "XSH_MODEL_ANNEAL_MEAS_COORD"

Definition at line 1184 of file xsh_dfs.h.

#define XSH_ANNEAL_ZNSE   "XSH_MODEL_ANNEAL_ZNSE"

Definition at line 1182 of file xsh_dfs.h.

#define XSH_ARC_IFU_NIR   "ARC_IFU_NIR_ON"

Definition at line 415 of file xsh_dfs.h.

#define XSH_ARC_IFU_OFF   "ARC_IFU_NIR_OFF"

Definition at line 416 of file xsh_dfs.h.

#define XSH_ARC_IFU_UVB   "ARC_IFU_UVB"

Definition at line 413 of file xsh_dfs.h.

#define XSH_ARC_IFU_VIS   "ARC_IFU_VIS"

Definition at line 414 of file xsh_dfs.h.

#define XSH_ARC_LINE_LIST   "ARC_LINE_LIST"
#define XSH_ARC_LINE_LIST_2DMAP   "ARC_LINE_LIST_2DMAP"

Definition at line 934 of file xsh_dfs.h.

Referenced by xsh_detect_arclines(), and xsh_detect_arclines_dan().

#define XSH_ARC_LINE_LIST_2DMAP_NIR   "ARC_LINE_LIST_2DMAP_NIR"

Definition at line 937 of file xsh_dfs.h.

#define XSH_ARC_LINE_LIST_2DMAP_UVB   "ARC_LINE_LIST_2DMAP_UVB"

Definition at line 935 of file xsh_dfs.h.

#define XSH_ARC_LINE_LIST_2DMAP_VIS   "ARC_LINE_LIST_2DMAP_VIS"

Definition at line 936 of file xsh_dfs.h.

#define XSH_ARC_LINE_LIST_AFC   "ARC_LINE_LIST_AFC"

Definition at line 919 of file xsh_dfs.h.

Referenced by xsh_flexcomp().

#define XSH_ARC_LINE_LIST_AFC_NIR   "ARC_LINE_LIST_AFC_NIR"

Definition at line 922 of file xsh_dfs.h.

#define XSH_ARC_LINE_LIST_AFC_UVB   "ARC_LINE_LIST_AFC_UVB"

Definition at line 920 of file xsh_dfs.h.

#define XSH_ARC_LINE_LIST_AFC_VIS   "ARC_LINE_LIST_AFC_VIS"

Definition at line 921 of file xsh_dfs.h.

#define XSH_ARC_LINE_LIST_INTMON   "ARC_LINE_LIST_INTMON"

Definition at line 62 of file xsh_dfs.h.

Referenced by xsh_2dmap(), and xsh_predict().

#define XSH_ARC_LINE_LIST_INTMON_NIR   "ARC_LINE_LIST_INTMON_NIR"

Definition at line 65 of file xsh_dfs.h.

#define XSH_ARC_LINE_LIST_INTMON_UVB   "ARC_LINE_LIST_INTMON_UVB"

Definition at line 63 of file xsh_dfs.h.

#define XSH_ARC_LINE_LIST_INTMON_VIS   "ARC_LINE_LIST_INTMON_VIS"

Definition at line 64 of file xsh_dfs.h.

#define XSH_ARC_LINE_LIST_NIR   "ARC_LINE_LIST_NIR"

Definition at line 927 of file xsh_dfs.h.

#define XSH_ARC_LINE_LIST_PREDICT   "ARC_LINE_LIST_PREDICT"

Definition at line 929 of file xsh_dfs.h.

Referenced by xsh_detect_arclines(), and xsh_detect_arclines_dan().

#define XSH_ARC_LINE_LIST_PREDICT_NIR   "ARC_LINE_LIST_PREDICT_NIR"

Definition at line 932 of file xsh_dfs.h.

#define XSH_ARC_LINE_LIST_PREDICT_UVB   "ARC_LINE_LIST_PREDICT_UVB"

Definition at line 930 of file xsh_dfs.h.

#define XSH_ARC_LINE_LIST_PREDICT_VIS   "ARC_LINE_LIST_PREDICT_VIS"

Definition at line 931 of file xsh_dfs.h.

#define XSH_ARC_LINE_LIST_UVB   "ARC_LINE_LIST_UVB"

Definition at line 925 of file xsh_dfs.h.

#define XSH_ARC_LINE_LIST_VIS   "ARC_LINE_LIST_VIS"

Definition at line 926 of file xsh_dfs.h.

#define XSH_ARC_SLIT_NIR   "ARC_SLIT_NIR_ON"

Definition at line 411 of file xsh_dfs.h.

Referenced by xsh_find_raw_arc_slit_nir_on().

#define XSH_ARC_SLIT_OFF   "ARC_SLIT_NIR_OFF"

Definition at line 412 of file xsh_dfs.h.

Referenced by xsh_find_raw_arc_slit_nir_off().

#define XSH_ARC_SLIT_UVB   "ARC_SLIT_UVB"

Definition at line 409 of file xsh_dfs.h.

Referenced by xsh_find_raw_arc_slit_uvb_vis().

#define XSH_ARC_SLIT_VIS   "ARC_SLIT_VIS"

Definition at line 410 of file xsh_dfs.h.

Referenced by xsh_find_raw_arc_slit_uvb_vis().

#define XSH_ATMOS_EXT   "ATMOS_EXT"
#define XSH_ATMOS_EXT_NIR   "ATMOS_EXT_NIR"

Definition at line 1159 of file xsh_dfs.h.

#define XSH_ATMOS_EXT_UVB   "ATMOS_EXT_UVB"

Definition at line 1157 of file xsh_dfs.h.

#define XSH_ATMOS_EXT_VIS   "ATMOS_EXT_VIS"

Definition at line 1158 of file xsh_dfs.h.

#define XSH_AUTOCORR_NIR   "AUTOCORR_NIR"

Definition at line 353 of file xsh_dfs.h.

#define XSH_AUTOCORR_UVB   "AUTOCORR_UVB"

Definition at line 351 of file xsh_dfs.h.

#define XSH_AUTOCORR_VIS   "AUTOCORR_VIS"

Definition at line 352 of file xsh_dfs.h.

#define XSH_BADPIXEL_MAP   "BADPIXEL_MAP"

Definition at line 1103 of file xsh_dfs.h.

#define XSH_BADPIXEL_MAP_NIR   "BADPIXEL_MAP_NIR"

Definition at line 1106 of file xsh_dfs.h.

#define XSH_BADPIXEL_MAP_UVB   "BADPIXEL_MAP_UVB"

Definition at line 1104 of file xsh_dfs.h.

#define XSH_BADPIXEL_MAP_VIS   "BADPIXEL_MAP_VIS"

Definition at line 1105 of file xsh_dfs.h.

#define XSH_BIAS   "BIAS"

Definition at line 208 of file xsh_dfs.h.

Referenced by xsh_mbias().

#define XSH_BIAS_NIR   "BIAS_NIR"

Definition at line 377 of file xsh_dfs.h.

#define XSH_BIAS_REMOVE_CRH   "BIAS_REMOVE_CRH"

Definition at line 155 of file xsh_dfs.h.

#define XSH_BIAS_REMOVE_CRH_NIR   "BIAS_REMOVE_CRH_NIR"

Definition at line 158 of file xsh_dfs.h.

#define XSH_BIAS_REMOVE_CRH_UVB   "BIAS_REMOVE_CRH_UVB"

Definition at line 156 of file xsh_dfs.h.

#define XSH_BIAS_REMOVE_CRH_VIS   "BIAS_REMOVE_CRH_VIS"

Definition at line 157 of file xsh_dfs.h.

#define XSH_BIAS_UVB   "BIAS_UVB"

Definition at line 375 of file xsh_dfs.h.

Referenced by main(), and xsh_pre_create().

#define XSH_BIAS_VIS   "BIAS_VIS"

Definition at line 376 of file xsh_dfs.h.

Referenced by xsh_pre_create().

#define XSH_BP_MAP   "BP_MAP"

Definition at line 319 of file xsh_dfs.h.

Referenced by xsh_check_load_master_bpmap().

#define XSH_BP_MAP_CP   "BP_MAP_CP"

Definition at line 604 of file xsh_dfs.h.

Referenced by xsh_image_get_hot_cold_pixs(), and xsh_util_bpmap_coadd().

#define XSH_BP_MAP_CP_NIR   "BP_MAP_CP_NIR"

Definition at line 607 of file xsh_dfs.h.

#define XSH_BP_MAP_CP_UVB   "BP_MAP_CP_UVB"

Definition at line 605 of file xsh_dfs.h.

#define XSH_BP_MAP_CP_VIS   "BP_MAP_CP_VIS"

Definition at line 606 of file xsh_dfs.h.

#define XSH_BP_MAP_DP   "BP_MAP_DP"

Definition at line 616 of file xsh_dfs.h.

Referenced by xsh_image_local_cold_pixs(), and xsh_util_bpmap_coadd().

#define XSH_BP_MAP_DP_NIR   "BP_MAP_DP_NIR"

Definition at line 619 of file xsh_dfs.h.

#define XSH_BP_MAP_DP_UVB   "BP_MAP_DP_UVB"

Definition at line 617 of file xsh_dfs.h.

#define XSH_BP_MAP_DP_VIS   "BP_MAP_DP_VIS"

Definition at line 618 of file xsh_dfs.h.

#define XSH_BP_MAP_HP   "BP_MAP_HP"

Definition at line 599 of file xsh_dfs.h.

Referenced by xsh_image_get_hot_cold_pixs(), and xsh_util_bpmap_coadd().

#define XSH_BP_MAP_HP_NIR   "BP_MAP_HP_NIR"

Definition at line 602 of file xsh_dfs.h.

#define XSH_BP_MAP_HP_UVB   "BP_MAP_HP_UVB"

Definition at line 600 of file xsh_dfs.h.

#define XSH_BP_MAP_HP_VIS   "BP_MAP_HP_VIS"

Definition at line 601 of file xsh_dfs.h.

#define XSH_BP_MAP_LIN   "BP_MAP_LIN"

Definition at line 594 of file xsh_dfs.h.

Referenced by xsh_compute_linearity().

#define XSH_BP_MAP_LIN_NIR   "BP_MAP_LIN_NIR"

Definition at line 597 of file xsh_dfs.h.

#define XSH_BP_MAP_LIN_UVB   "BP_MAP_LIN_UVB"

Definition at line 595 of file xsh_dfs.h.

#define XSH_BP_MAP_LIN_VIS   "BP_MAP_LIN_VIS"

Definition at line 596 of file xsh_dfs.h.

#define XSH_BP_MAP_NIR   "BP_MAP_NIR"

Definition at line 322 of file xsh_dfs.h.

#define XSH_BP_MAP_NL   "BP_MAP_NL"
#define XSH_BP_MAP_NL_NIR   "BP_MAP_NL_NIR"

Definition at line 344 of file xsh_dfs.h.

#define XSH_BP_MAP_NL_UVB   "BP_MAP_NL_UVB"

Definition at line 342 of file xsh_dfs.h.

Referenced by xsh_pre_create().

#define XSH_BP_MAP_NL_VIS   "BP_MAP_NL_VIS"

Definition at line 343 of file xsh_dfs.h.

Referenced by xsh_pre_create().

#define XSH_BP_MAP_NP   "BP_MAP_NP"

Definition at line 324 of file xsh_dfs.h.

Referenced by xsh_get_master_dark_nir_via_noise(), and xsh_util_bpmap_coadd().

#define XSH_BP_MAP_NP_NIR   "BP_MAP_NP_NIR"

Definition at line 327 of file xsh_dfs.h.

#define XSH_BP_MAP_NP_UVB   "BP_MAP_NP_UVB"

Definition at line 325 of file xsh_dfs.h.

#define XSH_BP_MAP_NP_VIS   "BP_MAP_NP_VIS"

Definition at line 326 of file xsh_dfs.h.

#define XSH_BP_MAP_PN   "BP_MAP_PN"

Definition at line 330 of file xsh_dfs.h.

Referenced by xsh_compute_noise_map(), and xsh_util_bpmap_coadd().

#define XSH_BP_MAP_PN_NIR   "BP_MAP_PN_NIR"

Definition at line 333 of file xsh_dfs.h.

#define XSH_BP_MAP_PN_UVB   "BP_MAP_PN_UVB"

Definition at line 331 of file xsh_dfs.h.

#define XSH_BP_MAP_PN_VIS   "BP_MAP_PN_VIS"

Definition at line 332 of file xsh_dfs.h.

#define XSH_BP_MAP_REF   "BP_MAP_REF"

Definition at line 589 of file xsh_dfs.h.

Referenced by xsh_util_bpmap_coadd().

#define XSH_BP_MAP_REF_NIR   "BP_MAP_REF_NIR"

Definition at line 592 of file xsh_dfs.h.

#define XSH_BP_MAP_REF_UVB   "BP_MAP_REF_UVB"

Definition at line 590 of file xsh_dfs.h.

#define XSH_BP_MAP_REF_VIS   "BP_MAP_REF_VIS"

Definition at line 591 of file xsh_dfs.h.

#define XSH_BP_MAP_RP   "BP_MAP_RP"

Definition at line 336 of file xsh_dfs.h.

Referenced by xsh_check_load_master_bpmap(), xsh_lingain(), and xsh_util_bpmap_coadd().

#define XSH_BP_MAP_RP_NIR   "BP_MAP_RP_NIR"

Definition at line 339 of file xsh_dfs.h.

#define XSH_BP_MAP_RP_UVB   "BP_MAP_RP_UVB"

Definition at line 337 of file xsh_dfs.h.

#define XSH_BP_MAP_RP_VIS   "BP_MAP_RP_VIS"

Definition at line 338 of file xsh_dfs.h.

#define XSH_BP_MAP_SP   "BP_MAP_SP"

Definition at line 610 of file xsh_dfs.h.

Referenced by xsh_image_local_hot_pixs(), and xsh_util_bpmap_coadd().

#define XSH_BP_MAP_SP_NIR   "BP_MAP_SP_NIR"

Definition at line 613 of file xsh_dfs.h.

#define XSH_BP_MAP_SP_UVB   "BP_MAP_SP_UVB"

Definition at line 611 of file xsh_dfs.h.

#define XSH_BP_MAP_SP_VIS   "BP_MAP_SP_VIS"

Definition at line 612 of file xsh_dfs.h.

#define XSH_BP_MAP_UVB   "BP_MAP_UVB"

Definition at line 320 of file xsh_dfs.h.

#define XSH_BP_MAP_VIS   "BP_MAP_VIS"

Definition at line 321 of file xsh_dfs.h.

#define XSH_CMP_TAG_ARM ( tag_in,
TAG   ) 
Value:
( strcmp(tag_in, TAG##_UVB) == 0) || \
  ( strcmp(tag_in, TAG##_VIS) == 0) || \
  ( strcmp(tag_in, TAG##_NIR) == 0)

Definition at line 1479 of file xsh_dfs.h.

#define XSH_CMP_TAG_LAMP ( tag_in,
TAG   ) 
Value:
( strcmp( tag_in, TAG##_SLIT##_UVB) == 0) || \
  ( strcmp( tag_in, TAG##_SLIT##_VIS) == 0) || \
  ( strcmp( tag_in, TAG##_SLIT##_NIR) == 0) || \
  ( strcmp( tag_in, TAG##_IFU##_UVB) == 0) || \
  ( strcmp( tag_in, TAG##_IFU##_VIS) == 0) || \
  ( strcmp( tag_in, TAG##_IFU##_NIR) == 0) || \
  ( strcmp( tag_in, TAG##_QTH_SLIT##_UVB) == 0) || \
  ( strcmp( tag_in, TAG##_D2_SLIT##_UVB) == 0) || \
  ( strcmp( tag_in, TAG##_QTH_IFU##_UVB) == 0) || \
  ( strcmp( tag_in, TAG##_D2_IFU##_UVB) == 0)

Definition at line 1492 of file xsh_dfs.h.

Referenced by xsh_order_list_save().

#define XSH_CMP_TAG_MODE ( tag_in,
TAG   ) 
Value:
( strcmp( tag_in, TAG##_SLIT##_UVB) == 0) || \
  ( strcmp( tag_in, TAG##_SLIT##_VIS) == 0) || \
  ( strcmp( tag_in, TAG##_SLIT##_NIR) == 0) || \
  ( strcmp( tag_in, TAG##_IFU##_UVB) == 0) || \
  ( strcmp( tag_in, TAG##_IFU##_VIS) == 0) || \
  ( strcmp( tag_in, TAG##_IFU##_NIR) == 0)

Definition at line 1484 of file xsh_dfs.h.

#define XSH_COEFFS_CUBE_NIR   "COEFFS_CUBE_NIR"

Definition at line 316 of file xsh_dfs.h.

#define XSH_COEFFS_CUBE_UVB   "COEFFS_CUBE_UVB"

Definition at line 314 of file xsh_dfs.h.

#define XSH_COEFFS_CUBE_VIS   "COEFFS_CUBE_VIS"

Definition at line 315 of file xsh_dfs.h.

#define XSH_COL_MODEL_CONF_BEST   "Best_Guess"
#define XSH_COL_MODEL_CONF_FLAG   "Compute_Flag"
#define XSH_COL_MODEL_CONF_HIGH   "High_Limit"
#define XSH_COL_MODEL_CONF_LOW   "Low_Limit"
#define XSH_COL_MODEL_CONF_NAME   "Parameter_Name"
#define XSH_COL_MODEL_CONF_UNITS   "Parameter_Units"

Definition at line 1258 of file xsh_dfs.h.

Referenced by xsh_model_io_output_cfg().

#define XSH_COMBINED_OFFSET_2D_CEN_IFU_NIR   "COMBINED_OFFSET_2D_CEN_IFU_NIR"

Definition at line 820 of file xsh_dfs.h.

#define XSH_COMBINED_OFFSET_2D_CEN_IFU_UVB   "COMBINED_OFFSET_2D_CEN_IFU_UVB"

Definition at line 810 of file xsh_dfs.h.

#define XSH_COMBINED_OFFSET_2D_CEN_IFU_VIS   "COMBINED_OFFSET_2D_CEN_IFU_VIS"

Definition at line 815 of file xsh_dfs.h.

#define XSH_COMBINED_OFFSET_2D_DOWN_IFU_NIR   "COMBINED_OFFSET_2D_DOWN_IFU_NIR"

Definition at line 819 of file xsh_dfs.h.

#define XSH_COMBINED_OFFSET_2D_DOWN_IFU_UVB   "COMBINED_OFFSET_2D_DOWN_IFU_UVB"

Definition at line 809 of file xsh_dfs.h.

#define XSH_COMBINED_OFFSET_2D_DOWN_IFU_VIS   "COMBINED_OFFSET_2D_DOWN_IFU_VIS"

Definition at line 814 of file xsh_dfs.h.

#define XSH_COMBINED_OFFSET_2D_IFU   "COMBINED_OFFSET_2D_IFU_"

Definition at line 807 of file xsh_dfs.h.

Referenced by xsh_merge_ord_with_tag().

#define XSH_COMBINED_OFFSET_2D_IFU_NIR   "COMBINED_OFFSET_2D_IFU_NIR"

Definition at line 818 of file xsh_dfs.h.

#define XSH_COMBINED_OFFSET_2D_IFU_UVB   "COMBINED_OFFSET_2D_IFU_UVB"

Definition at line 808 of file xsh_dfs.h.

#define XSH_COMBINED_OFFSET_2D_IFU_VIS   "COMBINED_OFFSET_2D_IFU_VIS"

Definition at line 813 of file xsh_dfs.h.

#define XSH_COMBINED_OFFSET_2D_SLIT   "COMBINED_OFFSET_2D_SLIT_"

Definition at line 823 of file xsh_dfs.h.

Referenced by xsh_merge_ord_slitlet(), and xsh_merge_ord_with_tag().

#define XSH_COMBINED_OFFSET_2D_SLIT_NIR   "COMBINED_OFFSET_2D_SLIT_NIR"

Definition at line 826 of file xsh_dfs.h.

#define XSH_COMBINED_OFFSET_2D_SLIT_UVB   "COMBINED_OFFSET_2D_SLIT_UVB"

Definition at line 824 of file xsh_dfs.h.

#define XSH_COMBINED_OFFSET_2D_SLIT_VIS   "COMBINED_OFFSET_2D_SLIT_VIS"

Definition at line 825 of file xsh_dfs.h.

#define XSH_COMBINED_OFFSET_2D_UP_IFU_NIR   "COMBINED_OFFSET_2D_UP_IFU_NIR"

Definition at line 821 of file xsh_dfs.h.

#define XSH_COMBINED_OFFSET_2D_UP_IFU_UVB   "COMBINED_OFFSET_2D_UP_IFU_UVB"

Definition at line 811 of file xsh_dfs.h.

#define XSH_COMBINED_OFFSET_2D_UP_IFU_VIS   "COMBINED_OFFSET_2D_UP_IFU_VIS"

Definition at line 816 of file xsh_dfs.h.

#define XSH_CORRECTIFU_LAMBDAREF_PIPE_NIR   1500

Definition at line 69 of file xsh_dfs.h.

Referenced by xsh_params_set_defaults().

#define XSH_CORRECTIFU_LAMBDAREF_PIPE_UVB   400

Definition at line 67 of file xsh_dfs.h.

Referenced by xsh_params_set_defaults().

#define XSH_CORRECTIFU_LAMBDAREF_PIPE_VIS   700

Definition at line 68 of file xsh_dfs.h.

Referenced by xsh_params_set_defaults().

#define XSH_CPIX_MAP   "CPIX_MAP"

Definition at line 268 of file xsh_dfs.h.

#define XSH_CPIX_MAP_NIR   "CPIX_MAP_NIR"

Definition at line 271 of file xsh_dfs.h.

#define XSH_CPIX_MAP_UVB   "CPIX_MAP_UVB"

Definition at line 269 of file xsh_dfs.h.

#define XSH_CPIX_MAP_VIS   "CPIX_MAP_VIS"

Definition at line 270 of file xsh_dfs.h.

#define XSH_CRH_LIST   "CRH_LIST"

Definition at line 285 of file xsh_dfs.h.

#define XSH_CRH_LIST_NIR   "CRH_LIST_NIR"

Definition at line 288 of file xsh_dfs.h.

#define XSH_CRH_LIST_UVB   "CRH_LIST_UVB"

Definition at line 286 of file xsh_dfs.h.

#define XSH_CRH_LIST_VIS   "CRH_LIST_VIS"

Definition at line 287 of file xsh_dfs.h.

#define XSH_CRH_MAP   "CRH_MAP"

Definition at line 279 of file xsh_dfs.h.

Referenced by xsh_get_crh_frame(), and xsh_remove_cosmics().

#define XSH_CRH_MAP_NIR   "CRH_MAP_NIR"

Definition at line 282 of file xsh_dfs.h.

#define XSH_CRH_MAP_UVB   "CRH_MAP_UVB"

Definition at line 280 of file xsh_dfs.h.

#define XSH_CRH_MAP_VIS   "CRH_MAP_VIS"

Definition at line 281 of file xsh_dfs.h.

#define XSH_DARK   "DARK"

Definition at line 209 of file xsh_dfs.h.

Referenced by xsh_mdark().

#define XSH_DARK_NIR   "DARK_NIR"

Definition at line 380 of file xsh_dfs.h.

Referenced by main().

#define XSH_DARK_NIR_OFF   "DARK_NIR_OFF"

Definition at line 382 of file xsh_dfs.h.

#define XSH_DARK_NIR_ON   "DARK_NIR_ON"

Definition at line 381 of file xsh_dfs.h.

#define XSH_DARK_UVB   "DARK_UVB"

Definition at line 378 of file xsh_dfs.h.

#define XSH_DARK_VIS   "DARK_VIS"

Definition at line 379 of file xsh_dfs.h.

#define XSH_DET_LIN_INFO_NIR   "DET_LIN_INFO_NIR"

Definition at line 308 of file xsh_dfs.h.

#define XSH_DET_LIN_INFO_UVB   "DET_LIN_INFO_UVB"

Definition at line 306 of file xsh_dfs.h.

#define XSH_DET_LIN_INFO_VIS   "DET_LIN_INFO_VIS"

Definition at line 307 of file xsh_dfs.h.

#define XSH_DIFF_FLAT_NIR   "DIFF_FLAT_NIR"

Definition at line 357 of file xsh_dfs.h.

#define XSH_DIFF_FLAT_UVB   "DIFF_FLAT_UVB"

Definition at line 355 of file xsh_dfs.h.

#define XSH_DIFF_FLAT_VIS   "DIFF_FLAT_VIS"

Definition at line 356 of file xsh_dfs.h.

#define XSH_DISP_TAB   "DISP_TAB"

Definition at line 866 of file xsh_dfs.h.

Referenced by xsh_2dmap(), xsh_find_disp_tab(), and xsh_wavemap_list_save_poly().

#define XSH_DISP_TAB_AFC   "DISP_TAB_AFC"
#define XSH_DISP_TAB_AFC_NIR   "DISP_TAB_AFC_NIR"

Definition at line 874 of file xsh_dfs.h.

#define XSH_DISP_TAB_AFC_UVB   "DISP_TAB_AFC_UVB"

Definition at line 872 of file xsh_dfs.h.

#define XSH_DISP_TAB_AFC_VIS   "DISP_TAB_AFC_VIS"

Definition at line 873 of file xsh_dfs.h.

#define XSH_DISP_TAB_NIR   "DISP_TAB_NIR"

Definition at line 869 of file xsh_dfs.h.

#define XSH_DISP_TAB_UVB   "DISP_TAB_UVB"

Definition at line 867 of file xsh_dfs.h.

#define XSH_DISP_TAB_VIS   "DISP_TAB_VIS"

Definition at line 868 of file xsh_dfs.h.

#define XSH_DRS   "DRS"

Definition at line 117 of file xsh_dfs.h.

#define XSH_DRS_MBIAS   "DRS_MBIAS"

Definition at line 107 of file xsh_dfs.h.

#define XSH_DRS_MBIAS_NIR   "DRS_MBIAS_NIR"

Definition at line 110 of file xsh_dfs.h.

#define XSH_DRS_MBIAS_UVB   "DRS_MBIAS_UVB"

Definition at line 108 of file xsh_dfs.h.

#define XSH_DRS_MBIAS_VIS   "DRS_MBIAS_VIS"

Definition at line 109 of file xsh_dfs.h.

#define XSH_DRS_MDARK   "DRS_MDARK"

Definition at line 112 of file xsh_dfs.h.

#define XSH_DRS_MDARK_NIR   "DRS_MDARK_NIR"

Definition at line 115 of file xsh_dfs.h.

#define XSH_DRS_MDARK_UVB   "DRS_MDARK_UVB"

Definition at line 113 of file xsh_dfs.h.

#define XSH_DRS_MDARK_VIS   "DRS_MDARK_VIS"

Definition at line 114 of file xsh_dfs.h.

#define XSH_DRS_NIR   "DRS_NIR"

Definition at line 120 of file xsh_dfs.h.

#define XSH_DRS_UVB   "DRS_UVB"

Definition at line 118 of file xsh_dfs.h.

#define XSH_DRS_VIS   "DRS_VIS"

Definition at line 119 of file xsh_dfs.h.

#define XSH_EFFICIENCY   "EFFICIENCY"

Definition at line 206 of file xsh_dfs.h.

Referenced by xsh_util_efficiency().

#define XSH_EXTCOEFF_TAB   "EXTCOEFF_TABLE"

Definition at line 261 of file xsh_dfs.h.

Referenced by xsh_util_efficiency2d().

#define XSH_EXTCOEFF_TAB_NIR   "EXTCOEFF_TABLE_NIR"

Definition at line 264 of file xsh_dfs.h.

#define XSH_EXTCOEFF_TAB_UVB   "EXTCOEFF_TABLE_UVB"

Definition at line 262 of file xsh_dfs.h.

#define XSH_EXTCOEFF_TAB_VIS   "EXTCOEFF_TABLE_VIS"

Definition at line 263 of file xsh_dfs.h.

#define XSH_FLAT   "FLAT"

Definition at line 211 of file xsh_dfs.h.

Referenced by xsh_mflat(), xsh_mflat_combine_flats(), and xsh_prepare().

#define XSH_FLAT_D2_IFU_UVB   "FLAT_D2_IFU_UVB"

Definition at line 400 of file xsh_dfs.h.

#define XSH_FLAT_D2_IFU_UVB   "FLAT_D2_IFU_UVB"

Definition at line 400 of file xsh_dfs.h.

#define XSH_FLAT_D2_SLIT_UVB   "FLAT_D2_SLIT_UVB"

Definition at line 395 of file xsh_dfs.h.

#define XSH_FLAT_D2_SLIT_UVB   "FLAT_D2_SLIT_UVB"

Definition at line 395 of file xsh_dfs.h.

#define XSH_FLAT_IFU_NIR   "FLAT_IFU_NIR_ON"

Definition at line 402 of file xsh_dfs.h.

#define XSH_FLAT_IFU_NIR   "FLAT_IFU_NIR_ON"

Definition at line 402 of file xsh_dfs.h.

#define XSH_FLAT_IFU_OFF   "FLAT_IFU_NIR_OFF"

Definition at line 403 of file xsh_dfs.h.

#define XSH_FLAT_IFU_OFF   "FLAT_IFU_NIR_OFF"

Definition at line 403 of file xsh_dfs.h.

#define XSH_FLAT_IFU_VIS   "FLAT_IFU_VIS"

Definition at line 401 of file xsh_dfs.h.

#define XSH_FLAT_IFU_VIS   "FLAT_IFU_VIS"

Definition at line 401 of file xsh_dfs.h.

#define XSH_FLAT_QTH_IFU_UVB   "FLAT_QTH_IFU_UVB"

Definition at line 399 of file xsh_dfs.h.

#define XSH_FLAT_QTH_IFU_UVB   "FLAT_QTH_IFU_UVB"

Definition at line 399 of file xsh_dfs.h.

#define XSH_FLAT_QTH_SLIT_UVB   "FLAT_QTH_SLIT_UVB"

Definition at line 394 of file xsh_dfs.h.

#define XSH_FLAT_QTH_SLIT_UVB   "FLAT_QTH_SLIT_UVB"

Definition at line 394 of file xsh_dfs.h.

#define XSH_FLAT_REMOVE_CRH   "FLAT_REMOVE_CRH"

Definition at line 160 of file xsh_dfs.h.

#define XSH_FLAT_REMOVE_CRH_NIR   "FLAT_REMOVE_CRH_NIR"

Definition at line 163 of file xsh_dfs.h.

#define XSH_FLAT_REMOVE_CRH_UVB   "FLAT_REMOVE_CRH_UVB"

Definition at line 161 of file xsh_dfs.h.

#define XSH_FLAT_REMOVE_CRH_VIS   "FLAT_REMOVE_CRH_VIS"

Definition at line 162 of file xsh_dfs.h.

#define XSH_FLAT_SLIT_NIR   "FLAT_SLIT_NIR_ON"

Definition at line 397 of file xsh_dfs.h.

#define XSH_FLAT_SLIT_NIR   "FLAT_SLIT_NIR_ON"

Definition at line 397 of file xsh_dfs.h.

#define XSH_FLAT_SLIT_OFF   "FLAT_SLIT_NIR_OFF"

Definition at line 398 of file xsh_dfs.h.

#define XSH_FLAT_SLIT_OFF   "FLAT_SLIT_NIR_OFF"

Definition at line 398 of file xsh_dfs.h.

#define XSH_FLAT_SLIT_VIS   "FLAT_SLIT_VIS"

Definition at line 396 of file xsh_dfs.h.

#define XSH_FLAT_SLIT_VIS   "FLAT_SLIT_VIS"

Definition at line 396 of file xsh_dfs.h.

#define XSH_FLEX_NIR   "FLEX_NIR"

Definition at line 419 of file xsh_dfs.h.

#define XSH_FLEX_UVB   "FLEX_UVB"

Definition at line 417 of file xsh_dfs.h.

#define XSH_FLEX_VIS   "FLEX_VIS"

Definition at line 418 of file xsh_dfs.h.

#define XSH_FLUX_MERGE1D   "FLUX_MERGE1D"

Definition at line 988 of file xsh_dfs.h.

Referenced by xsh_merge_ord_slitlet().

#define XSH_FLUX_MERGE1D_NIR   "FLUX_MERGE1D_NIR"

Definition at line 989 of file xsh_dfs.h.

#define XSH_FLUX_MERGE1D_UVB   "FLUX_MERGE1D_UVB"

Definition at line 990 of file xsh_dfs.h.

#define XSH_FLUX_MERGE1D_VIS   "FLUX_MERGE1D_VIS"

Definition at line 991 of file xsh_dfs.h.

#define XSH_FLUX_MERGE2D   "FLUX_MERGE2D"

Definition at line 993 of file xsh_dfs.h.

Referenced by xsh_merge_ord_slitlet().

#define XSH_FLUX_MERGE2D_NIR   "FLUX_MERGE2D_NIR"

Definition at line 994 of file xsh_dfs.h.

#define XSH_FLUX_MERGE2D_UVB   "FLUX_MERGE2D_UVB"

Definition at line 995 of file xsh_dfs.h.

#define XSH_FLUX_MERGE2D_VIS   "FLUX_MERGE2D_VIS"

Definition at line 996 of file xsh_dfs.h.

#define XSH_FLUX_MOXT1D   "FLUX_MOXT1D"

Definition at line 1021 of file xsh_dfs.h.

Referenced by xsh_merge_ord_slitlet().

#define XSH_FLUX_MOXT1D_NIR   "FLUX_MOXT1D_NIR"

Definition at line 1022 of file xsh_dfs.h.

#define XSH_FLUX_MOXT1D_UVB   "FLUX_MOXT1D_UVB"

Definition at line 1023 of file xsh_dfs.h.

#define XSH_FLUX_MOXT1D_VIS   "FLUX_MOXT1D_VIS"

Definition at line 1024 of file xsh_dfs.h.

#define XSH_FLUX_OFFSET   "STD_FLUX_OFFSET"

Definition at line 216 of file xsh_dfs.h.

#define XSH_FLUX_ORDER1D   "FLUX_ORDER1D"

Definition at line 972 of file xsh_dfs.h.

Referenced by xsh_flux_calibrate1D(), and xsh_merge_ord_slitlet().

#define XSH_FLUX_ORDER1D_NIR   "FLUX_ORDER1D_NIR"

Definition at line 973 of file xsh_dfs.h.

#define XSH_FLUX_ORDER1D_UVB   "FLUX_ORDER1D_UVB"

Definition at line 974 of file xsh_dfs.h.

#define XSH_FLUX_ORDER1D_VIS   "FLUX_ORDER1D_VIS"

Definition at line 975 of file xsh_dfs.h.

#define XSH_FLUX_ORDER2D   "FLUX_ORDER2D"

Definition at line 983 of file xsh_dfs.h.

Referenced by xsh_flux_calibrate2D(), and xsh_merge_ord_slitlet().

#define XSH_FLUX_ORDER2D_NIR   "FLUX_ORDER2D_NIR"

Definition at line 984 of file xsh_dfs.h.

#define XSH_FLUX_ORDER2D_UVB   "FLUX_ORDER2D_UVB"

Definition at line 985 of file xsh_dfs.h.

#define XSH_FLUX_ORDER2D_VIS   "FLUX_ORDER2D_VIS"

Definition at line 986 of file xsh_dfs.h.

#define XSH_FLUX_OXT1D   "FLUX_OXT1D"

Definition at line 978 of file xsh_dfs.h.

Referenced by xsh_flux_calibrate1D(), and xsh_merge_ord_slitlet().

#define XSH_FLUX_OXT1D_NIR   "FLUX_OXT1D_NIR"

Definition at line 979 of file xsh_dfs.h.

#define XSH_FLUX_OXT1D_UVB   "FLUX_OXT1D_UVB"

Definition at line 980 of file xsh_dfs.h.

#define XSH_FLUX_OXT1D_VIS   "FLUX_OXT1D_VIS"

Definition at line 981 of file xsh_dfs.h.

#define XSH_FLUX_STD_CAT   "FLUX_STD_CATALOG"
#define XSH_FLUX_STD_CAT_NIR   "FLUX_STD_CATALOG_NIR"

Definition at line 259 of file xsh_dfs.h.

#define XSH_FLUX_STD_CAT_UVB   "FLUX_STD_CATALOG_UVB"

Definition at line 257 of file xsh_dfs.h.

#define XSH_FLUX_STD_CAT_VIS   "FLUX_STD_CATALOG_VIS"

Definition at line 258 of file xsh_dfs.h.

#define XSH_FLUX_STD_TAB   "FLUX_STD_TABLE"

Definition at line 250 of file xsh_dfs.h.

Referenced by xsh_load_ref_table(), and xsh_util_efficiency2d().

#define XSH_FLUX_STD_TAB_NIR   "FLUX_STD_TABLE_NIR"

Definition at line 253 of file xsh_dfs.h.

#define XSH_FLUX_STD_TAB_UVB   "FLUX_STD_TABLE_UVB"

Definition at line 251 of file xsh_dfs.h.

#define XSH_FLUX_STD_TAB_VIS   "FLUX_STD_TABLE_VIS"

Definition at line 252 of file xsh_dfs.h.

#define XSH_FMTCHK   "FMTCHK"

Definition at line 210 of file xsh_dfs.h.

Referenced by xsh_cfg_recover_driver(), xsh_cfg_recover_last_step(), and xsh_predict().

#define XSH_FMTCHK_NIR   "FMTCHK_NIR_ON"

Definition at line 385 of file xsh_dfs.h.

Referenced by xsh_cfg_recover_last_step().

#define XSH_FMTCHK_OFF   "FMTCHK_NIR_OFF"

Definition at line 386 of file xsh_dfs.h.

Referenced by xsh_cfg_recover_last_step().

#define XSH_FMTCHK_UVB   "FMTCHK_UVB"

Definition at line 383 of file xsh_dfs.h.

#define XSH_FMTCHK_VIS   "FMTCHK_VIS"

Definition at line 384 of file xsh_dfs.h.

#define XSH_GAIN   "GAIN_INFO"

Definition at line 245 of file xsh_dfs.h.

Referenced by xsh_gain().

#define XSH_GAIN_INFO_NIR   "GAIN_INFO_NIR"

Definition at line 312 of file xsh_dfs.h.

#define XSH_GAIN_INFO_UVB   "GAIN_INFO_UVB"

Definition at line 310 of file xsh_dfs.h.

#define XSH_GAIN_INFO_VIS   "GAIN_INFO_VIS"

Definition at line 311 of file xsh_dfs.h.

#define XSH_GAIN_NIR   "GAIN_INFO_NIR"

Definition at line 248 of file xsh_dfs.h.

#define XSH_GAIN_UVB   "GAIN_INFO_UVB"

Definition at line 246 of file xsh_dfs.h.

#define XSH_GAIN_VIS   "GAIN_INFO_VIS"

Definition at line 247 of file xsh_dfs.h.

#define XSH_GET_TAG_FROM_ARM ( TAG,
instr   ) 
Value:
(xsh_instrument_get_arm(instr)) == XSH_ARM_UVB ? TAG##_UVB : \
  (xsh_instrument_get_arm(instr)) == XSH_ARM_VIS ? TAG##_VIS :    \
  (xsh_instrument_get_arm(instr)) == XSH_ARM_NIR ? TAG##_NIR : "??TAG??"

Definition at line 1504 of file xsh_dfs.h.

Referenced by create_rectify_nod_list(), main(), xsh_absorp(), xsh_cfg_recover_extend_xy_pos_frm(), xsh_cfg_recover_gen_xyg_frame(), xsh_cfg_recover_model_THE_create(), xsh_compute_flat_edges(), xsh_compute_linearity(), xsh_compute_noise_map(), xsh_compute_qc_on_master_bias(), xsh_create_map(), xsh_create_master_dark(), xsh_create_master_dark_bpmap(), xsh_create_order_table(), xsh_create_poly_wavemap(), xsh_cube(), xsh_detect_arclines(), xsh_detect_arclines_dan(), xsh_detect_continuum(), xsh_ensure_raws_input_offset_recipe_is_proper(), xsh_extract(), xsh_extract_clean(), xsh_extract_ifu(), xsh_extract_obj_and_sky_pairs(), xsh_find_arc_line_list(), xsh_find_arc_line_list_clean(), xsh_find_disp_tab(), xsh_find_master_bias(), xsh_find_master_dark(), xsh_find_model_config(), xsh_find_model_config_tab(), xsh_find_offset_tab_ifu(), xsh_find_order_tab_centr(), xsh_find_order_tab_guess(), xsh_find_order_tab_recov(), xsh_find_slitmap(), xsh_find_theo_tab_mode(), xsh_find_theo_tab_mult(), xsh_find_theo_tab_sing(), xsh_find_usr_lines_guess_tab(), xsh_find_wave_tab(), xsh_find_wave_tab_2d(), xsh_find_wave_tab_guess(), xsh_find_wave_tab_ifu(), xsh_find_wavemap(), xsh_flexcomp(), xsh_flexcor(), xsh_follow_arclines(), xsh_follow_arclines_ifu(), xsh_format(), xsh_gain(), xsh_geom_ifu(), xsh_get_crh_frame(), xsh_get_master_dark_nir_via_noise(), xsh_ifu_wavetab_create(), xsh_image_get_hot_cold_pixs(), xsh_localization_save(), xsh_mbias(), xsh_merge_ord_slitlet(), xsh_opt_extract_orders(), xsh_order_table_from_fmtchk(), xsh_phys_spectrum_save(), xsh_rectify(), xsh_rectify_and_shift(), xsh_rectify_orders_ifu(), xsh_remove_cosmics(), xsh_respon_slit_nod(), xsh_scired_ifu_stare(), xsh_scired_slit_nod(), xsh_scired_slit_stare(), xsh_slice_offset_save(), xsh_util_afc(), xsh_util_bpmap_nl_raw2pre(), xsh_util_crh_single(), xsh_util_model_SPF_create(), xsh_util_physmod(), xsh_util_physmod_model_THE_create(), and xsh_wavemap_list_save_poly().

#define XSH_GET_TAG_FROM_LAMP ( TAG,
instr   ) 
Value:
( (xsh_instrument_get_arm(instr)) == XSH_ARM_UVB && \
   (xsh_instrument_get_mode(instr) == XSH_MODE_SLIT) && \
   (xsh_instrument_get_lamp(instr) == XSH_LAMP_UNDEFINED)) ? TAG##_SLIT##_UVB : \
 ( (xsh_instrument_get_arm(instr)) == XSH_ARM_UVB && \
   (xsh_instrument_get_mode(instr) == XSH_MODE_SLIT) && \
   (xsh_instrument_get_lamp(instr) == XSH_LAMP_QTH)) ? TAG##_QTH_SLIT##_UVB : \
 ( (xsh_instrument_get_arm(instr)) == XSH_ARM_UVB && \
   (xsh_instrument_get_mode(instr) == XSH_MODE_SLIT) && \
   (xsh_instrument_get_lamp(instr) == XSH_LAMP_D2)) ? TAG##_D2_SLIT##_UVB : \
 ( (xsh_instrument_get_arm(instr)) == XSH_ARM_VIS && \
   (xsh_instrument_get_mode(instr) == XSH_MODE_SLIT) && \
   (xsh_instrument_get_lamp(instr) == XSH_LAMP_UNDEFINED)) ? TAG##_SLIT##_VIS : \
 ( (xsh_instrument_get_arm(instr)) == XSH_ARM_NIR && \
   (xsh_instrument_get_mode(instr) == XSH_MODE_SLIT) && \
   (xsh_instrument_get_lamp(instr) == XSH_LAMP_UNDEFINED)) ? TAG##_SLIT##_NIR : \
 ( (xsh_instrument_get_arm(instr)) == XSH_ARM_UVB && \
   (xsh_instrument_get_mode(instr) == XSH_MODE_IFU) && \
   (xsh_instrument_get_lamp(instr) == XSH_LAMP_UNDEFINED)) ? TAG##_IFU##_UVB : \
 ( (xsh_instrument_get_arm(instr)) == XSH_ARM_UVB && \
   (xsh_instrument_get_mode(instr) == XSH_MODE_IFU) && \
   (xsh_instrument_get_lamp(instr) == XSH_LAMP_QTH)) ? TAG##_QTH_IFU##_UVB : \
 ( (xsh_instrument_get_arm(instr)) == XSH_ARM_UVB && \
   (xsh_instrument_get_mode(instr) == XSH_MODE_IFU) && \
   (xsh_instrument_get_lamp(instr) == XSH_LAMP_D2)) ? TAG##_D2_IFU##_UVB : \
 ( (xsh_instrument_get_arm(instr)) == XSH_ARM_VIS && \
   (xsh_instrument_get_mode(instr) == XSH_MODE_IFU) && \
   (xsh_instrument_get_lamp(instr) == XSH_LAMP_UNDEFINED))? TAG##_IFU##_VIS : \
 ( (xsh_instrument_get_arm(instr)) == XSH_ARM_NIR && \
   (xsh_instrument_get_mode(instr) == XSH_MODE_IFU) && \
   (xsh_instrument_get_lamp(instr) == XSH_LAMP_UNDEFINED))? TAG##_IFU##_NIR : "??TAG??"

Definition at line 1558 of file xsh_dfs.h.

Referenced by main(), xsh_create_master_flat(), xsh_create_master_flat_with_mask(), xsh_detect_order_edge(), xsh_find_order_tab_edges(), xsh_flat_merge_qth_d2(), xsh_flat_merge_qth_d2_smooth(), and xsh_flat_merge_qth_d2_tabs().

#define XSH_GET_TAG_FROM_MODE ( TAG,
instr   ) 
Value:
( (xsh_instrument_get_arm(instr)) == XSH_ARM_UVB && \
   (xsh_instrument_get_mode(instr) == XSH_MODE_SLIT)) ? TAG##_SLIT##_UVB : \
 ( (xsh_instrument_get_arm(instr)) == XSH_ARM_VIS && \
   (xsh_instrument_get_mode(instr) == XSH_MODE_SLIT)) ? TAG##_SLIT##_VIS : \
 ( (xsh_instrument_get_arm(instr)) == XSH_ARM_NIR && \
   (xsh_instrument_get_mode(instr) == XSH_MODE_SLIT)) ? TAG##_SLIT##_NIR : \
 ( (xsh_instrument_get_arm(instr)) == XSH_ARM_UVB && \
   (xsh_instrument_get_mode(instr) == XSH_MODE_IFU)) ? TAG##_IFU##_UVB : \
 ( (xsh_instrument_get_arm(instr)) == XSH_ARM_VIS && \
   (xsh_instrument_get_mode(instr) == XSH_MODE_IFU)) ? TAG##_IFU##_VIS : \
 ( (xsh_instrument_get_arm(instr)) == XSH_ARM_NIR && \
   (xsh_instrument_get_mode(instr) == XSH_MODE_IFU)) ? TAG##_IFU##_NIR : "??TAG??"

Definition at line 1544 of file xsh_dfs.h.

Referenced by xsh_find_master_flat(), xsh_find_order_tab_edges(), xsh_find_wave_tab(), xsh_flexcor(), xsh_frameset_uniform_bin(), xsh_linetilt_list_save(), xsh_scired_slit_nod_get_calibs(), and xsh_slit_stare_get_calibs().

#define XSH_GET_TAG_FROM_SLITLET ( TAG,
slitlet,
instr   ) 

Definition at line 1509 of file xsh_dfs.h.

Referenced by xsh_merge_ord_slitlet().

#define XSH_GUESS_LINES_POS   "GUESS_LINES_POS"

Definition at line 359 of file xsh_dfs.h.

Referenced by xsh_find_usr_lines_guess_tab().

#define XSH_GUESS_LINES_POS_NIR   "GUESS_LINES_POS_NIR"

Definition at line 362 of file xsh_dfs.h.

#define XSH_GUESS_LINES_POS_UVB   "GUESS_LINES_POS_UVB"

Definition at line 360 of file xsh_dfs.h.

#define XSH_GUESS_LINES_POS_VIS   "GUESS_LINES_POS_VIS"

Definition at line 361 of file xsh_dfs.h.

#define XSH_HIGH_ABS_WIN   "HIGH_ABS_WIN"
#define XSH_HIGH_ABS_WIN_NIR   "HIGH_ABS_WIN_NIR"

Definition at line 168 of file xsh_dfs.h.

#define XSH_HIGH_ABS_WIN_UVB   "HIGH_ABS_WIN_UVB"

Definition at line 166 of file xsh_dfs.h.

#define XSH_HIGH_ABS_WIN_VIS   "HIGH_ABS_WIN_VIS"

Definition at line 167 of file xsh_dfs.h.

#define XSH_HPIX_MAP   "HPIX_MAP"

Definition at line 274 of file xsh_dfs.h.

#define XSH_HPIX_MAP_NIR   "HPIX_MAP_NIR"

Definition at line 277 of file xsh_dfs.h.

#define XSH_HPIX_MAP_UVB   "HPIX_MAP_UVB"

Definition at line 275 of file xsh_dfs.h.

#define XSH_HPIX_MAP_VIS   "HPIX_MAP_VIS"

Definition at line 276 of file xsh_dfs.h.

#define XSH_IFU_CFG_COR   "IFU_CFG_COR"

Definition at line 52 of file xsh_dfs.h.

Referenced by xsh_scired_ifu_offset(), and xsh_scired_ifu_stare().

#define XSH_IFU_CFG_COR_NIR   "IFU_CFG_COR_NIR"

Definition at line 55 of file xsh_dfs.h.

#define XSH_IFU_CFG_COR_UVB   "IFU_CFG_COR_UVB"

Definition at line 53 of file xsh_dfs.h.

#define XSH_IFU_CFG_COR_VIS   "IFU_CFG_COR_VIS"

Definition at line 54 of file xsh_dfs.h.

#define XSH_IFU_CFG_TAB   "IFU_CFG_TAB"

Definition at line 47 of file xsh_dfs.h.

Referenced by xsh_scired_ifu_offset(), xsh_scired_ifu_stare(), and xsh_util_ifu_build_cube().

#define XSH_IFU_CFG_TAB_NIR   "IFU_CFG_TAB_NIR"

Definition at line 50 of file xsh_dfs.h.

#define XSH_IFU_CFG_TAB_UVB   "IFU_CFG_TAB_UVB"

Definition at line 48 of file xsh_dfs.h.

#define XSH_IFU_CFG_TAB_VIS   "IFU_CFG_TAB_VIS"

Definition at line 49 of file xsh_dfs.h.

#define XSH_IFU_DETECT_IFU_TRACE   "IFU_DETECT_IFU_TRACE"

Definition at line 130 of file xsh_dfs.h.

#define XSH_IFU_DETECT_IFU_TRACE_NIR   "IFU_DETECT_IFU_TRACE_NIR"

Definition at line 133 of file xsh_dfs.h.

#define XSH_IFU_DETECT_IFU_TRACE_UVB   "IFU_DETECT_IFU_TRACE_UVB"

Definition at line 131 of file xsh_dfs.h.

#define XSH_IFU_DETECT_IFU_TRACE_VIS   "IFU_DETECT_IFU_TRACE_VIS"

Definition at line 132 of file xsh_dfs.h.

#define XSH_IFU_MAP   "IFU_MAP"

Definition at line 881 of file xsh_dfs.h.

Referenced by xsh_find_slitmap().

#define XSH_IFU_MAP_NIR   "IFU_MAP_NIR"

Definition at line 884 of file xsh_dfs.h.

#define XSH_IFU_MAP_SKY   "IFU_MAP_SKY"

Definition at line 57 of file xsh_dfs.h.

Referenced by xsh_build_ifu_map().

#define XSH_IFU_MAP_SKY_NIR   "IFU_MAP_SKY_NIR"

Definition at line 60 of file xsh_dfs.h.

#define XSH_IFU_MAP_SKY_UVB   "IFU_MAP_SKY_UVB"

Definition at line 58 of file xsh_dfs.h.

#define XSH_IFU_MAP_SKY_VIS   "IFU_MAP_SKY_VIS"

Definition at line 59 of file xsh_dfs.h.

#define XSH_IFU_MAP_UVB   "IFU_MAP_UVB"

Definition at line 882 of file xsh_dfs.h.

#define XSH_IFU_MAP_VIS   "IFU_MAP_VIS"

Definition at line 883 of file xsh_dfs.h.

#define XSH_IFU_STARE_REMOVE_CRH   "IFU_STARE_REMOVE_CRH"

Definition at line 150 of file xsh_dfs.h.

#define XSH_IFU_STARE_REMOVE_CRH_NIR   "IFU_STARE_REMOVE_CRH_NIR"

Definition at line 153 of file xsh_dfs.h.

#define XSH_IFU_STARE_REMOVE_CRH_UVB   "IFU_STARE_REMOVE_CRH_UVB"

Definition at line 151 of file xsh_dfs.h.

#define XSH_IFU_STARE_REMOVE_CRH_VIS   "IFU_STARE_REMOVE_CRH_VIS"

Definition at line 152 of file xsh_dfs.h.

#define XSH_IMA   "IMA"
#define XSH_IMA_NIR   "IMA_NIR"

Definition at line 228 of file xsh_dfs.h.

#define XSH_IMA_UVB   "IMA_UVB"

Definition at line 226 of file xsh_dfs.h.

#define XSH_IMA_VIS   "IMA_VIS"

Definition at line 227 of file xsh_dfs.h.

#define XSH_IS_CALIB ( tag   ) 

Definition at line 1340 of file xsh_dfs.h.

Referenced by xsh_dfs_set_groups().

#define XSH_IS_RAW ( tag   ) 

Definition at line 1268 of file xsh_dfs.h.

Referenced by xsh_dfs_set_groups().

#define XSH_LINEARITY   "LINEARITY"

Definition at line 121 of file xsh_dfs.h.

Referenced by xsh_linear().

#define XSH_LINEARITY_NIR   "LINEARITY_NIR"

Definition at line 366 of file xsh_dfs.h.

Referenced by xsh_subtract_on_off().

#define XSH_LINEARITY_NIR_OFF   "LINEARITY_NIR_OFF"

Definition at line 372 of file xsh_dfs.h.

Referenced by xsh_lingain().

#define XSH_LINEARITY_NIR_ON   "LINEARITY_NIR_ON"

Definition at line 371 of file xsh_dfs.h.

Referenced by xsh_lingain().

#define XSH_LINEARITY_UVB   "LINEARITY_UVB"

Definition at line 364 of file xsh_dfs.h.

Referenced by main(), and xsh_pre_create().

#define XSH_LINEARITY_UVB_OFF   "LINEARITY_UVB_OFF"

Definition at line 368 of file xsh_dfs.h.

Referenced by xsh_lingain().

#define XSH_LINEARITY_UVB_ON   "LINEARITY_UVB_ON"

Definition at line 367 of file xsh_dfs.h.

Referenced by xsh_lingain().

#define XSH_LINEARITY_VIS   "LINEARITY_VIS"

Definition at line 365 of file xsh_dfs.h.

Referenced by xsh_pre_create().

#define XSH_LINEARITY_VIS_OFF   "LINEARITY_VIS_OFF"

Definition at line 370 of file xsh_dfs.h.

Referenced by xsh_lingain().

#define XSH_LINEARITY_VIS_ON   "LINEARITY_VIS_ON"

Definition at line 369 of file xsh_dfs.h.

Referenced by xsh_lingain().

#define XSH_LINGAIN   "LINGAIN"

Definition at line 123 of file xsh_dfs.h.

#define XSH_LINGAIN_NIR   "LINGAIN_NIR"

Definition at line 126 of file xsh_dfs.h.

#define XSH_LINGAIN_UVB   "LINGAIN_UVB"

Definition at line 124 of file xsh_dfs.h.

#define XSH_LINGAIN_VIS   "LINGAIN_VIS"

Definition at line 125 of file xsh_dfs.h.

#define XSH_LOCALIZATION   "LOC_TABLE"

Definition at line 579 of file xsh_dfs.h.

Referenced by main(), and xsh_localization_save().

#define XSH_LOCALIZATION_NIR   "LOC_TABLE_NIR"

Definition at line 1081 of file xsh_dfs.h.

#define XSH_LOCALIZATION_UVB   "LOC_TABLE_UVB"

Definition at line 1080 of file xsh_dfs.h.

#define XSH_LOCALIZATION_VIS   "LOC_TABLE_VIS"

Definition at line 1079 of file xsh_dfs.h.

#define XSH_MASTER_BIAS   "MASTER_BIAS"
#define XSH_MASTER_BIAS_NIR   "??TAG??"

Definition at line 653 of file xsh_dfs.h.

#define XSH_MASTER_BIAS_UVB   "MASTER_BIAS_UVB"

Definition at line 651 of file xsh_dfs.h.

Referenced by main().

#define XSH_MASTER_BIAS_VIS   "MASTER_BIAS_VIS"

Definition at line 652 of file xsh_dfs.h.

#define XSH_MASTER_BP_MAP   "MASTER_BP_MAP"
#define XSH_MASTER_BP_MAP_BIAS   "MASTER_BP_MAP_BIAS"

Definition at line 634 of file xsh_dfs.h.

Referenced by xsh_util_bpmap_coadd().

#define XSH_MASTER_BP_MAP_BIAS_NIR   "MASTER_BP_MAP_BIAS_NIR"

Definition at line 637 of file xsh_dfs.h.

#define XSH_MASTER_BP_MAP_BIAS_UVB   "MASTER_BP_MAP_BIAS_UVB"

Definition at line 635 of file xsh_dfs.h.

#define XSH_MASTER_BP_MAP_BIAS_VIS   "MASTER_BP_MAP_BIAS_VIS"

Definition at line 636 of file xsh_dfs.h.

#define XSH_MASTER_BP_MAP_DARK   "MASTER_BP_MAP_DARK"

Definition at line 639 of file xsh_dfs.h.

Referenced by xsh_create_master_dark_bpmap(), and xsh_util_bpmap_coadd().

#define XSH_MASTER_BP_MAP_DARK_NIR   "MASTER_BP_MAP_DARK_NIR"

Definition at line 642 of file xsh_dfs.h.

#define XSH_MASTER_BP_MAP_DARK_UVB   "MASTER_BP_MAP_DARK_UVB"

Definition at line 640 of file xsh_dfs.h.

#define XSH_MASTER_BP_MAP_DARK_VIS   "MASTER_BP_MAP_DARK_VIS"

Definition at line 641 of file xsh_dfs.h.

#define XSH_MASTER_BP_MAP_FLAT   "MASTER_BP_MAP_FLAT"

Definition at line 644 of file xsh_dfs.h.

Referenced by xsh_badpixelmap_crea_master_from_bpmap(), and xsh_util_bpmap_coadd().

#define XSH_MASTER_BP_MAP_FLAT_NIR   "MASTER_BP_MAP_FLAT_NIR"

Definition at line 647 of file xsh_dfs.h.

#define XSH_MASTER_BP_MAP_FLAT_UVB   "MASTER_BP_MAP_FLAT_UVB"

Definition at line 645 of file xsh_dfs.h.

#define XSH_MASTER_BP_MAP_FLAT_VIS   "MASTER_BP_MAP_FLAT_VIS"

Definition at line 646 of file xsh_dfs.h.

#define XSH_MASTER_BP_MAP_NIR   "MASTER_BP_MAP_NIR"

Definition at line 625 of file xsh_dfs.h.

#define XSH_MASTER_BP_MAP_NLIN   "MASTER_BP_MAP_NLIN"

Definition at line 629 of file xsh_dfs.h.

Referenced by xsh_util_bpmap_coadd().

#define XSH_MASTER_BP_MAP_NLIN_NIR   "MASTER_BP_MAP_NLIN_NIR"

Definition at line 632 of file xsh_dfs.h.

#define XSH_MASTER_BP_MAP_NLIN_UVB   "MASTER_BP_MAP_NLIN_UVB"

Definition at line 630 of file xsh_dfs.h.

#define XSH_MASTER_BP_MAP_NLIN_VIS   "MASTER_BP_MAP_NLIN_VIS"

Definition at line 631 of file xsh_dfs.h.

#define XSH_MASTER_BP_MAP_UVB   "MASTER_BP_MAP_UVB"

Definition at line 623 of file xsh_dfs.h.

#define XSH_MASTER_BP_MAP_VIS   "MASTER_BP_MAP_VIS"

Definition at line 624 of file xsh_dfs.h.

#define XSH_MASTER_DARK   "MASTER_DARK"
#define XSH_MASTER_DARK_NIR   "MASTER_DARK_NIR"

Definition at line 656 of file xsh_dfs.h.

#define XSH_MASTER_DARK_UVB   "MASTER_DARK_UVB"

Definition at line 654 of file xsh_dfs.h.

#define XSH_MASTER_DARK_VIS   "MASTER_DARK_VIS"

Definition at line 655 of file xsh_dfs.h.

#define XSH_MASTER_FLAT   "MASTER_FLAT"
#define XSH_MASTER_FLAT_D2_IFU_NIR   "MASTER_FLAT_D2_IFU_NIR"

Definition at line 856 of file xsh_dfs.h.

#define XSH_MASTER_FLAT_D2_IFU_UVB   "MASTER_FLAT_D2_IFU_UVB"

Definition at line 854 of file xsh_dfs.h.

#define XSH_MASTER_FLAT_D2_IFU_VIS   "MASTER_FLAT_D2_IFU_VIS"

Definition at line 855 of file xsh_dfs.h.

#define XSH_MASTER_FLAT_D2_SLIT_NIR   "MASTER_FLAT_D2_SLIT_NIR"

Definition at line 853 of file xsh_dfs.h.

#define XSH_MASTER_FLAT_D2_SLIT_UVB   "MASTER_FLAT_D2_SLIT_UVB"

Definition at line 851 of file xsh_dfs.h.

#define XSH_MASTER_FLAT_D2_SLIT_VIS   "MASTER_FLAT_D2_SLIT_VIS"

Definition at line 852 of file xsh_dfs.h.

#define XSH_MASTER_FLAT_IFU_NIR   "MASTER_FLAT_IFU_NIR"

Definition at line 844 of file xsh_dfs.h.

#define XSH_MASTER_FLAT_IFU_UVB   "MASTER_FLAT_IFU_UVB"

Definition at line 842 of file xsh_dfs.h.

#define XSH_MASTER_FLAT_IFU_VIS   "MASTER_FLAT_IFU_VIS"

Definition at line 843 of file xsh_dfs.h.

#define XSH_MASTER_FLAT_QTH_IFU_NIR   "MASTER_FLAT_QTH_IFU_NIR"

Definition at line 850 of file xsh_dfs.h.

#define XSH_MASTER_FLAT_QTH_IFU_UVB   "MASTER_FLAT_QTH_IFU_UVB"

Definition at line 848 of file xsh_dfs.h.

#define XSH_MASTER_FLAT_QTH_IFU_VIS   "MASTER_FLAT_QTH_IFU_VIS"

Definition at line 849 of file xsh_dfs.h.

#define XSH_MASTER_FLAT_QTH_SLIT_NIR   "MASTER_FLAT_QTH_SLIT_NIR"

Definition at line 847 of file xsh_dfs.h.

#define XSH_MASTER_FLAT_QTH_SLIT_UVB   "MASTER_FLAT_QTH_SLIT_UVB"

Definition at line 845 of file xsh_dfs.h.

#define XSH_MASTER_FLAT_QTH_SLIT_VIS   "MASTER_FLAT_QTH_SLIT_VIS"

Definition at line 846 of file xsh_dfs.h.

#define XSH_MASTER_FLAT_SLIT   "MASTER_FLAT_SLIT"
#define XSH_MASTER_FLAT_SLIT_NIR   "MASTER_FLAT_SLIT_NIR"

Definition at line 841 of file xsh_dfs.h.

#define XSH_MASTER_FLAT_SLIT_UVB   "MASTER_FLAT_SLIT_UVB"

Definition at line 839 of file xsh_dfs.h.

#define XSH_MASTER_FLAT_SLIT_VIS   "MASTER_FLAT_SLIT_VIS"

Definition at line 840 of file xsh_dfs.h.

#define XSH_MEASCOORD   "XSH_MEASCOORD"

Definition at line 1236 of file xsh_dfs.h.

Referenced by xsh_find_calpro_model_meas_coord(), and xsh_model_first_anneal().

#define XSH_MEASCOORD_NIR   "XSH_MEASCOORD_NIR"

Definition at line 1239 of file xsh_dfs.h.

#define XSH_MEASCOORD_UVB   "XSH_MEASCOORD_UVB"

Definition at line 1237 of file xsh_dfs.h.

#define XSH_MEASCOORD_VIS   "XSH_MEASCOORD_VIS"

Definition at line 1238 of file xsh_dfs.h.

#define XSH_MEASURE_FLAT_D2_IFU_EDGES_UVB   "MEASURE_FLAT_D2_IFU_EDGES_UVB"

Definition at line 200 of file xsh_dfs.h.

Referenced by xsh_compute_flat_edges().

#define XSH_MEASURE_FLAT_D2_SLIT_EDGES_UVB   "MEASURE_FLAT_D2_SLIT_EDGES_UVB"

Definition at line 193 of file xsh_dfs.h.

Referenced by xsh_compute_flat_edges().

#define XSH_MEASURE_FLAT_IFU_EDGES   "MEASURE_FLAT_IFU_EDGES"

Definition at line 199 of file xsh_dfs.h.

Referenced by xsh_compute_flat_edges().

#define XSH_MEASURE_FLAT_IFU_EDGES_NIR   "MEASURE_FLAT_IFU_EDGES_NIR"

Definition at line 204 of file xsh_dfs.h.

#define XSH_MEASURE_FLAT_IFU_EDGES_UVB   "MEASURE_FLAT_IFU_EDGES_UVB"

Definition at line 202 of file xsh_dfs.h.

#define XSH_MEASURE_FLAT_IFU_EDGES_VIS   "MEASURE_FLAT_IFU_EDGES_VIS"

Definition at line 203 of file xsh_dfs.h.

#define XSH_MEASURE_FLAT_QTH_IFU_EDGES_UVB   "MEASURE_FLAT_QTH_IFU_EDGES_UVB"

Definition at line 201 of file xsh_dfs.h.

Referenced by xsh_compute_flat_edges().

#define XSH_MEASURE_FLAT_QTH_SLIT_EDGES_UVB   "MEASURE_FLAT_QTH_SLIT_EDGES_UVB"

Definition at line 194 of file xsh_dfs.h.

Referenced by xsh_compute_flat_edges().

#define XSH_MEASURE_FLAT_SLIT_EDGES   "MEASURE_FLAT_SLIT_EDGES"

Definition at line 192 of file xsh_dfs.h.

Referenced by xsh_compute_flat_edges().

#define XSH_MEASURE_FLAT_SLIT_EDGES_NIR   "MEASURE_FLAT_SLIT_EDGES_NIR"

Definition at line 197 of file xsh_dfs.h.

#define XSH_MEASURE_FLAT_SLIT_EDGES_UVB   "MEASURE_FLAT_SLIT_EDGES_UVB"

Definition at line 195 of file xsh_dfs.h.

#define XSH_MEASURE_FLAT_SLIT_EDGES_VIS   "MEASURE_FLAT_SLIT_EDGES_VIS"

Definition at line 196 of file xsh_dfs.h.

#define XSH_MEASURE_LINE_POS_XY   "MEASURE_LINE_POS_XY"

Definition at line 1251 of file xsh_dfs.h.

Referenced by xsh_cfg_recover_extend_xy_pos_frm().

#define XSH_MEASURE_LINE_POS_XY_NIR   "MEASURE_LINE_POS_XY_NIR"

Definition at line 1254 of file xsh_dfs.h.

#define XSH_MEASURE_LINE_POS_XY_UVB   "MEASURE_LINE_POS_XY_UVB"

Definition at line 1252 of file xsh_dfs.h.

#define XSH_MEASURE_LINE_POS_XY_VIS   "MEASURE_LINE_POS_XY_VIS"

Definition at line 1253 of file xsh_dfs.h.

#define XSH_MERGE1D   "MERGE1D"

Definition at line 571 of file xsh_dfs.h.

Referenced by xsh_merge_ord_slitlet().

#define XSH_MERGE1D_CEN_IFU_NIR   "MERGE1D_CEN_IFU_NIR"

Definition at line 765 of file xsh_dfs.h.

#define XSH_MERGE1D_CEN_IFU_UVB   "MERGE1D_CEN_IFU_UVB"

Definition at line 755 of file xsh_dfs.h.

#define XSH_MERGE1D_CEN_IFU_VIS   "MERGE1D_CEN_IFU_VIS"

Definition at line 760 of file xsh_dfs.h.

#define XSH_MERGE1D_DOWN_IFU_NIR   "MERGE1D_DOWN_IFU_NIR"

Definition at line 764 of file xsh_dfs.h.

#define XSH_MERGE1D_DOWN_IFU_UVB   "MERGE1D_DOWN_IFU_UVB"

Definition at line 754 of file xsh_dfs.h.

#define XSH_MERGE1D_DOWN_IFU_VIS   "MERGE1D_DOWN_IFU_VIS"

Definition at line 759 of file xsh_dfs.h.

#define XSH_MERGE1D_IFU_NIR   "MERGE1D_IFU_NIR"

Definition at line 763 of file xsh_dfs.h.

#define XSH_MERGE1D_IFU_UVB   "MERGE1D_IFU_UVB"

Definition at line 753 of file xsh_dfs.h.

#define XSH_MERGE1D_IFU_VIS   "MERGE1D_IFU_VIS"

Definition at line 758 of file xsh_dfs.h.

#define XSH_MERGE1D_NIR   "MERGE1D_NIR"

Definition at line 1008 of file xsh_dfs.h.

#define XSH_MERGE1D_UP_IFU_NIR   "MERGE1D_UP_IFU_NIR"

Definition at line 766 of file xsh_dfs.h.

#define XSH_MERGE1D_UP_IFU_UVB   "MERGE1D_UP_IFU_UVB"

Definition at line 756 of file xsh_dfs.h.

#define XSH_MERGE1D_UP_IFU_VIS   "MERGE1D_UP_IFU_VIS"

Definition at line 761 of file xsh_dfs.h.

#define XSH_MERGE1D_UVB   "MERGE1D_UVB"

Definition at line 1009 of file xsh_dfs.h.

#define XSH_MERGE1D_VIS   "MERGE1D_VIS"

Definition at line 1010 of file xsh_dfs.h.

#define XSH_MERGE2D   "MERGE2D"
#define XSH_MERGE2D_CEN_IFU_NIR   "MERGE2D_CEN_IFU_NIR"

Definition at line 782 of file xsh_dfs.h.

#define XSH_MERGE2D_CEN_IFU_UVB   "MERGE2D_CEN_IFU_UVB"

Definition at line 772 of file xsh_dfs.h.

#define XSH_MERGE2D_CEN_IFU_VIS   "MERGE2D_CEN_IFU_VIS"

Definition at line 777 of file xsh_dfs.h.

#define XSH_MERGE2D_DOWN_IFU_NIR   "MERGE2D_DOWN_IFU_NIR"

Definition at line 781 of file xsh_dfs.h.

#define XSH_MERGE2D_DOWN_IFU_UVB   "MERGE2D_DOWN_IFU_UVB"

Definition at line 771 of file xsh_dfs.h.

#define XSH_MERGE2D_DOWN_IFU_VIS   "MERGE2D_DOWN_IFU_VIS"

Definition at line 776 of file xsh_dfs.h.

#define XSH_MERGE2D_IFU_NIR   "MERGE2D_IFU_NIR"

Definition at line 780 of file xsh_dfs.h.

#define XSH_MERGE2D_IFU_UVB   "MERGE2D_IFU_UVB"

Definition at line 770 of file xsh_dfs.h.

#define XSH_MERGE2D_IFU_VIS   "MERGE2D_IFU_VIS"

Definition at line 775 of file xsh_dfs.h.

#define XSH_MERGE2D_NIR   "MERGE2D_NIR"

Definition at line 1039 of file xsh_dfs.h.

#define XSH_MERGE2D_UP_IFU_NIR   "MERGE2D_UP_IFU_NIR"

Definition at line 783 of file xsh_dfs.h.

#define XSH_MERGE2D_UP_IFU_UVB   "MERGE2D_UP_IFU_UVB"

Definition at line 773 of file xsh_dfs.h.

#define XSH_MERGE2D_UP_IFU_VIS   "MERGE2D_UP_IFU_VIS"

Definition at line 778 of file xsh_dfs.h.

#define XSH_MERGE2D_UVB   "MERGE2D_UVB"

Definition at line 1040 of file xsh_dfs.h.

#define XSH_MERGE2D_VIS   "MERGE2D_VIS"

Definition at line 1041 of file xsh_dfs.h.

#define XSH_MERGE3D_IFU   "MERGE3D_IFU"

Definition at line 574 of file xsh_dfs.h.

Referenced by xsh_cube(), and xsh_format().

#define XSH_MERGE3D_IFU_NIR   "MERGE3D_IFU_NIR"

Definition at line 803 of file xsh_dfs.h.

#define XSH_MERGE3D_IFU_UVB   "MERGE3D_IFU_UVB"

Definition at line 804 of file xsh_dfs.h.

#define XSH_MERGE3D_IFU_VIS   "MERGE3D_IFU_VIS"

Definition at line 805 of file xsh_dfs.h.

#define XSH_MERGE_EXT1D   "MERGE_EXT1D"

Definition at line 572 of file xsh_dfs.h.

Referenced by xsh_merge_ord_slitlet().

#define XSH_MERGE_EXT1D_NIR   "MERGE_EXT1D_NIR"

Definition at line 1012 of file xsh_dfs.h.

#define XSH_MERGE_EXT1D_UVB   "MERGE_EXT1D_UVB"

Definition at line 1013 of file xsh_dfs.h.

#define XSH_MERGE_EXT1D_VIS   "MERGE_EXT1D_VIS"

Definition at line 1014 of file xsh_dfs.h.

#define XSH_MERGE_OXT1D   "MERGE_OXT1D"

Definition at line 1016 of file xsh_dfs.h.

Referenced by xsh_merge_ord_slitlet().

#define XSH_MERGE_OXT1D_NIR   "MERGE_OXT1D_NIR"

Definition at line 1017 of file xsh_dfs.h.

#define XSH_MERGE_OXT1D_UVB   "MERGE_OXT1D_UVB"

Definition at line 1018 of file xsh_dfs.h.

#define XSH_MERGE_OXT1D_VIS   "MERGE_OXT1D_VIS"

Definition at line 1019 of file xsh_dfs.h.

#define XSH_MOD_CFG   "XSH_MOD_CFG_TAB"
#define XSH_MOD_CFG_FAN   "XSH_MOD_CFG_FAN"

Definition at line 1241 of file xsh_dfs.h.

Referenced by xsh_cfg_recover_last_step(), and xsh_model_first_anneal_save().

#define XSH_MOD_CFG_FAN_NIR   "XSH_MOD_CFG_FAN_NIR"

Definition at line 1244 of file xsh_dfs.h.

Referenced by xsh_load_table_check().

#define XSH_MOD_CFG_FAN_UVB   "XSH_MOD_CFG_FAN_UVB"

Definition at line 1242 of file xsh_dfs.h.

Referenced by xsh_load_table_check().

#define XSH_MOD_CFG_FAN_VIS   "XSH_MOD_CFG_FAN_VIS"

Definition at line 1243 of file xsh_dfs.h.

Referenced by xsh_load_table_check().

#define XSH_MOD_CFG_NIR   "XSH_MOD_CFG_TAB_NIR"
#define XSH_MOD_CFG_OPEN   "XSH_MOD_CFG_OPEN_"

Definition at line 1231 of file xsh_dfs.h.

Referenced by xsh_find_model_config_open().

#define XSH_MOD_CFG_OPEN_NIR   "XSH_MOD_CFG_OPEN_NIR"

Definition at line 1234 of file xsh_dfs.h.

Referenced by xsh_load_table_check().

#define XSH_MOD_CFG_OPEN_UVB   "XSH_MOD_CFG_OPEN_UVB"

Definition at line 1232 of file xsh_dfs.h.

Referenced by xsh_load_table_check().

#define XSH_MOD_CFG_OPEN_VIS   "XSH_MOD_CFG_OPEN_VIS"

Definition at line 1233 of file xsh_dfs.h.

Referenced by xsh_load_table_check().

#define XSH_MOD_CFG_OPT_2D   "XSH_MOD_CFG_OPT_2D"
#define XSH_MOD_CFG_OPT_2D_NIR   "XSH_MOD_CFG_OPT_2D_NIR"

Definition at line 1201 of file xsh_dfs.h.

Referenced by xsh_get_tag_opt_mod_cfg(), and xsh_load_table_check().

#define XSH_MOD_CFG_OPT_2D_UVB   "XSH_MOD_CFG_OPT_2D_UVB"

Definition at line 1199 of file xsh_dfs.h.

Referenced by xsh_get_tag_opt_mod_cfg(), and xsh_load_table_check().

#define XSH_MOD_CFG_OPT_2D_VIS   "XSH_MOD_CFG_OPT_2D_VIS"

Definition at line 1200 of file xsh_dfs.h.

Referenced by xsh_get_tag_opt_mod_cfg(), and xsh_load_table_check().

#define XSH_MOD_CFG_OPT_AFC   "XSH_MOD_CFG_OPT_AFC"
#define XSH_MOD_CFG_OPT_AFC_NIR   "XSH_MOD_CFG_OPT_AFC_NIR"

Definition at line 1224 of file xsh_dfs.h.

Referenced by xsh_get_tag_opt_mod_cfg(), and xsh_load_table_check().

#define XSH_MOD_CFG_OPT_AFC_UVB   "XSH_MOD_CFG_OPT_AFC_UVB"

Definition at line 1222 of file xsh_dfs.h.

Referenced by xsh_get_tag_opt_mod_cfg(), and xsh_load_table_check().

#define XSH_MOD_CFG_OPT_AFC_VIS   "XSH_MOD_CFG_OPT_AFC_VIS"

Definition at line 1223 of file xsh_dfs.h.

Referenced by xsh_get_tag_opt_mod_cfg(), and xsh_load_table_check().

#define XSH_MOD_CFG_OPT_FMT   "XSH_MOD_CFG_OPT_FMT"

Definition at line 1192 of file xsh_dfs.h.

Referenced by xsh_2dmap(), and xsh_mode_is_physmod().

#define XSH_MOD_CFG_OPT_FMT_NIR   "XSH_MOD_CFG_OPT_FMT_NIR"

Definition at line 1195 of file xsh_dfs.h.

Referenced by xsh_get_tag_opt_mod_cfg(), and xsh_load_table_check().

#define XSH_MOD_CFG_OPT_FMT_UVB   "XSH_MOD_CFG_OPT_FMT_UVB"

Definition at line 1193 of file xsh_dfs.h.

Referenced by xsh_get_tag_opt_mod_cfg(), and xsh_load_table_check().

#define XSH_MOD_CFG_OPT_FMT_VIS   "XSH_MOD_CFG_OPT_FMT_VIS"

Definition at line 1194 of file xsh_dfs.h.

Referenced by xsh_get_tag_opt_mod_cfg(), and xsh_load_table_check().

#define XSH_MOD_CFG_OPT_REC   "XSH_MOD_CFG_OPT_REC"

Definition at line 1187 of file xsh_dfs.h.

Referenced by xsh_predict().

#define XSH_MOD_CFG_OPT_REC_NIR   "XSH_MOD_CFG_OPT_REC_NIR"

Definition at line 1190 of file xsh_dfs.h.

Referenced by xsh_get_tag_opt_mod_cfg(), and xsh_load_table_check().

#define XSH_MOD_CFG_OPT_REC_UVB   "XSH_MOD_CFG_OPT_REC_UVB"

Definition at line 1188 of file xsh_dfs.h.

Referenced by xsh_get_tag_opt_mod_cfg(), and xsh_load_table_check().

#define XSH_MOD_CFG_OPT_REC_VIS   "XSH_MOD_CFG_OPT_REC_VIS"

Definition at line 1189 of file xsh_dfs.h.

Referenced by xsh_get_tag_opt_mod_cfg(), and xsh_load_table_check().

#define XSH_MOD_CFG_OPT_WAV_IFU   "XSH_MOD_CFG_OPT_WAV_IFU"

Definition at line 1210 of file xsh_dfs.h.

#define XSH_MOD_CFG_OPT_WAV_IFU_NIR   "XSH_MOD_CFG_OPT_WAV_IFU_NIR"

Definition at line 1213 of file xsh_dfs.h.

Referenced by xsh_get_tag_opt_mod_cfg(), and xsh_load_table_check().

#define XSH_MOD_CFG_OPT_WAV_IFU_UVB   "XSH_MOD_CFG_OPT_WAV_IFU_UVB"

Definition at line 1211 of file xsh_dfs.h.

Referenced by xsh_get_tag_opt_mod_cfg(), and xsh_load_table_check().

#define XSH_MOD_CFG_OPT_WAV_IFU_VIS   "XSH_MOD_CFG_OPT_WAV_IFU_VIS"

Definition at line 1212 of file xsh_dfs.h.

Referenced by xsh_get_tag_opt_mod_cfg(), and xsh_load_table_check().

#define XSH_MOD_CFG_OPT_WAV_SLIT   "XSH_MOD_CFG_OPT_WAV_SLIT"

Definition at line 1204 of file xsh_dfs.h.

#define XSH_MOD_CFG_OPT_WAV_SLIT_NIR   "XSH_MOD_CFG_OPT_WAV_SLIT_NIR"

Definition at line 1207 of file xsh_dfs.h.

Referenced by xsh_get_tag_opt_mod_cfg(), and xsh_load_table_check().

#define XSH_MOD_CFG_OPT_WAV_SLIT_UVB   "XSH_MOD_CFG_OPT_WAV_SLIT_UVB"

Definition at line 1205 of file xsh_dfs.h.

Referenced by xsh_get_tag_opt_mod_cfg(), and xsh_load_table_check().

#define XSH_MOD_CFG_OPT_WAV_SLIT_VIS   "XSH_MOD_CFG_OPT_WAV_SLIT_VIS"

Definition at line 1206 of file xsh_dfs.h.

Referenced by xsh_get_tag_opt_mod_cfg(), and xsh_load_table_check().

#define XSH_MOD_CFG_TAB   "XSH_MOD_CFG_TAB"
#define XSH_MOD_CFG_TAB_NIR   "XSH_MOD_CFG_TAB_NIR"
#define XSH_MOD_CFG_TAB_UVB   "XSH_MOD_CFG_TAB_UVB"
#define XSH_MOD_CFG_TAB_VIS   "XSH_MOD_CFG_TAB_VIS"
#define XSH_MOD_CFG_UVB   "XSH_MOD_CFG_TAB_UVB"
#define XSH_MOD_CFG_VIS   "XSH_MOD_CFG_TAB_VIS"
#define XSH_MODEL_GUESS_XY   "XSH_MODEL_GUESS_XY"

Definition at line 1246 of file xsh_dfs.h.

Referenced by xsh_cfg_recover_gen_xyg_frame().

#define XSH_MODEL_GUESS_XY_NIR   "XSH_MODEL_GUESS_XY_NIR"

Definition at line 1249 of file xsh_dfs.h.

#define XSH_MODEL_GUESS_XY_UVB   "XSH_MODEL_GUESS_XY_UVB"

Definition at line 1247 of file xsh_dfs.h.

#define XSH_MODEL_GUESS_XY_VIS   "XSH_MODEL_GUESS_XY_VIS"

Definition at line 1248 of file xsh_dfs.h.

#define XSH_MODEL_TEST_PAR   "XSH_MODEL_COMPUTE_TEST_PAR_"

Definition at line 1177 of file xsh_dfs.h.

Referenced by xsh_find_model_testpar().

#define XSH_MODEL_TEST_PAR_NIR   "XSH_MODEL_COMPUTE_TEST_PAR_NIR"

Definition at line 1180 of file xsh_dfs.h.

#define XSH_MODEL_TEST_PAR_UVB   "XSH_MODEL_COMPUTE_TEST_PAR_UVB"

Definition at line 1178 of file xsh_dfs.h.

#define XSH_MODEL_TEST_PAR_VIS   "XSH_MODEL_COMPUTE_TEST_PAR_VIS"

Definition at line 1179 of file xsh_dfs.h.

#define XSH_MODEL_WAVE_LIST   "XSH_MODEL_COMPUTE_WAVE_LIST_"

Definition at line 1172 of file xsh_dfs.h.

Referenced by xsh_find_model_wavelist().

#define XSH_MODEL_WAVE_LIST_NIR   "XSH_MODEL_COMPUTE_WAVE_LIST_NIR"

Definition at line 1175 of file xsh_dfs.h.

#define XSH_MODEL_WAVE_LIST_UVB   "XSH_MODEL_COMPUTE_WAVE_LIST_UVB"

Definition at line 1173 of file xsh_dfs.h.

#define XSH_MODEL_WAVE_LIST_VIS   "XSH_MODEL_COMPUTE_WAVE_LIST_VIS"

Definition at line 1174 of file xsh_dfs.h.

#define XSH_MRESPONSE_MERGE1D_SLIT   "MRESPONSE_MERGE1D_SLIT"
#define XSH_MRESPONSE_MERGE1D_SLIT_NIR   "MRESPONSE_MERGE1D_SLIT_NIR"

Definition at line 1127 of file xsh_dfs.h.

#define XSH_MRESPONSE_MERGE1D_SLIT_UVB   "MRESPONSE_MERGE1D_SLIT_UVB"

Definition at line 1125 of file xsh_dfs.h.

#define XSH_MRESPONSE_MERGE1D_SLIT_VIS   "MRESPONSE_MERGE1D_SLIT_VIS"

Definition at line 1126 of file xsh_dfs.h.

#define XSH_NORM_MERGE1D   "NORM_MERGE1D"

Definition at line 960 of file xsh_dfs.h.

Referenced by xsh_merge_ord_slitlet().

#define XSH_NORM_MERGE1D_NIR   "NORM_MERGE1D_NIR"

Definition at line 961 of file xsh_dfs.h.

#define XSH_NORM_MERGE1D_UVB   "NORM_MERGE1D_UVB"

Definition at line 962 of file xsh_dfs.h.

#define XSH_NORM_MERGE1D_VIS   "NORM_MERGE1D_VIS"

Definition at line 963 of file xsh_dfs.h.

#define XSH_NORM_MERGE2D   "NORM_MERGE2D"

Definition at line 966 of file xsh_dfs.h.

Referenced by xsh_merge_ord_slitlet().

#define XSH_NORM_MERGE2D_NIR   "NORM_MERGE2D_NIR"

Definition at line 967 of file xsh_dfs.h.

#define XSH_NORM_MERGE2D_UVB   "NORM_MERGE2D_UVB"

Definition at line 968 of file xsh_dfs.h.

#define XSH_NORM_MERGE2D_VIS   "NORM_MERGE2D_VIS"

Definition at line 969 of file xsh_dfs.h.

#define XSH_NORM_ORDER1D   "NORM_ORDER1D"

Definition at line 950 of file xsh_dfs.h.

Referenced by xsh_flux_calibrate1D(), and xsh_merge_ord_slitlet().

#define XSH_NORM_ORDER1D_NIR   "NORM_ORDER1D_NIR"

Definition at line 951 of file xsh_dfs.h.

#define XSH_NORM_ORDER1D_UVB   "NORM_ORDER1D_UVB"

Definition at line 952 of file xsh_dfs.h.

#define XSH_NORM_ORDER1D_VIS   "NORM_ORDER1D_VIS"

Definition at line 953 of file xsh_dfs.h.

#define XSH_NORM_ORDER2D   "NORM_ORDER2D"

Definition at line 955 of file xsh_dfs.h.

Referenced by xsh_flux_calibrate2D(), and xsh_merge_ord_slitlet().

#define XSH_NORM_ORDER2D_NIR   "NORM_ORDER2D_NIR"

Definition at line 956 of file xsh_dfs.h.

#define XSH_NORM_ORDER2D_UVB   "NORM_ORDER2D_UVB"

Definition at line 957 of file xsh_dfs.h.

#define XSH_NORM_ORDER2D_VIS   "NORM_ORDER2D_VIS"

Definition at line 958 of file xsh_dfs.h.

#define XSH_NORM_OXT1D   "NORM_OXT1D"

Definition at line 944 of file xsh_dfs.h.

Referenced by xsh_flux_calibrate1D().

#define XSH_NORM_OXT1D_NIR   "NORM_OXT1D_NIR"

Definition at line 945 of file xsh_dfs.h.

#define XSH_NORM_OXT1D_UVB   "NORM_OXT1D_UVB"

Definition at line 946 of file xsh_dfs.h.

#define XSH_NORM_OXT1D_VIS   "NORM_OXT1D_VIS"

Definition at line 947 of file xsh_dfs.h.

#define XSH_OBJECT_IFU_OFFSET   "OBJECT_IFU_OFFSET"
#define XSH_OBJECT_IFU_OFFSET_NIR   "OBJECT_IFU_OFFSET_NIR"

Definition at line 501 of file xsh_dfs.h.

#define XSH_OBJECT_IFU_OFFSET_UVB   "OBJECT_IFU_OFFSET_UVB"

Definition at line 499 of file xsh_dfs.h.

#define XSH_OBJECT_IFU_OFFSET_VIS   "OBJECT_IFU_OFFSET_VIS"

Definition at line 500 of file xsh_dfs.h.

#define XSH_OBJECT_IFU_STARE   "OBJECT_IFU_STARE"

Definition at line 219 of file xsh_dfs.h.

Referenced by xsh_geom_ifu(), and xsh_scired_ifu_stare().

#define XSH_OBJECT_IFU_STARE_NIR   "OBJECT_IFU_STARE_NIR"

Definition at line 498 of file xsh_dfs.h.

#define XSH_OBJECT_IFU_STARE_UVB   "OBJECT_IFU_STARE_UVB"

Definition at line 496 of file xsh_dfs.h.

#define XSH_OBJECT_IFU_STARE_VIS   "OBJECT_IFU_STARE_VIS"

Definition at line 497 of file xsh_dfs.h.

#define XSH_OBJECT_SLIT_NOD   "OBJECT_SLIT_NOD"

Definition at line 217 of file xsh_dfs.h.

Referenced by main(), xsh_respon_slit_nod(), and xsh_scired_slit_nod().

#define XSH_OBJECT_SLIT_NOD_NIR   "OBJECT_SLIT_NOD_NIR"

Definition at line 492 of file xsh_dfs.h.

#define XSH_OBJECT_SLIT_NOD_UVB   "OBJECT_SLIT_NOD_UVB"

Definition at line 490 of file xsh_dfs.h.

#define XSH_OBJECT_SLIT_NOD_VIS   "OBJECT_SLIT_NOD_VIS"

Definition at line 491 of file xsh_dfs.h.

#define XSH_OBJECT_SLIT_OFFSET   "OBJECT_SLIT_OFFSET"
#define XSH_OBJECT_SLIT_OFFSET_NIR   "OBJECT_SLIT_OFFSET_NIR"

Definition at line 495 of file xsh_dfs.h.

#define XSH_OBJECT_SLIT_OFFSET_UVB   "OBJECT_SLIT_OFFSET_UVB"

Definition at line 493 of file xsh_dfs.h.

#define XSH_OBJECT_SLIT_OFFSET_VIS   "OBJECT_SLIT_OFFSET_VIS"

Definition at line 494 of file xsh_dfs.h.

#define XSH_OBJECT_SLIT_STARE   "OBJECT_SLIT_STARE"
#define XSH_OBJECT_SLIT_STARE_NIR   "OBJECT_SLIT_STARE_NIR"

Definition at line 489 of file xsh_dfs.h.

#define XSH_OBJECT_SLIT_STARE_UVB   "OBJECT_SLIT_STARE_UVB"

Definition at line 487 of file xsh_dfs.h.

#define XSH_OBJECT_SLIT_STARE_VIS   "OBJECT_SLIT_STARE_VIS"

Definition at line 488 of file xsh_dfs.h.

#define XSH_OFFSET   "OFFSET_TAB"

Definition at line 1087 of file xsh_dfs.h.

#define XSH_OFFSET_CEN_IFU   "OFFSET_TAB_CEN_IFU"

Definition at line 1089 of file xsh_dfs.h.

Referenced by xsh_find_offset_tab_ifu().

#define XSH_OFFSET_CEN_IFU_NIR   "OFFSET_TAB_CEN_IFU_NIR"

Definition at line 1098 of file xsh_dfs.h.

#define XSH_OFFSET_CEN_IFU_UVB   "OFFSET_TAB_CEN_IFU_UVB"

Definition at line 1095 of file xsh_dfs.h.

#define XSH_OFFSET_CEN_IFU_VIS   "OFFSET_TAB_CEN_IFU_VIS"

Definition at line 1092 of file xsh_dfs.h.

#define XSH_OFFSET_DOWN_IFU   "OFFSET_TAB_DOWN_IFU"

Definition at line 1088 of file xsh_dfs.h.

Referenced by xsh_find_offset_tab_ifu().

#define XSH_OFFSET_DOWN_IFU_NIR   "OFFSET_TAB_DOWN_IFU_NIR"

Definition at line 1097 of file xsh_dfs.h.

#define XSH_OFFSET_DOWN_IFU_UVB   "OFFSET_TAB_DOWN_IFU_UVB"

Definition at line 1094 of file xsh_dfs.h.

#define XSH_OFFSET_DOWN_IFU_VIS   "OFFSET_TAB_DOWN_IFU_VIS"

Definition at line 1091 of file xsh_dfs.h.

#define XSH_OFFSET_TABLE_NIR   "OFFSET_TABLE_NIR"

Definition at line 1146 of file xsh_dfs.h.

#define XSH_OFFSET_TABLE_UVB   "OFFSET_TABLE_UVB"

Definition at line 1144 of file xsh_dfs.h.

#define XSH_OFFSET_TABLE_VIS   "OFFSET_TABLE_VIS"

Definition at line 1145 of file xsh_dfs.h.

#define XSH_OFFSET_UP_IFU   "OFFSET_TAB_UP_IFU"

Definition at line 1090 of file xsh_dfs.h.

Referenced by xsh_find_offset_tab_ifu().

#define XSH_OFFSET_UP_IFU_NIR   "OFFSET_TAB_UP_IFU_NIR"

Definition at line 1099 of file xsh_dfs.h.

#define XSH_OFFSET_UP_IFU_UVB   "OFFSET_TAB_UP_IFU_UVB"

Definition at line 1096 of file xsh_dfs.h.

#define XSH_OFFSET_UP_IFU_VIS   "OFFSET_TAB_UP_IFU_VIS"

Definition at line 1093 of file xsh_dfs.h.

#define XSH_ONOFF_REMOVE_CRH   "ONOFF_REMOVE_CRH"

Definition at line 176 of file xsh_dfs.h.

#define XSH_ONOFF_REMOVE_CRH_NIR   "ONOFF_REMOVE_CRH_NIR"

Definition at line 179 of file xsh_dfs.h.

#define XSH_ONOFF_REMOVE_CRH_UVB   "ONOFF_REMOVE_CRH_UVB"

Definition at line 177 of file xsh_dfs.h.

#define XSH_ONOFF_REMOVE_CRH_VIS   "ONOFF_REMOVE_CRH_VIS"

Definition at line 178 of file xsh_dfs.h.

#define XSH_ORDER1D   "ORDER1D"

Definition at line 566 of file xsh_dfs.h.

Referenced by xsh_extract(), xsh_extract_clean(), and xsh_merge_ord_slitlet().

#define XSH_ORDER1D_CEN_IFU_NIR   "ORDER1D_CEN_IFU_NIR"

Definition at line 735 of file xsh_dfs.h.

#define XSH_ORDER1D_CEN_IFU_UVB   "ORDER1D_CEN_IFU_UVB"

Definition at line 725 of file xsh_dfs.h.

#define XSH_ORDER1D_CEN_IFU_VIS   "ORDER1D_CEN_IFU_VIS"

Definition at line 730 of file xsh_dfs.h.

#define XSH_ORDER1D_DOWN_IFU_NIR   "ORDER1D_DOWN_IFU_NIR"

Definition at line 734 of file xsh_dfs.h.

#define XSH_ORDER1D_DOWN_IFU_UVB   "ORDER1D_DOWN_IFU_UVB"

Definition at line 724 of file xsh_dfs.h.

#define XSH_ORDER1D_DOWN_IFU_VIS   "ORDER1D_DOWN_IFU_VIS"

Definition at line 729 of file xsh_dfs.h.

#define XSH_ORDER1D_IFU   "ORDER1D_IFU"

Definition at line 568 of file xsh_dfs.h.

#define XSH_ORDER1D_IFU_NIR   "ORDER1D_IFU_NIR"

Definition at line 733 of file xsh_dfs.h.

#define XSH_ORDER1D_IFU_UVB   "ORDER1D_IFU_UVB"

Definition at line 723 of file xsh_dfs.h.

#define XSH_ORDER1D_IFU_VIS   "ORDER1D_IFU_VIS"

Definition at line 728 of file xsh_dfs.h.

#define XSH_ORDER1D_NIR   "ORDER1D_NIR"

Definition at line 939 of file xsh_dfs.h.

#define XSH_ORDER1D_UP_IFU_NIR   "ORDER1D_UP_IFU_NIR"

Definition at line 736 of file xsh_dfs.h.

#define XSH_ORDER1D_UP_IFU_UVB   "ORDER1D_UP_IFU_UVB"

Definition at line 726 of file xsh_dfs.h.

#define XSH_ORDER1D_UP_IFU_VIS   "ORDER1D_UP_IFU_VIS"

Definition at line 731 of file xsh_dfs.h.

#define XSH_ORDER1D_UVB   "ORDER1D_UVB"

Definition at line 940 of file xsh_dfs.h.

#define XSH_ORDER1D_VIS   "ORDER1D_VIS"

Definition at line 941 of file xsh_dfs.h.

#define XSH_ORDER2D   "ORDER2D"
#define XSH_ORDER2D_CEN_IFU_NIR   "ORDER2D_CEN_IFU_NIR"

Definition at line 750 of file xsh_dfs.h.

#define XSH_ORDER2D_CEN_IFU_UVB   "ORDER2D_CEN_IFU_UVB"

Definition at line 740 of file xsh_dfs.h.

#define XSH_ORDER2D_CEN_IFU_VIS   "ORDER2D_CEN_IFU_VIS"

Definition at line 745 of file xsh_dfs.h.

#define XSH_ORDER2D_DOWN_IFU_NIR   "ORDER2D_DOWN_IFU_NIR"

Definition at line 749 of file xsh_dfs.h.

#define XSH_ORDER2D_DOWN_IFU_UVB   "ORDER2D_DOWN_IFU_UVB"

Definition at line 739 of file xsh_dfs.h.

#define XSH_ORDER2D_DOWN_IFU_VIS   "ORDER2D_DOWN_IFU_VIS"

Definition at line 744 of file xsh_dfs.h.

#define XSH_ORDER2D_IFU   "ORDER2D_IFU"

Definition at line 569 of file xsh_dfs.h.

#define XSH_ORDER2D_IFU_NIR   "ORDER2D_IFU_NIR"

Definition at line 748 of file xsh_dfs.h.

#define XSH_ORDER2D_IFU_UVB   "ORDER2D_IFU_UVB"

Definition at line 738 of file xsh_dfs.h.

#define XSH_ORDER2D_IFU_VIS   "ORDER2D_IFU_VIS"

Definition at line 743 of file xsh_dfs.h.

#define XSH_ORDER2D_NIR   "ORDER2D_NIR"

Definition at line 1030 of file xsh_dfs.h.

#define XSH_ORDER2D_UP_IFU_NIR   "ORDER2D_UP_IFU_NIR"

Definition at line 751 of file xsh_dfs.h.

#define XSH_ORDER2D_UP_IFU_UVB   "ORDER2D_UP_IFU_UVB"

Definition at line 741 of file xsh_dfs.h.

#define XSH_ORDER2D_UP_IFU_VIS   "ORDER2D_UP_IFU_VIS"

Definition at line 746 of file xsh_dfs.h.

#define XSH_ORDER2D_UVB   "ORDER2D_UVB"

Definition at line 1031 of file xsh_dfs.h.

#define XSH_ORDER2D_VIS   "ORDER2D_VIS"

Definition at line 1032 of file xsh_dfs.h.

#define XSH_ORDER_EXT1D   "ORDER_EXT1D"

Definition at line 998 of file xsh_dfs.h.

Referenced by xsh_merge_ord_slitlet(), and xsh_opt_extract_orders().

#define XSH_ORDER_EXT1D_NIR   "ORDER_EXT1D_NIR"

Definition at line 999 of file xsh_dfs.h.

#define XSH_ORDER_EXT1D_UVB   "ORDER_EXT1D_UVB"

Definition at line 1000 of file xsh_dfs.h.

#define XSH_ORDER_EXT1D_VIS   "ORDER_EXT1D_VIS"

Definition at line 1001 of file xsh_dfs.h.

#define XSH_ORDER_OXT1D   "ORDER_OXT1D"

Definition at line 1003 of file xsh_dfs.h.

Referenced by xsh_flux_calibrate1D(), xsh_merge_ord_slitlet(), and xsh_opt_extract_orders().

#define XSH_ORDER_OXT1D_NIR   "ORDER_OXT1D_NIR"

Definition at line 1004 of file xsh_dfs.h.

#define XSH_ORDER_OXT1D_UVB   "ORDER_OXT1D_UVB"

Definition at line 1005 of file xsh_dfs.h.

#define XSH_ORDER_OXT1D_VIS   "ORDER_OXT1D_VIS"

Definition at line 1006 of file xsh_dfs.h.

#define XSH_ORDER_TAB_AFC   "ORDER_TAB_AFC"

Definition at line 681 of file xsh_dfs.h.

Referenced by xsh_find_order_tab_edges(), and xsh_flexcor().

#define XSH_ORDER_TAB_AFC_IFU   "ORDER_TAB_AFC_IFU"

Definition at line 688 of file xsh_dfs.h.

#define XSH_ORDER_TAB_AFC_IFU_NIR   "ORDER_TAB_AFC_IFU_NIR"

Definition at line 691 of file xsh_dfs.h.

#define XSH_ORDER_TAB_AFC_IFU_UVB   "ORDER_TAB_AFC_IFU_UVB"

Definition at line 689 of file xsh_dfs.h.

#define XSH_ORDER_TAB_AFC_IFU_VIS   "ORDER_TAB_AFC_IFU_VIS"

Definition at line 690 of file xsh_dfs.h.

#define XSH_ORDER_TAB_AFC_SLIT   "ORDER_TAB_AFC_SLIT"

Definition at line 683 of file xsh_dfs.h.

#define XSH_ORDER_TAB_AFC_SLIT_NIR   "ORDER_TAB_AFC_SLIT_NIR"

Definition at line 686 of file xsh_dfs.h.

#define XSH_ORDER_TAB_AFC_SLIT_UVB   "ORDER_TAB_AFC_SLIT_UVB"

Definition at line 684 of file xsh_dfs.h.

#define XSH_ORDER_TAB_AFC_SLIT_VIS   "ORDER_TAB_AFC_SLIT_VIS"

Definition at line 685 of file xsh_dfs.h.

#define XSH_ORDER_TAB_CENTR   "ORDER_TAB_CENTR"
#define XSH_ORDER_TAB_CENTR_NIR   "ORDER_TAB_CENTR_NIR"

Definition at line 665 of file xsh_dfs.h.

#define XSH_ORDER_TAB_CENTR_UVB   "ORDER_TAB_CENTR_UVB"

Definition at line 663 of file xsh_dfs.h.

#define XSH_ORDER_TAB_CENTR_VIS   "ORDER_TAB_CENTR_VIS"

Definition at line 664 of file xsh_dfs.h.

#define XSH_ORDER_TAB_EDGES   "ORDER_TAB_EDGES"
#define XSH_ORDER_TAB_EDGES_D2_IFU_UVB   "ORDER_TAB_EDGES_D2_IFU_UVB"

Definition at line 679 of file xsh_dfs.h.

#define XSH_ORDER_TAB_EDGES_D2_SLIT_UVB   "ORDER_TAB_EDGES_D2_SLIT_UVB"

Definition at line 678 of file xsh_dfs.h.

#define XSH_ORDER_TAB_EDGES_IFU   "ORDER_TAB_EDGES_IFU"

Definition at line 672 of file xsh_dfs.h.

#define XSH_ORDER_TAB_EDGES_IFU_NIR   "ORDER_TAB_EDGES_IFU_NIR"

Definition at line 675 of file xsh_dfs.h.

#define XSH_ORDER_TAB_EDGES_IFU_UVB   "ORDER_TAB_EDGES_IFU_UVB"

Definition at line 673 of file xsh_dfs.h.

#define XSH_ORDER_TAB_EDGES_IFU_VIS   "ORDER_TAB_EDGES_IFU_VIS"

Definition at line 674 of file xsh_dfs.h.

#define XSH_ORDER_TAB_EDGES_QTH_IFU_UVB   "ORDER_TAB_EDGES_QTH_IFU_UVB"

Definition at line 677 of file xsh_dfs.h.

#define XSH_ORDER_TAB_EDGES_QTH_SLIT_UVB   "ORDER_TAB_EDGES_QTH_SLIT_UVB"

Definition at line 676 of file xsh_dfs.h.

#define XSH_ORDER_TAB_EDGES_SLIT   "ORDER_TAB_EDGES_SLIT"

Definition at line 667 of file xsh_dfs.h.

#define XSH_ORDER_TAB_EDGES_SLIT_NIR   "ORDER_TAB_EDGES_SLIT_NIR"

Definition at line 670 of file xsh_dfs.h.

#define XSH_ORDER_TAB_EDGES_SLIT_UVB   "ORDER_TAB_EDGES_SLIT_UVB"

Definition at line 668 of file xsh_dfs.h.

#define XSH_ORDER_TAB_EDGES_SLIT_VIS   "ORDER_TAB_EDGES_SLIT_VIS"

Definition at line 669 of file xsh_dfs.h.

#define XSH_ORDER_TAB_GUESS   "ORDER_TAB_GUESS"
#define XSH_ORDER_TAB_GUESS_NIR   "ORDER_TAB_GUESS_NIR"

Definition at line 662 of file xsh_dfs.h.

#define XSH_ORDER_TAB_GUESS_UVB   "ORDER_TAB_GUESS_UVB"

Definition at line 660 of file xsh_dfs.h.

#define XSH_ORDER_TAB_GUESS_VIS   "ORDER_TAB_GUESS_VIS"

Definition at line 661 of file xsh_dfs.h.

#define XSH_ORDER_TAB_RECOV   "ORDER_TAB_RECOV"

Definition at line 530 of file xsh_dfs.h.

Referenced by xsh_find_order_tab_recov(), and xsh_predict().

#define XSH_ORDER_TAB_RECOV_NIR   "ORDER_TAB_RECOV_NIR"

Definition at line 659 of file xsh_dfs.h.

#define XSH_ORDER_TAB_RECOV_UVB   "ORDER_TAB_RECOV_UVB"

Definition at line 657 of file xsh_dfs.h.

#define XSH_ORDER_TAB_RECOV_VIS   "ORDER_TAB_RECOV_VIS"

Definition at line 658 of file xsh_dfs.h.

#define XSH_ORDERDEF   "ORDERDEF"

Definition at line 212 of file xsh_dfs.h.

Referenced by xsh_orderpos().

#define XSH_ORDERDEF_D2_UVB   "ORDERDEF_D2_UVB"

Definition at line 389 of file xsh_dfs.h.

Referenced by xsh_find_raw_orderdef_vis_uvb().

#define XSH_ORDERDEF_NIR   "ORDERDEF_NIR_ON"

Definition at line 391 of file xsh_dfs.h.

Referenced by xsh_find_raw_orderdef_nir().

#define XSH_ORDERDEF_OFF   "ORDERDEF_NIR_OFF"

Definition at line 392 of file xsh_dfs.h.

Referenced by xsh_find_raw_orderdef_nir_off().

#define XSH_ORDERDEF_QTH_UVB   "ORDERDEF_QTH_UVB"

Definition at line 388 of file xsh_dfs.h.

Referenced by xsh_find_raw_orderdef_vis_uvb().

#define XSH_ORDERDEF_VIS   "ORDERDEF_VIS"

Definition at line 390 of file xsh_dfs.h.

Referenced by xsh_find_raw_orderdef_vis_uvb().

#define XSH_ORDERPOS_RESID_TAB   "ORDERPOS_RESID_TAB"

Definition at line 301 of file xsh_dfs.h.

Referenced by create_resid_tab().

#define XSH_ORDERPOS_RESID_TAB_NIR   "ORDERPOS_RESID_TAB_NIR"

Definition at line 304 of file xsh_dfs.h.

#define XSH_ORDERPOS_RESID_TAB_UVB   "ORDERPOS_RESID_TAB_UVB"

Definition at line 302 of file xsh_dfs.h.

#define XSH_ORDERPOS_RESID_TAB_VIS   "ORDERPOS_RESID_TAB_VIS"

Definition at line 303 of file xsh_dfs.h.

#define XSH_PHYS_MERGE1D   "PHYS_MERGE1D"

Definition at line 576 of file xsh_dfs.h.

Referenced by xsh_phys_spectrum_save().

#define XSH_PHYS_MERGE1D_NIR   "PHYS_MERGE1D_NIR"

Definition at line 1026 of file xsh_dfs.h.

#define XSH_PHYS_MERGE1D_UVB   "PHYS_MERGE1D_UVB"

Definition at line 1027 of file xsh_dfs.h.

#define XSH_PHYS_MERGE1D_VIS   "PHYS_MERGE1D_VIS"

Definition at line 1028 of file xsh_dfs.h.

#define XSH_PHYS_MERGE2D   "PHYS_MERGE2D"

Definition at line 577 of file xsh_dfs.h.

Referenced by xsh_phys_spectrum_save().

#define XSH_PHYS_MERGE2D_NIR   "PHYS_MERGE2D_NIR"

Definition at line 1049 of file xsh_dfs.h.

#define XSH_PHYS_MERGE2D_UVB   "PHYS_MERGE2D_UVB"

Definition at line 1050 of file xsh_dfs.h.

#define XSH_PHYS_MERGE2D_VIS   "PHYS_MERGE2D_VIS"

Definition at line 1051 of file xsh_dfs.h.

#define XSH_PICKUP_NOISE_MAP   "PICKUP_NOISE_MAP"

Definition at line 583 of file xsh_dfs.h.

#define XSH_PICKUP_NOISE_MAP_NIR   "PICKUP_NOISE_MAP_NIR"

Definition at line 586 of file xsh_dfs.h.

#define XSH_PICKUP_NOISE_MAP_UVB   "PICKUP_NOISE_MAP_UVB"

Definition at line 584 of file xsh_dfs.h.

#define XSH_PICKUP_NOISE_MAP_VIS   "PICKUP_NOISE_MAP_VIS"

Definition at line 585 of file xsh_dfs.h.

#define XSH_PRODUCT_PREFIX   ""
#define XSH_RAW_BP_MAP_NL   "RAW_BP_MAP_NL"

Definition at line 346 of file xsh_dfs.h.

Referenced by xsh_lingain(), and xsh_util_bpmap_nl_raw2pre().

#define XSH_RAW_BP_MAP_NL_NIR   "RAW_BP_MAP_NL_NIR"

Definition at line 349 of file xsh_dfs.h.

#define XSH_RAW_BP_MAP_NL_UVB   "RAW_BP_MAP_NL_UVB"

Definition at line 347 of file xsh_dfs.h.

Referenced by xsh_pre_create().

#define XSH_RAW_BP_MAP_NL_VIS   "RAW_BP_MAP_NL_VIS"

Definition at line 348 of file xsh_dfs.h.

Referenced by xsh_pre_create().

#define XSH_RAW_IMA_IFU   "RAW_IMA_IFU"

Definition at line 235 of file xsh_dfs.h.

Referenced by xsh_util_ifu_build_cube().

#define XSH_RAW_IMA_IFU_NIR   "RAW_IMA_IFU_NIR"

Definition at line 238 of file xsh_dfs.h.

#define XSH_RAW_IMA_IFU_UVB   "RAW_IMA_IFU_UVB"

Definition at line 237 of file xsh_dfs.h.

#define XSH_RAW_IMA_IFU_VIS   "RAW_IMA_IFU_VIS"

Definition at line 236 of file xsh_dfs.h.

#define XSH_RAW_IMA_SLIT   "RAW_IMA_SLIT"

Definition at line 230 of file xsh_dfs.h.

Referenced by xsh_util_efficiency1d(), xsh_util_efficiency2d(), and xsh_util_integrate().

#define XSH_RAW_IMA_SLIT_NIR   "RAW_IMA_SLIT_NIR"

Definition at line 233 of file xsh_dfs.h.

#define XSH_RAW_IMA_SLIT_UVB   "RAW_IMA_SLIT_UVB"

Definition at line 232 of file xsh_dfs.h.

Referenced by xsh_pre_create(), and xsh_util_ima_arith().

#define XSH_RAW_IMA_SLIT_VIS   "RAW_IMA_SLIT_VIS"

Definition at line 231 of file xsh_dfs.h.

Referenced by xsh_pre_create().

#define XSH_RESID_ORDER_TAB   "RESID_ORDER_TAB"

Definition at line 547 of file xsh_dfs.h.

#define XSH_RESID_ORDER_TAB_NIR   "RESID_ORDER_TAB_NIR"

Definition at line 834 of file xsh_dfs.h.

#define XSH_RESID_ORDER_TAB_UVB   "RESID_ORDER_TAB_UVB"

Definition at line 835 of file xsh_dfs.h.

#define XSH_RESID_ORDER_TAB_VIS   "RESID_ORDER_TAB_VIS"

Definition at line 836 of file xsh_dfs.h.

#define XSH_RESID_TAB   "RESID_TAB"

Definition at line 542 of file xsh_dfs.h.

#define XSH_RESID_TAB_CEN_IFU   "RESID_TAB_CEN_IFU"

Definition at line 544 of file xsh_dfs.h.

#define XSH_RESID_TAB_DOWN_IFU   "RESID_TAB_DOWN_IFU"

Definition at line 543 of file xsh_dfs.h.

#define XSH_RESID_TAB_IFU_NIR   "RESID_TAB_IFU_NIR"

Definition at line 833 of file xsh_dfs.h.

#define XSH_RESID_TAB_IFU_UVB   "RESID_TAB_IFU_UVB"

Definition at line 831 of file xsh_dfs.h.

#define XSH_RESID_TAB_IFU_VIS   "RESID_TAB_IFU_VIS"

Definition at line 832 of file xsh_dfs.h.

#define XSH_RESID_TAB_SLIT_NIR   "RESID_TAB_SLIT_NIR"

Definition at line 830 of file xsh_dfs.h.

#define XSH_RESID_TAB_SLIT_UVB   "RESID_TAB_SLIT_UVB"

Definition at line 828 of file xsh_dfs.h.

#define XSH_RESID_TAB_SLIT_VIS   "RESID_TAB_SLIT_VIS"

Definition at line 829 of file xsh_dfs.h.

#define XSH_RESID_TAB_UP_IFU   "RESID_TAB_UP_IFU"

Definition at line 545 of file xsh_dfs.h.

#define XSH_RESPONSE ( arm   ) 
Value:
(arm) == XSH_ARM_UVB ? "RESPONSE_UVB" :    \
  (arm) == XSH_ARM_VIS ? "RESPONSE_VIS" :    \
  (arm) == XSH_ARM_NIR ? "RESPONSE_NIR" : "??TAG??"

Definition at line 1474 of file xsh_dfs.h.

#define XSH_RESPONSE_IFU_NIR   "RESPONSE_IFU_NIR"

Definition at line 1143 of file xsh_dfs.h.

#define XSH_RESPONSE_IFU_UVB   "RESPONSE_IFU_UVB"

Definition at line 1141 of file xsh_dfs.h.

#define XSH_RESPONSE_IFU_VIS   "RESPONSE_IFU_VIS"

Definition at line 1142 of file xsh_dfs.h.

#define XSH_RESPONSE_MERGE1D_SLIT   "RESPONSE_MERGE1D_SLIT"
#define XSH_RESPONSE_MERGE1D_SLIT_NIR   "RESPONSE_MERGE1D_SLIT_NIR"

Definition at line 1121 of file xsh_dfs.h.

#define XSH_RESPONSE_MERGE1D_SLIT_UVB   "RESPONSE_MERGE1D_SLIT_UVB"

Definition at line 1119 of file xsh_dfs.h.

#define XSH_RESPONSE_MERGE1D_SLIT_VIS   "RESPONSE_MERGE1D_SLIT_VIS"

Definition at line 1120 of file xsh_dfs.h.

#define XSH_RESPONSE_OFFSET   "RESPONSE_OFFSET"

Definition at line 1135 of file xsh_dfs.h.

#define XSH_RESPONSE_OFFSET_NIR   "RESPONSE_OFFSET_NIR"

Definition at line 1138 of file xsh_dfs.h.

#define XSH_RESPONSE_OFFSET_UVB   "RESPONSE_OFFSET_UVB"

Definition at line 1136 of file xsh_dfs.h.

#define XSH_RESPONSE_OFFSET_VIS   "RESPONSE_OFFSET_VIS"

Definition at line 1137 of file xsh_dfs.h.

#define XSH_RESPONSE_ORDER1D_SLIT   "RESPONSE_ORDER1D_SLIT"

Definition at line 1130 of file xsh_dfs.h.

Referenced by xsh_util_apply_response().

#define XSH_RESPONSE_ORDER1D_SLIT_NIR   "RESPONSE_ORDER1D_SLIT_NIR"

Definition at line 1133 of file xsh_dfs.h.

#define XSH_RESPONSE_ORDER1D_SLIT_UVB   "RESPONSE_ORDER1D_SLIT_UVB"

Definition at line 1131 of file xsh_dfs.h.

#define XSH_RESPONSE_ORDER1D_SLIT_VIS   "RESPONSE_ORDER1D_SLIT_VIS"

Definition at line 1132 of file xsh_dfs.h.

#define XSH_RESPONSE_SLIT   "RESPONSE_SLIT"

Definition at line 1113 of file xsh_dfs.h.

#define XSH_RESPONSE_SLIT_NIR   "RESPONSE_SLIT_NIR"

Definition at line 1116 of file xsh_dfs.h.

#define XSH_RESPONSE_SLIT_UVB   "RESPONSE_SLIT_UVB"

Definition at line 1114 of file xsh_dfs.h.

#define XSH_RESPONSE_SLIT_VIS   "RESPONSE_SLIT_VIS"

Definition at line 1115 of file xsh_dfs.h.

#define XSH_SHIFT_TAB   "SHIFT_TAB"

Definition at line 555 of file xsh_dfs.h.

#define XSH_SHIFT_TAB_IFU   "SHIFT_TAB_IFU"

Definition at line 557 of file xsh_dfs.h.

Referenced by xsh_follow_arclines_ifu().

#define XSH_SHIFT_TAB_IFU_NIR   "SHIFT_TAB_IFU_NIR"

Definition at line 563 of file xsh_dfs.h.

#define XSH_SHIFT_TAB_IFU_UVB   "SHIFT_TAB_IFU_UVB"

Definition at line 561 of file xsh_dfs.h.

#define XSH_SHIFT_TAB_IFU_VIS   "SHIFT_TAB_IFU_VIS"

Definition at line 562 of file xsh_dfs.h.

#define XSH_SHIFT_TAB_SLIT   "SHIFT_TAB_SLIT"

Definition at line 556 of file xsh_dfs.h.

Referenced by xsh_follow_arclines().

#define XSH_SHIFT_TAB_SLIT_NIR   "SHIFT_TAB_SLIT_NIR"

Definition at line 560 of file xsh_dfs.h.

#define XSH_SHIFT_TAB_SLIT_UVB   "SHIFT_TAB_SLIT_UVB"

Definition at line 558 of file xsh_dfs.h.

#define XSH_SHIFT_TAB_SLIT_VIS   "SHIFT_TAB_SLIT_VIS"

Definition at line 559 of file xsh_dfs.h.

#define XSH_SKY_IFU   "SKY_IFU"
#define XSH_SKY_IFU_NIR   "SKY_IFU_NIR"

Definition at line 507 of file xsh_dfs.h.

#define XSH_SKY_IFU_UVB   "SKY_IFU_UVB"

Definition at line 505 of file xsh_dfs.h.

#define XSH_SKY_IFU_VIS   "SKY_IFU_VIS"

Definition at line 506 of file xsh_dfs.h.

#define XSH_SKY_LINE_LIST   "SKY_LINE_LIST"
#define XSH_SKY_LINE_LIST_NIR   "SKY_LINE_LIST_NIR"

Definition at line 916 of file xsh_dfs.h.

#define XSH_SKY_LINE_LIST_UVB   "SKY_LINE_LIST_UVB"

Definition at line 914 of file xsh_dfs.h.

#define XSH_SKY_LINE_LIST_VIS   "SKY_LINE_LIST_VIS"

Definition at line 915 of file xsh_dfs.h.

#define XSH_SKY_MERGE2D   "SKY_MERGE2D"

Definition at line 1043 of file xsh_dfs.h.

#define XSH_SKY_MERGE2D_CEN_IFU_NIR   "SKY_MERGE2D_CEN_IFU_NIR"

Definition at line 798 of file xsh_dfs.h.

#define XSH_SKY_MERGE2D_CEN_IFU_UVB   "SKY_MERGE2D_CEN_IFU_UVB"

Definition at line 788 of file xsh_dfs.h.

#define XSH_SKY_MERGE2D_CEN_IFU_VIS   "SKY_MERGE2D_CEN_IFU_VIS"

Definition at line 793 of file xsh_dfs.h.

#define XSH_SKY_MERGE2D_DOWN_IFU_NIR   "SKY_MERGE2D_DOWN_IFU_NIR"

Definition at line 797 of file xsh_dfs.h.

#define XSH_SKY_MERGE2D_DOWN_IFU_UVB   "SKY_MERGE2D_DOWN_IFU_UVB"

Definition at line 787 of file xsh_dfs.h.

#define XSH_SKY_MERGE2D_DOWN_IFU_VIS   "SKY_MERGE2D_DOWN_IFU_VIS"

Definition at line 792 of file xsh_dfs.h.

#define XSH_SKY_MERGE2D_IFU_NIR   "SKY_MERGE2D_IFU_NIR"

Definition at line 796 of file xsh_dfs.h.

#define XSH_SKY_MERGE2D_IFU_UVB   "SKY_MERGE2D_IFU_UVB"

Definition at line 786 of file xsh_dfs.h.

#define XSH_SKY_MERGE2D_IFU_VIS   "SKY_MERGE2D_IFU_VIS"

Definition at line 791 of file xsh_dfs.h.

#define XSH_SKY_MERGE2D_NIR   "SKY_MERGE2D_NIR"

Definition at line 1044 of file xsh_dfs.h.

#define XSH_SKY_MERGE2D_UP_IFU_NIR   "SKY_MERGE2D_UP_IFU_NIR"

Definition at line 799 of file xsh_dfs.h.

#define XSH_SKY_MERGE2D_UP_IFU_UVB   "SKY_MERGE2D_UP_IFU_UVB"

Definition at line 789 of file xsh_dfs.h.

#define XSH_SKY_MERGE2D_UP_IFU_VIS   "SKY_MERGE2D_UP_IFU_VIS"

Definition at line 794 of file xsh_dfs.h.

#define XSH_SKY_MERGE2D_UVB   "SKY_MERGE2D_UVB"

Definition at line 1045 of file xsh_dfs.h.

#define XSH_SKY_MERGE2D_VIS   "SKY_MERGE2D_VIS"

Definition at line 1046 of file xsh_dfs.h.

#define XSH_SKY_ORDER2D   "SKY_ORDER2D"

Definition at line 1034 of file xsh_dfs.h.

#define XSH_SKY_ORDER2D_NIR   "SKY_ORDER2D_NIR"

Definition at line 1035 of file xsh_dfs.h.

#define XSH_SKY_ORDER2D_UVB   "SKY_ORDER2D_UVB"

Definition at line 1036 of file xsh_dfs.h.

#define XSH_SKY_ORDER2D_VIS   "SKY_ORDER2D_VIS"

Definition at line 1037 of file xsh_dfs.h.

#define XSH_SKY_SLIT   "SKY_SLIT"
#define XSH_SKY_SLIT_NIR   "SKY_SLIT_NIR"

Definition at line 504 of file xsh_dfs.h.

#define XSH_SKY_SLIT_UVB   "SKY_SLIT_UVB"

Definition at line 502 of file xsh_dfs.h.

#define XSH_SKY_SLIT_VIS   "SKY_SLIT_VIS"

Definition at line 503 of file xsh_dfs.h.

#define XSH_SKY_SUB_BKPTS   "SKY_SUB_BKPTS"

Definition at line 240 of file xsh_dfs.h.

Referenced by xsh_slit_stare_get_calibs().

#define XSH_SKY_SUB_BKPTS_NIR   "SKY_SUB_BKPTS_NIR"

Definition at line 243 of file xsh_dfs.h.

#define XSH_SKY_SUB_BKPTS_UVB   "SKY_SUB_BKPTS_UVB"

Definition at line 241 of file xsh_dfs.h.

#define XSH_SKY_SUB_BKPTS_VIS   "SKY_SUB_BKPTS_VIS"

Definition at line 242 of file xsh_dfs.h.

#define XSH_SKY_TAB_MULT   "SKY_TAB_MULT"

Definition at line 1068 of file xsh_dfs.h.

Referenced by xsh_util_physmod_model_THE_create().

#define XSH_SKY_TAB_MULT_NIR   "SKY_TAB_MULT_NIR"

Definition at line 1071 of file xsh_dfs.h.

#define XSH_SKY_TAB_MULT_UVB   "SKY_TAB_MULT_UVB"

Definition at line 1069 of file xsh_dfs.h.

#define XSH_SKY_TAB_MULT_VIS   "SKY_TAB_MULT_VIS"

Definition at line 1070 of file xsh_dfs.h.

#define XSH_SKY_TAB_SING   "SKY_TAB_SING"

Definition at line 1074 of file xsh_dfs.h.

Referenced by xsh_util_physmod_model_THE_create().

#define XSH_SKY_TAB_SING_NIR   "SKY_TAB_SING_NIR"

Definition at line 1077 of file xsh_dfs.h.

#define XSH_SKY_TAB_SING_UVB   "SKY_TAB_SING_UVB"

Definition at line 1075 of file xsh_dfs.h.

#define XSH_SKY_TAB_SING_VIS   "SKY_TAB_SING_VIS"

Definition at line 1076 of file xsh_dfs.h.

#define XSH_SLICE_OFFSET   "SLICE_OFFSET_TABLE"

Definition at line 580 of file xsh_dfs.h.

Referenced by xsh_scired_ifu_offset(), and xsh_slice_offset_save().

#define XSH_SLICE_OFFSET_NIR   "SLICE_OFFSET_TABLE_NIR"

Definition at line 1085 of file xsh_dfs.h.

#define XSH_SLICE_OFFSET_UVB   "SLICE_OFFSET_TABLE_UVB"

Definition at line 1084 of file xsh_dfs.h.

#define XSH_SLICE_OFFSET_VIS   "SLICE_OFFSET_TABLE_VIS"

Definition at line 1083 of file xsh_dfs.h.

#define XSH_SLIT_BIN_SIZE_AUTO_PIPE_NIR   0.21

Definition at line 73 of file xsh_dfs.h.

#define XSH_SLIT_BIN_SIZE_AUTO_PIPE_UVB   0.16

Definition at line 71 of file xsh_dfs.h.

#define XSH_SLIT_BIN_SIZE_AUTO_PIPE_VIS   0.16

Definition at line 72 of file xsh_dfs.h.

#define XSH_SLIT_BIN_SIZE_BROAD_SLIT_NIR   0.21

Definition at line 91 of file xsh_dfs.h.

#define XSH_SLIT_BIN_SIZE_BROAD_SLIT_UVB   0.16

Definition at line 89 of file xsh_dfs.h.

#define XSH_SLIT_BIN_SIZE_BROAD_SLIT_VIS   0.16

Definition at line 90 of file xsh_dfs.h.

#define XSH_SLIT_BIN_SIZE_NARROW_SLIT_NIR   0.21

Definition at line 82 of file xsh_dfs.h.

Referenced by xsh_util_ifu_build_cube().

#define XSH_SLIT_BIN_SIZE_NARROW_SLIT_UVB   0.16

Definition at line 80 of file xsh_dfs.h.

Referenced by xsh_util_ifu_build_cube().

#define XSH_SLIT_BIN_SIZE_NARROW_SLIT_VIS   0.16

Definition at line 81 of file xsh_dfs.h.

Referenced by xsh_util_ifu_build_cube().

#define XSH_SLIT_BIN_SIZE_PIPE_NIR   XSH_SLIT_BIN_SIZE_BROAD_SLIT_NIR

Definition at line 100 of file xsh_dfs.h.

Referenced by xsh_absorp_create(), and xsh_rectify_params_set_defaults().

#define XSH_SLIT_BIN_SIZE_PIPE_UVB   XSH_SLIT_BIN_SIZE_BROAD_SLIT_UVB

Definition at line 98 of file xsh_dfs.h.

Referenced by xsh_rectify_params_set_defaults().

#define XSH_SLIT_BIN_SIZE_PIPE_VIS   XSH_SLIT_BIN_SIZE_BROAD_SLIT_VIS

Definition at line 99 of file xsh_dfs.h.

Referenced by xsh_rectify_params_set_defaults().

#define XSH_SLIT_MAP   "SLIT_MAP"
#define XSH_SLIT_MAP_MODEL   "SLIT_MAP"
#define XSH_SLIT_MAP_MODEL_NIR   "SLIT_MAP_NIR"

Definition at line 138 of file xsh_dfs.h.

#define XSH_SLIT_MAP_MODEL_UVB   "SLIT_MAP_UVB"

Definition at line 136 of file xsh_dfs.h.

#define XSH_SLIT_MAP_MODEL_VIS   "SLIT_MAP_VIS"

Definition at line 137 of file xsh_dfs.h.

#define XSH_SLIT_MAP_NIR   "SLIT_MAP_NIR"

Definition at line 879 of file xsh_dfs.h.

#define XSH_SLIT_MAP_POLY   "SLIT_MAP"

Definition at line 140 of file xsh_dfs.h.

Referenced by xsh_create_map(), xsh_create_poly_wavemap(), and xsh_wavemap_list_save_poly().

#define XSH_SLIT_MAP_POLY_NIR   "SLIT_MAP_NIR"

Definition at line 143 of file xsh_dfs.h.

#define XSH_SLIT_MAP_POLY_UVB   "SLIT_MAP_UVB"

Definition at line 141 of file xsh_dfs.h.

#define XSH_SLIT_MAP_POLY_VIS   "SLIT_MAP_VIS"

Definition at line 142 of file xsh_dfs.h.

#define XSH_SLIT_MAP_UVB   "SLIT_MAP_UVB"

Definition at line 877 of file xsh_dfs.h.

#define XSH_SLIT_MAP_VIS   "SLIT_MAP_VIS"

Definition at line 878 of file xsh_dfs.h.

#define XSH_SLIT_STARE_REMOVE_CRH   "SLIT_STARE_REMOVE_CRH"

Definition at line 145 of file xsh_dfs.h.

Referenced by xsh_absorp(), xsh_geom_ifu(), xsh_scired_ifu_stare(), and xsh_scired_slit_stare().

#define XSH_SLIT_STARE_REMOVE_CRH_NIR   "SLIT_STARE_REMOVE_CRH_NIR"

Definition at line 148 of file xsh_dfs.h.

#define XSH_SLIT_STARE_REMOVE_CRH_UVB   "SLIT_STARE_REMOVE_CRH_UVB"

Definition at line 146 of file xsh_dfs.h.

#define XSH_SLIT_STARE_REMOVE_CRH_VIS   "SLIT_STARE_REMOVE_CRH_VIS"

Definition at line 147 of file xsh_dfs.h.

#define XSH_SPECTRAL_FORMAT   "SPECTRAL_FORMAT_TAB_"
#define XSH_SPECTRAL_FORMAT_JH_NIR   "SPECTRAL_FORMAT_TAB_JH_NIR"

Definition at line 1169 of file xsh_dfs.h.

Referenced by xsh_find_spectral_format().

#define XSH_SPECTRAL_FORMAT_NIR   "SPECTRAL_FORMAT_TAB_NIR"

Definition at line 1162 of file xsh_dfs.h.

#define XSH_SPECTRAL_FORMAT_UVB   "SPECTRAL_FORMAT_TAB_UVB"

Definition at line 1163 of file xsh_dfs.h.

#define XSH_SPECTRAL_FORMAT_VIS   "SPECTRAL_FORMAT_TAB_VIS"

Definition at line 1164 of file xsh_dfs.h.

#define XSH_STD_FLUX ( arm   ) 
Value:
(arm) == XSH_ARM_UVB ? "STD_FLUX_STARE_UVB" :    \
  (arm) == XSH_ARM_VIS ? "STD_FLUX_STARE_VIS" :    \
  (arm) == XSH_ARM_NIR ? "STD_FLUX_STARE_NIR" : "??TAG??"

Definition at line 1464 of file xsh_dfs.h.

#define XSH_STD_FLUX_IFU_OFFSET   "STD_FLUX_IFU_OFFSET"
#define XSH_STD_FLUX_IFU_OFFSET_NIR   "STD_FLUX_IFU_OFFSET_NIR"

Definition at line 481 of file xsh_dfs.h.

#define XSH_STD_FLUX_IFU_OFFSET_UVB   "STD_FLUX_IFU_OFFSET_UVB"

Definition at line 479 of file xsh_dfs.h.

#define XSH_STD_FLUX_IFU_OFFSET_VIS   "STD_FLUX_IFU_OFFSET_VIS"

Definition at line 480 of file xsh_dfs.h.

#define XSH_STD_FLUX_IFU_STARE   "STD_FLUX_IFU_STARE"

Definition at line 434 of file xsh_dfs.h.

Referenced by xsh_scired_ifu_stare().

#define XSH_STD_FLUX_IFU_STARE_NIR   "STD_FLUX_IFU_STARE_NIR"

Definition at line 437 of file xsh_dfs.h.

#define XSH_STD_FLUX_IFU_STARE_UVB   "STD_FLUX_IFU_STARE_UVB"

Definition at line 435 of file xsh_dfs.h.

#define XSH_STD_FLUX_IFU_STARE_VIS   "STD_FLUX_IFU_STARE_VIS"

Definition at line 436 of file xsh_dfs.h.

#define XSH_STD_FLUX_NOD   "STD_FLUX_NOD"

Definition at line 483 of file xsh_dfs.h.

#define XSH_STD_FLUX_NOD_NIR   "STD_FLUX_NOD_NIR"

Definition at line 486 of file xsh_dfs.h.

#define XSH_STD_FLUX_NOD_UVB   "STD_FLUX_NOD_UVB"

Definition at line 484 of file xsh_dfs.h.

#define XSH_STD_FLUX_NOD_VIS   "STD_FLUX_NOD_VIS"

Definition at line 485 of file xsh_dfs.h.

#define XSH_STD_FLUX_OFFSET ( arm   ) 
Value:
(arm) == XSH_ARM_UVB ? "STD_FLUX_SLIT_OFFSET_UVB" :    \
  (arm) == XSH_ARM_VIS ? "STD_FLUX_SLIT_OFFSET_VIS" :    \
  (arm) == XSH_ARM_NIR ? "STD_FLUX_SLIT_OFFSET_NIR" : "??TAG??"

Definition at line 1458 of file xsh_dfs.h.

Referenced by xsh_find_std_flux().

#define XSH_STD_FLUX_SLIT ( arm   ) 
Value:
(arm) == XSH_ARM_UVB ? "STD_FLUX_SLIT_STARE_UVB" :    \
  (arm) == XSH_ARM_VIS ? "STD_FLUX_SLIT_STARE_VIS" :    \
  (arm) == XSH_ARM_NIR ? "STD_FLUX_SLIT_STARE_NIR" : "??TAG??"

Definition at line 1447 of file xsh_dfs.h.

Referenced by xsh_find_std_flux().

#define XSH_STD_FLUX_SLIT_NOD   "STD_FLUX_SLIT_NOD"

Definition at line 465 of file xsh_dfs.h.

Referenced by xsh_respon_slit_nod(), and xsh_scired_slit_nod().

#define XSH_STD_FLUX_SLIT_NOD_NIR   "STD_FLUX_SLIT_NOD_NIR"

Definition at line 468 of file xsh_dfs.h.

#define XSH_STD_FLUX_SLIT_NOD_UVB   "STD_FLUX_SLIT_NOD_UVB"

Definition at line 466 of file xsh_dfs.h.

#define XSH_STD_FLUX_SLIT_NOD_VIS   "STD_FLUX_SLIT_NOD_VIS"

Definition at line 467 of file xsh_dfs.h.

#define XSH_STD_FLUX_SLIT_OFFSET   "STD_FLUX_SLIT_OFFSET"
#define XSH_STD_FLUX_SLIT_OFFSET_NIR   "STD_FLUX_SLIT_OFFSET_NIR"

Definition at line 475 of file xsh_dfs.h.

#define XSH_STD_FLUX_SLIT_OFFSET_UVB   "STD_FLUX_SLIT_OFFSET_UVB"

Definition at line 473 of file xsh_dfs.h.

#define XSH_STD_FLUX_SLIT_OFFSET_VIS   "STD_FLUX_SLIT_OFFSET_VIS"

Definition at line 474 of file xsh_dfs.h.

#define XSH_STD_FLUX_SLIT_STARE   "STD_FLUX_SLIT_STARE"
#define XSH_STD_FLUX_SLIT_STARE_MERGE1D   "STD_FLUX_SLIT_STARE_MERGE1D"

Definition at line 296 of file xsh_dfs.h.

#define XSH_STD_FLUX_SLIT_STARE_MERGE1D_NIR   "STD_FLUX_SLIT_STARE_MERGE1D_NIR"

Definition at line 299 of file xsh_dfs.h.

#define XSH_STD_FLUX_SLIT_STARE_MERGE1D_UVB   "STD_FLUX_SLIT_STARE_MERGE1D_UVB"

Definition at line 297 of file xsh_dfs.h.

#define XSH_STD_FLUX_SLIT_STARE_MERGE1D_VIS   "STD_FLUX_SLIT_STARE_MERGE1D_VIS"

Definition at line 298 of file xsh_dfs.h.

#define XSH_STD_FLUX_SLIT_STARE_NIR   "STD_FLUX_SLIT_STARE_NIR"

Definition at line 431 of file xsh_dfs.h.

#define XSH_STD_FLUX_SLIT_STARE_ORDER1D   "STD_FLUX_SLIT_STARE_ORDER1D"

Definition at line 290 of file xsh_dfs.h.

Referenced by xsh_utils_efficiency().

#define XSH_STD_FLUX_SLIT_STARE_ORDER1D_NIR   "STD_FLUX_SLIT_STARE_ORDER1D_NIR"

Definition at line 293 of file xsh_dfs.h.

#define XSH_STD_FLUX_SLIT_STARE_ORDER1D_UVB   "STD_FLUX_SLIT_STARE_ORDER1D_UVB"

Definition at line 291 of file xsh_dfs.h.

#define XSH_STD_FLUX_SLIT_STARE_ORDER1D_VIS   "STD_FLUX_SLIT_STARE_ORDER1D_VIS"

Definition at line 292 of file xsh_dfs.h.

#define XSH_STD_FLUX_SLIT_STARE_UVB   "STD_FLUX_SLIT_STARE_UVB"

Definition at line 429 of file xsh_dfs.h.

#define XSH_STD_FLUX_SLIT_STARE_VIS   "STD_FLUX_SLIT_STARE_VIS"

Definition at line 430 of file xsh_dfs.h.

#define XSH_STD_STAR_FLUX ( arm   ) 
Value:
(arm) == XSH_ARM_UVB ? "STD_STAR_FLUX_UVB" :    \
  (arm) == XSH_ARM_VIS ? "STD_STAR_FLUX_VIS" :    \
  (arm) == XSH_ARM_NIR ? "STD_STAR_FLUX_NIR" : "??TAG??"

Definition at line 1469 of file xsh_dfs.h.

Referenced by xsh_find_std_star_flux().

#define XSH_STD_STAR_FLUX_NIR   "STD_STAR_FLUX_NIR"

Definition at line 1155 of file xsh_dfs.h.

#define XSH_STD_STAR_FLUX_UVB   "STD_STAR_FLUX_UVB"

Definition at line 1153 of file xsh_dfs.h.

#define XSH_STD_STAR_FLUX_VIS   "STD_STAR_FLUX_VIS"

Definition at line 1154 of file xsh_dfs.h.

#define XSH_STD_TELL_IFU_OFFSET   "STD_TELL_IFU_OFFSET"

Definition at line 454 of file xsh_dfs.h.

Referenced by xsh_scired_ifu_offset().

#define XSH_STD_TELL_IFU_OFFSET_NIR   "STD_TELL_IFU_OFFSET_NIR"

Definition at line 457 of file xsh_dfs.h.

#define XSH_STD_TELL_IFU_OFFSET_UVB   "STD_TELL_IFU_OFFSET_UVB"

Definition at line 455 of file xsh_dfs.h.

#define XSH_STD_TELL_IFU_OFFSET_VIS   "STD_TELL_IFU_OFFSET_VIS"

Definition at line 456 of file xsh_dfs.h.

#define XSH_STD_TELL_IFU_STARE   "STD_TELL_IFU_STARE"

Definition at line 448 of file xsh_dfs.h.

Referenced by xsh_scired_ifu_stare().

#define XSH_STD_TELL_IFU_STARE_NIR   "STD_TELL_IFU_STARE_NIR"

Definition at line 451 of file xsh_dfs.h.

#define XSH_STD_TELL_IFU_STARE_UVB   "STD_TELL_IFU_STARE_UVB"

Definition at line 449 of file xsh_dfs.h.

#define XSH_STD_TELL_IFU_STARE_VIS   "STD_TELL_IFU_STARE_VIS"

Definition at line 450 of file xsh_dfs.h.

#define XSH_STD_TELL_OFFSET ( arm   ) 
Value:
(arm) == XSH_ARM_UVB ? "STD_TELL_SLIT_OFFSET_UVB" :    \
  (arm) == XSH_ARM_VIS ? "STD_TELL_SLIT_OFFSET_VIS" :    \
  (arm) == XSH_ARM_NIR ? "STD_TELL_SLIT_OFFSET_NIR" : "??TAG??"

Definition at line 1453 of file xsh_dfs.h.

Referenced by xsh_find_std_flux().

#define XSH_STD_TELL_SLIT ( arm   ) 
Value:
(arm) == XSH_ARM_UVB ? "STD_TELL_SLIT_STARE_UVB" :    \
  (arm) == XSH_ARM_VIS ? "STD_TELL_SLIT_STARE_VIS" :    \
  (arm) == XSH_ARM_NIR ? "STD_TELL_SLIT_STARE_NIR" : "??TAG??"

Definition at line 1442 of file xsh_dfs.h.

Referenced by xsh_find_std_flux().

#define XSH_STD_TELL_SLIT_NIR   "STD_TELL_SLIT_NIR"

Definition at line 426 of file xsh_dfs.h.

#define XSH_STD_TELL_SLIT_NOD   "STD_TELL_SLIT_NOD"

Definition at line 460 of file xsh_dfs.h.

Referenced by xsh_respon_slit_nod(), and xsh_scired_slit_nod().

#define XSH_STD_TELL_SLIT_NOD_NIR   "STD_TELL_SLIT_NOD_NIR"

Definition at line 463 of file xsh_dfs.h.

#define XSH_STD_TELL_SLIT_NOD_UVB   "STD_TELL_SLIT_NOD_UVB"

Definition at line 461 of file xsh_dfs.h.

#define XSH_STD_TELL_SLIT_NOD_VIS   "STD_TELL_SLIT_NOD_VIS"

Definition at line 462 of file xsh_dfs.h.

#define XSH_STD_TELL_SLIT_STARE   "STD_TELL_SLIT_STARE"
#define XSH_STD_TELL_SLIT_STARE_NIR   "STD_TELL_SLIT_STARE_NIR"

Definition at line 444 of file xsh_dfs.h.

#define XSH_STD_TELL_SLIT_STARE_UVB   "STD_TELL_SLIT_STARE_UVB"

Definition at line 442 of file xsh_dfs.h.

#define XSH_STD_TELL_SLIT_STARE_VIS   "STD_TELL_SLIT_STARE_VIS"

Definition at line 443 of file xsh_dfs.h.

#define XSH_STD_TELL_SLIT_UVB   "STD_TELL_SLIT_UVB"

Definition at line 424 of file xsh_dfs.h.

#define XSH_STD_TELL_SLIT_VIS   "STD_TELL_SLIT_VIS"

Definition at line 425 of file xsh_dfs.h.

#define XSH_TELL_LINE_LIST   "TELL_LINE_LIST"

Definition at line 1108 of file xsh_dfs.h.

Referenced by xsh_absorp().

#define XSH_TELL_LINE_LIST_NIR   "TELL_LINE_LIST_NIR"

Definition at line 1111 of file xsh_dfs.h.

#define XSH_TELL_LINE_LIST_UVB   "TELL_LINE_LIST_UVB"

Definition at line 1109 of file xsh_dfs.h.

#define XSH_TELL_LINE_LIST_VIS   "TELL_LINE_LIST_VIS"

Definition at line 1110 of file xsh_dfs.h.

#define XSH_TELL_MASK   "TELL_MASK"
#define XSH_TELL_MASK_NIR   "TELL_MASK_NIR"

Definition at line 1151 of file xsh_dfs.h.

#define XSH_TELL_MASK_UVB   "TELL_MASK_UVB"

Definition at line 1149 of file xsh_dfs.h.

#define XSH_TELL_MASK_VIS   "TELL_MASK_VIS"

Definition at line 1150 of file xsh_dfs.h.

#define XSH_TELL_MOD_CAT   "TELL_MOD_CAT"
#define XSH_TELL_MOD_CAT_NIR   "TELL_MOD_CAT_NIR"

Definition at line 173 of file xsh_dfs.h.

#define XSH_TELL_MOD_CAT_UVB   "TELL_MOD_CAT_UVB"

Definition at line 171 of file xsh_dfs.h.

#define XSH_TELL_MOD_CAT_VIS   "TELL_MOD_CAT_VIS"

Definition at line 172 of file xsh_dfs.h.

#define XSH_THEO_TAB_IFU   "THEO_TAB_IFU"

Definition at line 1063 of file xsh_dfs.h.

Referenced by xsh_find_theo_tab_mode(), and xsh_util_physmod().

#define XSH_THEO_TAB_IFU_NIR   "THEO_TAB_IFU_NIR"

Definition at line 1066 of file xsh_dfs.h.

#define XSH_THEO_TAB_IFU_UVB   "THEO_TAB_IFU_UVB"

Definition at line 1064 of file xsh_dfs.h.

#define XSH_THEO_TAB_IFU_VIS   "THEO_TAB_IFU_VIS"

Definition at line 1065 of file xsh_dfs.h.

#define XSH_THEO_TAB_MULT   "THEO_TAB_MULT"
#define XSH_THEO_TAB_MULT_NIR   "THEO_TAB_MULT_NIR"

Definition at line 1061 of file xsh_dfs.h.

#define XSH_THEO_TAB_MULT_UVB   "THEO_TAB_MULT_UVB"

Definition at line 1059 of file xsh_dfs.h.

#define XSH_THEO_TAB_MULT_VIS   "THEO_TAB_MULT_VIS"

Definition at line 1060 of file xsh_dfs.h.

#define XSH_THEO_TAB_SING   "THEO_TAB_SING"
#define XSH_THEO_TAB_SING_NIR   "THEO_TAB_SING_NIR"

Definition at line 1056 of file xsh_dfs.h.

#define XSH_THEO_TAB_SING_UVB   "THEO_TAB_SING_UVB"

Definition at line 1054 of file xsh_dfs.h.

#define XSH_THEO_TAB_SING_VIS   "THEO_TAB_SING_VIS"

Definition at line 1055 of file xsh_dfs.h.

#define XSH_TILT_TAB   "TILT_TAB"

Definition at line 550 of file xsh_dfs.h.

Referenced by xsh_linetilt_list_save().

#define XSH_TILT_TAB_CEN_IFU   "TILT_TAB_CEN_IFU"

Definition at line 552 of file xsh_dfs.h.

#define XSH_TILT_TAB_DOWN_IFU   "TILT_TAB_DOWN_IFU"

Definition at line 551 of file xsh_dfs.h.

#define XSH_TILT_TAB_IFU_NIR   "TILT_TAB_IFU_NIR"

Definition at line 863 of file xsh_dfs.h.

#define XSH_TILT_TAB_IFU_UVB   "TILT_TAB_IFU_UVB"

Definition at line 861 of file xsh_dfs.h.

#define XSH_TILT_TAB_IFU_VIS   "TILT_TAB_IFU_VIS"

Definition at line 862 of file xsh_dfs.h.

#define XSH_TILT_TAB_SLIT_NIR   "TILT_TAB_SLIT_NIR"

Definition at line 860 of file xsh_dfs.h.

#define XSH_TILT_TAB_SLIT_UVB   "TILT_TAB_SLIT_UVB"

Definition at line 858 of file xsh_dfs.h.

#define XSH_TILT_TAB_SLIT_VIS   "TILT_TAB_SLIT_VIS"

Definition at line 859 of file xsh_dfs.h.

#define XSH_TILT_TAB_UP_IFU   "TILT_TAB_UP_IFU"

Definition at line 553 of file xsh_dfs.h.

#define XSH_TRACE   "TRACE"

Definition at line 128 of file xsh_dfs.h.

Referenced by xsh_geom_ifu().

#define XSH_TRACE_NIR   "TRACE_NIR"

Definition at line 422 of file xsh_dfs.h.

#define XSH_TRACE_UVB   "TRACE_UVB"

Definition at line 420 of file xsh_dfs.h.

#define XSH_TRACE_VIS   "TRACE_VIS"

Definition at line 421 of file xsh_dfs.h.

#define XSH_UTIL_GENCONFIG_RAW   "CONFIG"

Definition at line 1263 of file xsh_dfs.h.

#define XSH_WAVE   "WAVE"

Definition at line 214 of file xsh_dfs.h.

Referenced by xsh_2dmap().

#define XSH_WAVE_BIN_SIZE_AUTO_PIPE_NIR   0.1

Definition at line 77 of file xsh_dfs.h.

#define XSH_WAVE_BIN_SIZE_AUTO_PIPE_UVB   0.04

Definition at line 75 of file xsh_dfs.h.

#define XSH_WAVE_BIN_SIZE_AUTO_PIPE_VIS   0.04

Definition at line 76 of file xsh_dfs.h.

#define XSH_WAVE_BIN_SIZE_BROAD_SLIT_NIR   0.06

Definition at line 95 of file xsh_dfs.h.

#define XSH_WAVE_BIN_SIZE_BROAD_SLIT_UVB   0.02

Definition at line 93 of file xsh_dfs.h.

#define XSH_WAVE_BIN_SIZE_BROAD_SLIT_VIS   0.02

Definition at line 94 of file xsh_dfs.h.

#define XSH_WAVE_BIN_SIZE_NARROW_SLIT_NIR   0.06

Definition at line 86 of file xsh_dfs.h.

Referenced by xsh_util_ifu_build_cube().

#define XSH_WAVE_BIN_SIZE_NARROW_SLIT_UVB   0.015

Definition at line 84 of file xsh_dfs.h.

Referenced by xsh_util_ifu_build_cube().

#define XSH_WAVE_BIN_SIZE_NARROW_SLIT_VIS   0.015

Definition at line 85 of file xsh_dfs.h.

Referenced by xsh_util_ifu_build_cube().

#define XSH_WAVE_BIN_SIZE_PIPE_NIR   XSH_WAVE_BIN_SIZE_BROAD_SLIT_NIR

Definition at line 104 of file xsh_dfs.h.

Referenced by xsh_absorp_create(), and xsh_rectify_params_set_defaults().

#define XSH_WAVE_BIN_SIZE_PIPE_UVB   XSH_WAVE_BIN_SIZE_BROAD_SLIT_UVB

Definition at line 102 of file xsh_dfs.h.

Referenced by xsh_rectify_params_set_defaults().

#define XSH_WAVE_BIN_SIZE_PIPE_VIS   XSH_WAVE_BIN_SIZE_BROAD_SLIT_VIS

Definition at line 103 of file xsh_dfs.h.

Referenced by xsh_rectify_params_set_defaults().

#define XSH_WAVE_MAP   "WAVE_MAP"
#define XSH_WAVE_MAP_D2_IFU_UVB   "WAVE_MAP_D2_IFU_UVB"

Definition at line 909 of file xsh_dfs.h.

#define XSH_WAVE_MAP_D2_SLIT_UVB   "WAVE_MAP_D2_SLIT_UVB"

Definition at line 903 of file xsh_dfs.h.

#define XSH_WAVE_MAP_IFU_NIR   "WAVE_MAP_IFU_NIR"

Definition at line 911 of file xsh_dfs.h.

#define XSH_WAVE_MAP_IFU_UVB   "WAVE_MAP_IFU_UVB"

Definition at line 907 of file xsh_dfs.h.

#define XSH_WAVE_MAP_IFU_VIS   "WAVE_MAP_IFU_VIS"

Definition at line 910 of file xsh_dfs.h.

#define XSH_WAVE_MAP_MODEL   "WAVE_MAP"
#define XSH_WAVE_MAP_MODEL_NIR   "WAVE_MAP_NIR"

Definition at line 895 of file xsh_dfs.h.

#define XSH_WAVE_MAP_MODEL_UVB   "WAVE_MAP_UVB"

Definition at line 893 of file xsh_dfs.h.

#define XSH_WAVE_MAP_MODEL_VIS   "WAVE_MAP_VIS"

Definition at line 894 of file xsh_dfs.h.

#define XSH_WAVE_MAP_NIR   "WAVE_MAP_NIR"

Definition at line 900 of file xsh_dfs.h.

#define XSH_WAVE_MAP_POLY   "WAVE_MAP"

Definition at line 887 of file xsh_dfs.h.

Referenced by xsh_create_map().

#define XSH_WAVE_MAP_POLY_NIR   "WAVE_MAP_NIR"

Definition at line 890 of file xsh_dfs.h.

#define XSH_WAVE_MAP_POLY_UVB   "WAVE_MAP_UVB"

Definition at line 888 of file xsh_dfs.h.

#define XSH_WAVE_MAP_POLY_VIS   "WAVE_MAP_VIS"

Definition at line 889 of file xsh_dfs.h.

#define XSH_WAVE_MAP_QTH_IFU_UVB   "WAVE_MAP_QTH_IFU_UVB"

Definition at line 908 of file xsh_dfs.h.

#define XSH_WAVE_MAP_QTH_SLIT_UVB   "WAVE_MAP_QTH_SLIT_UVB"

Definition at line 902 of file xsh_dfs.h.

#define XSH_WAVE_MAP_SLIT_NIR   "WAVE_MAP_SLIT_NIR"

Definition at line 906 of file xsh_dfs.h.

#define XSH_WAVE_MAP_SLIT_UVB   "WAVE_MAP_SLIT_UVB"

Definition at line 904 of file xsh_dfs.h.

#define XSH_WAVE_MAP_SLIT_VIS   "WAVE_MAP_SLIT_VIS"

Definition at line 905 of file xsh_dfs.h.

#define XSH_WAVE_MAP_UVB   "WAVE_MAP_UVB"

Definition at line 898 of file xsh_dfs.h.

#define XSH_WAVE_MAP_VIS   "WAVE_MAP_VIS"

Definition at line 899 of file xsh_dfs.h.

#define XSH_WAVE_NIR   "WAVE_NIR_ON"

Definition at line 407 of file xsh_dfs.h.

#define XSH_WAVE_OFF   "WAVE_NIR_OFF"

Definition at line 408 of file xsh_dfs.h.

#define XSH_WAVE_TAB_2D   "WAVE_TAB_2D"
#define XSH_WAVE_TAB_2D_NIR   "WAVE_TAB_2D_NIR"

Definition at line 699 of file xsh_dfs.h.

#define XSH_WAVE_TAB_2D_UVB   "WAVE_TAB_2D_UVB"

Definition at line 697 of file xsh_dfs.h.

#define XSH_WAVE_TAB_2D_VIS   "WAVE_TAB_2D_VIS"

Definition at line 698 of file xsh_dfs.h.

#define XSH_WAVE_TAB_AFC   "WAVE_TAB_AFC"
#define XSH_WAVE_TAB_AFC_NIR   "WAVE_TAB_AFC_NIR"

Definition at line 702 of file xsh_dfs.h.

#define XSH_WAVE_TAB_AFC_UVB   "WAVE_TAB_AFC_UVB"

Definition at line 700 of file xsh_dfs.h.

#define XSH_WAVE_TAB_AFC_VIS   "WAVE_TAB_AFC_VIS"

Definition at line 701 of file xsh_dfs.h.

#define XSH_WAVE_TAB_ARC   "WAVE_TAB_ARC"

Definition at line 537 of file xsh_dfs.h.

Referenced by xsh_find_wave_tab().

#define XSH_WAVE_TAB_ARC_CEN_IFU   "WAVE_TAB_ARC_CEN_IFU"

Definition at line 539 of file xsh_dfs.h.

Referenced by xsh_find_wave_tab_ifu(), and xsh_ifu_wavetab_create().

#define XSH_WAVE_TAB_ARC_CEN_IFU_NIR   "WAVE_TAB_ARC_CEN_IFU_NIR"

Definition at line 720 of file xsh_dfs.h.

#define XSH_WAVE_TAB_ARC_CEN_IFU_UVB   "WAVE_TAB_ARC_CEN_IFU_UVB"

Definition at line 710 of file xsh_dfs.h.

#define XSH_WAVE_TAB_ARC_CEN_IFU_VIS   "WAVE_TAB_ARC_CEN_IFU_VIS"

Definition at line 715 of file xsh_dfs.h.

#define XSH_WAVE_TAB_ARC_DOWN_IFU   "WAVE_TAB_ARC_DOWN_IFU"

Definition at line 538 of file xsh_dfs.h.

Referenced by xsh_find_wave_tab_ifu(), and xsh_ifu_wavetab_create().

#define XSH_WAVE_TAB_ARC_DOWN_IFU_NIR   "WAVE_TAB_ARC_DOWN_IFU_NIR"

Definition at line 719 of file xsh_dfs.h.

#define XSH_WAVE_TAB_ARC_DOWN_IFU_UVB   "WAVE_TAB_ARC_DOWN_IFU_UVB"

Definition at line 709 of file xsh_dfs.h.

#define XSH_WAVE_TAB_ARC_DOWN_IFU_VIS   "WAVE_TAB_ARC_DOWN_IFU_VIS"

Definition at line 714 of file xsh_dfs.h.

#define XSH_WAVE_TAB_ARC_IFU_NIR   "WAVE_TAB_ARC_IFU_NIR"

Definition at line 718 of file xsh_dfs.h.

#define XSH_WAVE_TAB_ARC_IFU_UVB   "WAVE_TAB_ARC_IFU_UVB"

Definition at line 708 of file xsh_dfs.h.

#define XSH_WAVE_TAB_ARC_IFU_VIS   "WAVE_TAB_ARC_IFU_VIS"

Definition at line 713 of file xsh_dfs.h.

#define XSH_WAVE_TAB_ARC_SLIT_NIR   "WAVE_TAB_ARC_SLIT_NIR"

Definition at line 705 of file xsh_dfs.h.

#define XSH_WAVE_TAB_ARC_SLIT_UVB   "WAVE_TAB_ARC_SLIT_UVB"

Definition at line 703 of file xsh_dfs.h.

#define XSH_WAVE_TAB_ARC_SLIT_VIS   "WAVE_TAB_ARC_SLIT_VIS"

Definition at line 704 of file xsh_dfs.h.

#define XSH_WAVE_TAB_ARC_UP_IFU   "WAVE_TAB_ARC_UP_IFU"

Definition at line 540 of file xsh_dfs.h.

Referenced by xsh_find_wave_tab_ifu(), and xsh_ifu_wavetab_create().

#define XSH_WAVE_TAB_ARC_UP_IFU_NIR   "WAVE_TAB_ARC_UP_IFU_NIR"

Definition at line 721 of file xsh_dfs.h.

#define XSH_WAVE_TAB_ARC_UP_IFU_UVB   "WAVE_TAB_ARC_UP_IFU_UVB"

Definition at line 711 of file xsh_dfs.h.

#define XSH_WAVE_TAB_ARC_UP_IFU_VIS   "WAVE_TAB_ARC_UP_IFU_VIS"

Definition at line 716 of file xsh_dfs.h.

#define XSH_WAVE_TAB_GUESS   "WAVE_TAB_GUESS"
#define XSH_WAVE_TAB_GUESS_NIR   "WAVE_TAB_GUESS_NIR"

Definition at line 696 of file xsh_dfs.h.

#define XSH_WAVE_TAB_GUESS_UVB   "WAVE_TAB_GUESS_UVB"

Definition at line 694 of file xsh_dfs.h.

#define XSH_WAVE_TAB_GUESS_VIS   "WAVE_TAB_GUESS_VIS"

Definition at line 695 of file xsh_dfs.h.

#define XSH_WAVE_UVB   "WAVE_UVB"

Definition at line 405 of file xsh_dfs.h.

#define XSH_WAVE_VIS   "WAVE_VIS"

Definition at line 406 of file xsh_dfs.h.

#define XSH_WAVECAL   "ARC"

Definition at line 213 of file xsh_dfs.h.

Referenced by xsh_wavecal().

#define XSH_WAVECAL_NIR   "WAVECAL_NIR"

Definition at line 374 of file xsh_dfs.h.


Function Documentation

cpl_error_code xsh_add_afc_info ( cpl_frame *  frm_m,
cpl_frame *  frm_o 
)
void xsh_add_product ( cpl_frame *  frame,
cpl_frameset *  frameset,
const cpl_parameterlist *  parameters,
const char *  recipe_id,
xsh_instrument instrument,
const char *  final_prefix,
const char *  type 
)

Save product

Parameters:
frame Product Frame
frameset Input Frameset
parameters Parameters list
recipe_id Recipe Identification String
instrument Instrument structure
final_prefix Final file name
type of frame (image/imagelist/table)

Definition at line 1664 of file xsh_dfs.c.

References check, check_msg, xsh_instrument::dictionary, xsh_instrument::pipeline_id, xsh_add_product_file(), XSH_ASSURE_NOT_NULL, xsh_create_final_name(), xsh_frame_product(), XSH_FREE, xsh_free_image(), xsh_free_imagelist(), xsh_free_propertylist(), xsh_free_table(), xsh_msg_dbg_low, and xsh_msg_error.

void xsh_add_product_bpmap ( cpl_frame *  frame,
cpl_frameset *  frameset,
const cpl_parameterlist *  parameters,
const char *  recipe_id,
xsh_instrument instrument,
const char *  final_prefix 
)

Save BadPixelMap product

Parameters:
frame Product Frame
frameset Input Frameset
parameters Parameters list
recipe_id Recipe Identification String
instrument Instrument structure
final_prefix Final file name

Definition at line 2195 of file xsh_dfs.c.

References check, check_msg, xsh_instrument::dictionary, xsh_instrument::pipeline_id, xsh_add_product_file(), XSH_ASSURE_NOT_NULL, xsh_create_final_name(), xsh_create_final_tag(), xsh_frame_product(), xsh_free(), XSH_FREE, xsh_free_image(), xsh_free_propertylist(), and xsh_msg_dbg_low.

Referenced by xsh_linear(), and xsh_util_bpmap_nl_raw2pre().

void xsh_add_product_image ( cpl_frame *  frame,
cpl_frameset *  frameset,
const cpl_parameterlist *  parameters,
const char *  recipe_id,
xsh_instrument instrument,
const char *  final_prefix 
)
void xsh_add_product_imagelist ( cpl_frame *  frame,
cpl_frameset *  frameset,
const cpl_parameterlist *  parameters,
const char *  recipe_id,
xsh_instrument instrument,
const char *  final_prefix 
)

Save Image product

Parameters:
frame Product Frame
frameset Input Frameset
parameters Parameters list
recipe_id Recipe Identification String
instrument Instrument structure
final_prefix Final file name

Definition at line 2304 of file xsh_dfs.c.

References check, check_msg, xsh_instrument::dictionary, xsh_instrument::pipeline_id, xsh_add_product_file(), xsh_add_temporary_file(), XSH_ASSURE_NOT_NULL, xsh_create_final_name(), xsh_create_final_tag(), xsh_frame_product(), XSH_FREE, xsh_free(), xsh_free_imagelist(), xsh_free_propertylist(), xsh_msg, xsh_pfits_get_arcfile(), and xsh_pfits_set_pcatg().

Referenced by xsh_build_ifu_cube(), and xsh_util_ifu_build_cube().

void xsh_add_product_pre ( cpl_frame *  frame,
cpl_frameset *  frameset,
const cpl_parameterlist *  parameters,
const char *  recipe_id,
xsh_instrument instr 
)

Add DFS keywords to a product frame.

Parameters:
frame The product frame
frameset The recipe frameset.
parameters The recipe parameter list
recipe_id The recipe name
instr The instrument settings

Mandatory DFS keywords are added by calling cpl_dfs_setup_product_header()

The function performs the following steps

  • Load primary header, infer product type,
  • Load product,
  • Modify primary header by adding DFS keywords,
  • Save product using the new header,
  • Insert the new frame into the frameset.
Note:
A new frame is created and inserted into the frameset. The provided product_frame must still be deallocated.

Definition at line 1986 of file xsh_dfs.c.

References assure, check, xsh_pre::data_header, xsh_instrument::dictionary, xsh_pre::errs_header, xsh_instrument::pipeline_id, xsh_pre::qual_header, xsh_add_product_file(), XSH_ASSURE_NOT_NULL, XSH_FREE, xsh_free_frame(), xsh_free_propertylist(), xsh_pfits_get_arcfile(), xsh_pfits_set_extname(), xsh_plist_set_extra_keys(), xsh_pre_free(), xsh_pre_load(), xsh_pre_save(), XSH_PRODUCT_PREFIX, xsh_sdate_utc(), xsh_stringcat_any(), and xsh_time_stamp_get().

Referenced by xsh_absorp(), xsh_mbias(), xsh_mflat(), xsh_respon_slit_nod(), xsh_scired_slit_nod(), and xsh_scired_slit_stare().

void xsh_add_product_pre_3d ( cpl_frame *  frame,
cpl_frameset *  frameset,
const cpl_parameterlist *  parameters,
const char *  recipe_id,
xsh_instrument instr 
)

Add 3d product frame.

Parameters:
frame The product frame
frameset The recipe frameset.
parameters The recipe parameter list
recipe_id The recipe name
instr The instrument settings

Definition at line 2107 of file xsh_dfs.c.

References assure, check, xsh_pre_3d::data_header, xsh_instrument::dictionary, xsh_instrument::pipeline_id, xsh_add_product_file(), XSH_ASSURE_NOT_NULL, XSH_FREE, xsh_free_frame(), xsh_pre_3d_free(), xsh_pre_3d_load(), xsh_pre_3d_save(), XSH_PRODUCT_PREFIX, xsh_sdate_utc(), xsh_stringcat_any(), and xsh_time_stamp_get().

Referenced by xsh_geom_ifu().

void xsh_add_product_spectrum ( cpl_frame *  frame,
cpl_frameset *  frameset,
const cpl_parameterlist *  parameters,
const char *  recipe_id,
xsh_instrument instr 
)
void xsh_add_product_table ( cpl_frame *  frame,
cpl_frameset *  frameset,
const cpl_parameterlist *  parameters,
const char *  recipe_id,
xsh_instrument instrument,
const char *  final_prefix 
)
void xsh_add_product_vector ( cpl_frame *  frame,
cpl_frameset *  frameset,
const cpl_parameterlist *  parameters,
const char *  recipe_id,
xsh_instrument instrument,
const char *  final_prefix 
)

Save vector product

Parameters:
frame Product Frame
frameset Input Frameset
parameters Parameters list
recipe_id Recipe Identification String
instr Instrument structure

Definition at line 1798 of file xsh_dfs.c.

References check, check_msg, xsh_instrument::dictionary, xsh_instrument::pipeline_id, xsh_add_product_file(), XSH_ASSURE_NOT_NULL, xsh_create_final_name(), xsh_frame_product(), XSH_FREE, xsh_free_frame(), xsh_free_propertylist(), xsh_free_vector(), xsh_msg_dbg_low, and XSH_PRE_QUAL_BPP.

Referenced by xsh_absorp().

cpl_error_code xsh_calib_nir_corr_if_JH ( cpl_frameset *  calib,
xsh_instrument instr,
const char *  recid 
)
cpl_error_code xsh_calib_nir_respon_corr_if_JH ( cpl_frameset *  calib,
xsh_instrument instr 
)
cpl_frameset* xsh_correct_calib ( cpl_frameset *  raws,
cpl_frameset *  calib 
)
cpl_error_code xsh_dfs_check_binning ( cpl_frameset *  raw,
cpl_frameset *  calib 
)
cpl_error_code xsh_dfs_check_mflat_is_proper ( xsh_instrument inst,
cpl_frameset **  calib 
)
cpl_error_code xsh_dfs_extract_calib_frames ( cpl_frameset *  input,
cpl_frameset *  calib 
)

split input sof in groups: raw and calib

Parameters:
input the input set of files
calib the calib files of the input set of files
Returns:
cpl error code

Definition at line 1077 of file xsh_dfs.c.

cpl_error_code xsh_dfs_extract_pro_frames ( cpl_frameset *  input,
cpl_frameset *  pros 
)

split input sof in groups: raw and calib

Parameters:
input the input set of files
pros the product files of the input set of files
Returns:
cpl error code

Definition at line 1103 of file xsh_dfs.c.

References XSH_ASSURE_NOT_NULL_MSG.

Referenced by xsh_lingain().

cpl_error_code xsh_dfs_extract_raw_frames ( cpl_frameset *  input,
cpl_frameset *  raws 
)

split input sof in groups: raw and calib

Parameters:
input the input set of files
raws the raws file of the input set of files
Returns:
cpl error code

Definition at line 1052 of file xsh_dfs.c.

Referenced by xsh_model_first_anneal_save().

int xsh_dfs_files_dont_exist ( cpl_frameset *  frameset  ) 

Check if all SOF files exist.

Parameters:
frameset The input set-of-frames
Returns:
1 if not all files exist, 0 if they all exist.

Definition at line 196 of file xsh_dfs.c.

Referenced by xsh_begin().

void xsh_dfs_filter ( cpl_frameset *  set,
const char *  tags[],
int  size 
)

filter the frameset with the given tag list

Parameters:
set [IN/OUT] The input set of frames
tags the filtered tag list
size size of list
Returns:
void

Definition at line 1432 of file xsh_dfs.c.

References check, XSH_ASSURE_NOT_ILLEGAL, XSH_ASSURE_NOT_NULL, and xsh_dfs_tag_check().

Referenced by xsh_begin().

void xsh_dfs_find_flat ( cpl_frameset *  raws,
cpl_frameset *  flat 
)

find the flat set of files in the input SOF and detect the mode of instrument. This function assure that all flat files have the same tag

Parameters:
raws set of file where we want to do the search
flat frameset contains only flat

Definition at line 1598 of file xsh_dfs.c.

References assure.

xsh_instrument* xsh_dfs_set_groups ( cpl_frameset *  set  ) 

Set the group as RAW or CALIB in a frameset and return the instrument detected.

Parameters:
set the input frameset
Returns:
an instrument structure which contains arm, mode and lamp

Definition at line 980 of file xsh_dfs.c.

References assure, check, check_msg, xsh_instrument::config, instrument, XSH_INSTRCONFIG::order_max, XSH_INSTRCONFIG::order_min, XSH_INSTRCONFIG::orders, XSH_ARM_UNDEFINED, xsh_instrument_arm_tostring(), xsh_instrument_free(), xsh_instrument_get_arm(), xsh_instrument_get_config(), xsh_instrument_mode_tostring(), xsh_instrument_new(), xsh_instrument_parse_tag(), XSH_IS_CALIB, XSH_IS_RAW, xsh_msg, and xsh_msg_error.

Referenced by main(), xsh_begin(), xsh_util_bpmap_coadd(), and xsh_util_ima_arith().

void xsh_dfs_split_in_group ( cpl_frameset *  input,
cpl_frameset *  raws,
cpl_frameset *  calib 
)

split input sof in groups: raw and calib

Parameters:
input the input set of files
raws the raws file of the input set of files
calib the calib files of the input set of files

Definition at line 1129 of file xsh_dfs.c.

References xsh_msg_error.

Referenced by main(), and xsh_begin().

void xsh_dfs_split_nir ( cpl_frameset *  input,
cpl_frameset **  on,
cpl_frameset **  off 
)

split input RAW NIR sof in ON and OFF

Parameters:
[in] input the input RAW NIR set of files
[out] on the on files of the input set of files
[out] off the off files of the input set of files

Definition at line 1220 of file xsh_dfs.c.

References check, XSH_ASSURE_NOT_NULL, xsh_free_frame(), xsh_free_frameset(), xsh_msg_error, and XSH_NEW_FRAMESET.

Referenced by xsh_2dmap(), xsh_geom_ifu(), xsh_mflat(), xsh_predict(), xsh_scired_ifu_stare(), and xsh_wavecal().

int xsh_dfs_split_offset ( cpl_frameset *  input,
const char *  object_tag,
const char *  sky_tag,
cpl_frameset **  object,
cpl_frameset **  sky 
)

split input RAW offset sof in OBJECT_... and SKY_... framesets

Parameters:
[in] input input frameset
[in] object_tag The OBJECT Tag
[in] sky_tag The SKY Tag
[out] object the object files of the input set of files
[out] sky the sky files of the input set of files
Returns:
Number of OBJECT frames (equal nb of SKY frames)

Definition at line 1280 of file xsh_dfs.c.

References check, XSH_ASSURE_NOT_ILLEGAL, XSH_ASSURE_NOT_NULL, xsh_free_frame(), xsh_msg_dbg_medium, xsh_msg_error, and xsh_print_rec_status().

Referenced by xsh_respon_slit_offset(), xsh_scired_ifu_offset(), and xsh_scired_slit_offset().

void xsh_dfs_split_qth_d2 ( cpl_frameset *  input,
cpl_frameset **  qth,
cpl_frameset **  d2 
)

Extracts QTH and D2 frames from input frameset.

Parameters:
input the input set of files
qth frameset with QTH frames
d2 frameset with D2 frames
Returns:
void

Definition at line 1165 of file xsh_dfs.c.

References check, XSH_ASSURE_NOT_NULL, xsh_free_frame(), xsh_free_frameset(), xsh_msg_error, and XSH_NEW_FRAMESET.

Referenced by xsh_mflat().

cpl_error_code xsh_ensure_raws_input_offset_recipe_is_proper ( cpl_frameset **  raws,
xsh_instrument instrument 
)

Make sure input frames is an even number (eventually removes the last from the input list).

Parameters:
raws input value
instrument arm setting
Returns:
cpl_error_code

Definition at line 302 of file xsh_dfs.c.

References assure, check, xsh_frameset_extract(), xsh_frameset_merge(), xsh_free_frameset(), XSH_GET_TAG_FROM_ARM, xsh_instrument_get_mode(), XSH_MODE_IFU, xsh_msg, XSH_OBJECT_IFU_OFFSET, XSH_OBJECT_SLIT_OFFSET, XSH_SKY_IFU, XSH_SKY_SLIT, XSH_STD_FLUX_IFU_OFFSET, and XSH_STD_FLUX_SLIT_OFFSET.

Referenced by xsh_respon_slit_offset(), xsh_scired_ifu_offset(), and xsh_scired_slit_offset().

cpl_error_code xsh_ensure_raws_number_is_even ( cpl_frameset *  raws  ) 

Make sure input frames is an even number (eventually removes the last from the input list).

Parameters:
raws input value
Returns:
cpl_error_code

Definition at line 735 of file xsh_dfs.c.

References check, xsh_free_propertylist(), xsh_get_offsety(), and xsh_msg_warning.

Referenced by xsh_respon_slit_nod(), and xsh_scired_slit_nod().

cpl_frameset* xsh_extract_nod_pairs ( cpl_frameset *  raws,
cpl_vector *  offset 
)

Make sure input frames is composed by nod a-b sequence.

Parameters:
raws input value
offset vector with different offset values
Returns:
frameset with a-b sequence frames

Definition at line 532 of file xsh_dfs.c.

References assure, check, XSH_ASSURE_NOT_NULL_MSG, xsh_frameset_extract_offsety_matches(), xsh_frameset_extract_offsety_mismatches(), xsh_free_frameset(), xsh_free_propertylist(), xsh_msg, and xsh_pfits_get_mjdobs().

cpl_frameset* xsh_extract_obj_and_sky_pairs ( cpl_frameset *  raws,
xsh_instrument instrument 
)

Make sure input frames is composed by obj-sky pairs.

Parameters:
raws input value
instrument arm
Returns:
cpl_error_code

Definition at line 646 of file xsh_dfs.c.

References assure, check, xsh_frameset_extract(), xsh_free_frameset(), xsh_free_propertylist(), XSH_GET_TAG_FROM_ARM, xsh_instrument_get_mode(), XSH_MODE_IFU, xsh_msg, XSH_OBJECT_IFU_OFFSET, XSH_OBJECT_SLIT_OFFSET, xsh_pfits_get_mjdobs(), XSH_SKY_IFU, and XSH_SKY_SLIT.

int xsh_file_exists ( const char *  filename  ) 

Definition at line 897 of file xsh_dfs.c.

Referenced by xsh_frameset_extract_pre().

cpl_frame* xsh_find_arc_line_list ( cpl_frameset *  frames,
xsh_instrument instr 
)

Find an arc line list frame.

Parameters:
frames The input frameset where we do the search
instr The instrument
Returns:
Pointer to the search frame or exception if don't find

Definition at line 3331 of file xsh_dfs.c.

References check, XSH_ARC_LINE_LIST, XSH_ASSURE_NOT_NULL, xsh_find_frame(), and XSH_GET_TAG_FROM_ARM.

Referenced by main(), and xsh_predict().

cpl_frame* xsh_find_arc_line_list_clean ( cpl_frameset *  frames,
xsh_instrument instr 
)

Find an arc lines list clean frame.

Parameters:
frames The input frameset where we do the search
instr The instrument
Returns:
Pointer to the search frame or exception if don't find

Definition at line 3305 of file xsh_dfs.c.

References check, XSH_ARC_LINE_LIST, XSH_ASSURE_NOT_NULL, xsh_find_frame(), and XSH_GET_TAG_FROM_ARM.

cpl_frame* xsh_find_bpmap ( cpl_frameset *  set  ) 

find the bad pixel map in a set of files

Parameters:
set the set of files
Returns:
the bad pixel map or NULL if not found

Definition at line 1511 of file xsh_dfs.c.

Referenced by main(), and xsh_linear().

cpl_frame* xsh_find_calpro_model_config ( cpl_frameset *  frames,
xsh_instrument instr 
)

Find model config frame.

Parameters:
frames The input frameset
instr the instrument arm setting
Returns:
Pointer to raw frame

Definition at line 3609 of file xsh_dfs.c.

References check, xsh_find_frame(), xsh_instrument_arm_tostring(), XSH_MOD_CFG, xsh_msg_debug, and xsh_stringcat_any().

Referenced by xsh_model_anneal().

cpl_frame* xsh_find_calpro_model_meas_coord ( cpl_frameset *  frames,
xsh_instrument instr 
)

Find model config frame.

Parameters:
frames The input frameset
instr the instrument arm setting
Returns:
Pointer to raw frame

Definition at line 3663 of file xsh_dfs.c.

References check, xsh_find_frame(), xsh_instrument_arm_tostring(), XSH_MEASCOORD, and xsh_stringcat_any().

Referenced by xsh_model_anneal().

cpl_frame* xsh_find_disp_tab ( cpl_frameset *  frames,
xsh_instrument instr 
)

Find Dispersol tab frame. The frame returned should not be free by the caller.

Parameters:
frames The input frameset
instr The instrument
Returns:
Pointer to wavemap frame

Definition at line 3489 of file xsh_dfs.c.

References check, XSH_DISP_TAB, XSH_DISP_TAB_AFC, xsh_find_frame(), XSH_GET_TAG_FROM_ARM, and xsh_msg.

Referenced by xsh_absorp(), xsh_calib_nir_scired_corr_if_JH(), xsh_calib_nir_wavecal_corr_if_JH(), xsh_respon_slit_offset(), xsh_respon_slit_stare(), xsh_scired_ifu_offset(), xsh_scired_ifu_stare(), xsh_scired_slit_nod_get_calibs(), xsh_scired_slit_offset(), xsh_scired_slit_stare(), and xsh_wavecal().

cpl_frame* xsh_find_frame_with_tag ( cpl_frameset *  frames,
const char *  tag,
xsh_instrument instr 
)
cpl_frame* xsh_find_master_bias ( cpl_frameset *  frames,
xsh_instrument instr 
)

Find master bias frame.

Parameters:
frames The input frameset
instr the settings of instrument
Returns:
Pointer to first standard star frame, or NULL on error.

The function sets an error if no standard star frame is present.

Definition at line 2742 of file xsh_dfs.c.

References check, xsh_find_frame(), XSH_GET_TAG_FROM_ARM, and XSH_MASTER_BIAS.

Referenced by main(), xsh_geom_ifu(), xsh_scired_ifu_stare(), xsh_scired_slit_nod_get_calibs(), and xsh_slit_stare_get_calibs().

cpl_frame* xsh_find_master_bpmap ( cpl_frameset *  set  ) 

find the master bad pixel map in a set of files

Parameters:
set the set of files
Returns:
the bad pixel map or NULL if not found

Definition at line 1534 of file xsh_dfs.c.

References XSH_MASTER_BP_MAP.

Referenced by xsh_cfg_recover_last_step(), and xsh_geom_ifu().

cpl_frame* xsh_find_master_dark ( cpl_frameset *  frames,
xsh_instrument instr 
)

Find master dark frame.

Parameters:
frames The input frameset
instr the settings of instrument
Returns:
Pointer to first standard star frame, or NULL on error.

The function sets an error if no standard star frame is present.

Definition at line 2827 of file xsh_dfs.c.

References xsh_find_frame(), XSH_GET_TAG_FROM_ARM, and XSH_MASTER_DARK.

Referenced by main(), xsh_geom_ifu(), xsh_scired_ifu_stare(), xsh_slit_stare_get_calibs(), and xsh_wavecal().

cpl_frame* xsh_find_master_flat ( cpl_frameset *  frames,
xsh_instrument instr 
)

Find master flat frame.

Parameters:
frames The input frameset
instr the settings of instrument
Returns:
Pointer to first standard star frame, or NULL on error.

The function sets an error if no master flat frame is present.

Definition at line 2849 of file xsh_dfs.c.

References xsh_find_frame(), XSH_GET_TAG_FROM_MODE, and XSH_MASTER_FLAT.

Referenced by main(), xsh_geom_ifu(), xsh_scired_ifu_offset(), xsh_scired_ifu_stare(), xsh_scired_slit_nod_get_calibs(), xsh_slit_offset_get_calibs(), and xsh_slit_stare_get_calibs().

cpl_frame* xsh_find_model_config ( cpl_frameset *  frames,
xsh_instrument instr 
)

Find a model config.

Parameters:
frames The input frameset where we do the search
instr The instrument
Returns:
Pointer to the search frame or exception if don't find

Definition at line 3151 of file xsh_dfs.c.

References check, XSH_ASSURE_NOT_NULL, xsh_find_frame(), XSH_GET_TAG_FROM_ARM, XSH_MOD_CFG_OPT_2D, XSH_MOD_CFG_OPT_AFC, and XSH_MOD_CFG_TAB.

Referenced by xsh_util_ifu_build_cube().

cpl_frame* xsh_find_model_config_open ( cpl_frameset *  frames,
xsh_instrument instr 
)

Find model config frame.

Parameters:
frames The input frameset
instr the instrument arm setting
Returns:
Pointer to raw frame

Definition at line 3636 of file xsh_dfs.c.

References check, xsh_find_frame(), xsh_instrument_arm_tostring(), XSH_MOD_CFG_OPEN, xsh_msg_debug, and xsh_stringcat_any().

cpl_frame* xsh_find_model_config_opt ( cpl_frameset *  frames,
xsh_instrument instr 
)
cpl_frame* xsh_find_model_config_tab ( cpl_frameset *  frames,
xsh_instrument instr 
)

Find a model configuration table frame.

Parameters:
frames The input frameset where we do the search
instr The instrument
Returns:
Pointer to the search frame or exception if don't find

Definition at line 3380 of file xsh_dfs.c.

References check, XSH_ASSURE_NOT_NULL, xsh_find_frame(), XSH_GET_TAG_FROM_ARM, and XSH_MOD_CFG_TAB.

Referenced by main().

cpl_frame* xsh_find_model_testpar ( cpl_frameset *  frames,
xsh_instrument instr 
)

Find model test parameter list.

Parameters:
frames The input frameset
instr the instrument arm setting
Returns:
Pointer to raw frame

Definition at line 3715 of file xsh_dfs.c.

References check, xsh_find_frame(), xsh_instrument_arm_tostring(), XSH_MODEL_TEST_PAR, and xsh_stringcat_any().

Referenced by xsh_model().

cpl_frame* xsh_find_model_wavelist ( cpl_frameset *  frames,
xsh_instrument instr 
)

Find model wavelength list frame.

Parameters:
frames The input frameset
instr the instrument arm setting
Returns:
Pointer to raw frame

Definition at line 3688 of file xsh_dfs.c.

References check, xsh_find_frame(), xsh_instrument_arm_tostring(), XSH_MODEL_WAVE_LIST, and xsh_stringcat_any().

Referenced by xsh_model().

cpl_frame* xsh_find_off ( cpl_frameset *  set  ) 

find the off frame in set of files

Parameters:
set the set of files
Returns:
the off frame or NULL if not found

Definition at line 1555 of file xsh_dfs.c.

cpl_frameset* xsh_find_offset_tab_ifu ( cpl_frameset *  frames,
xsh_instrument instr 
)

Find offset tab (One for each slitlet).

Parameters:
frames The input frameset where we do the search
instrument The instrument
Returns:
Pointer to the frame set containing the 3 offset tab frames or exception if not found

Definition at line 3255 of file xsh_dfs.c.

References check, XSH_ASSURE_NOT_NULL, xsh_find_frame(), xsh_free_frameset(), XSH_GET_TAG_FROM_ARM, xsh_msg_warning, XSH_OFFSET_CEN_IFU, XSH_OFFSET_DOWN_IFU, and XSH_OFFSET_UP_IFU.

cpl_frame* xsh_find_on ( cpl_frameset *  set  ) 

find the on frame in set of files

Parameters:
set the set of files
Returns:
the on frame or NULL if not found

Definition at line 1576 of file xsh_dfs.c.

cpl_frame* xsh_find_order_tab_centr ( cpl_frameset *  frames,
xsh_instrument instr 
)

Find an order tab CENTR.

Parameters:
frames The input frameset where we do the search
instr The instrument
Returns:
Pointer to the search frame or exception if don't find

Definition at line 2993 of file xsh_dfs.c.

References check, XSH_ASSURE_NOT_NULL, xsh_find_frame(), XSH_GET_TAG_FROM_ARM, and XSH_ORDER_TAB_CENTR.

Referenced by xsh_calib_nir_mflat_corr_if_JH(), and xsh_mflat().

cpl_frame* xsh_find_order_tab_edges ( cpl_frameset *  frames,
xsh_instrument instr 
)
cpl_frame* xsh_find_order_tab_guess ( cpl_frameset *  frames,
xsh_instrument instr 
)

Find an order tab GUESS.

Parameters:
frames The input frameset where we do the search
instr The instrument
Returns:
Pointer to the search frame or exception if don't find

Definition at line 2968 of file xsh_dfs.c.

References check, XSH_ASSURE_NOT_NULL, xsh_find_frame(), XSH_GET_TAG_FROM_ARM, and XSH_ORDER_TAB_GUESS.

cpl_frame* xsh_find_order_tab_recov ( cpl_frameset *  frames,
xsh_instrument instr 
)

Find an order tab RECOV.

Parameters:
frames The input frameset where we do the search
instr The instrument
Returns:
Pointer to the search frame or exception if don't find

Definition at line 2943 of file xsh_dfs.c.

References check, XSH_ASSURE_NOT_NULL, xsh_find_frame(), XSH_GET_TAG_FROM_ARM, and XSH_ORDER_TAB_RECOV.

cpl_frame* xsh_find_raw_arc_slit_nir_off ( cpl_frameset *  frames  ) 

Find raw frame for Slit NIR OFF.

Parameters:
frames The input frameset
Returns:
Pointer to raw frame

Definition at line 3587 of file xsh_dfs.c.

References check, XSH_ARC_SLIT_OFF, xsh_find_frame(), and xsh_stringcat_any().

cpl_frame* xsh_find_raw_arc_slit_nir_on ( cpl_frameset *  frames  ) 

Find raw frame for Slit NIR ON.

Parameters:
frames The input frameset
Returns:
Pointer to raw frame

Definition at line 3567 of file xsh_dfs.c.

References check, XSH_ARC_SLIT_NIR, xsh_find_frame(), and xsh_stringcat_any().

cpl_frame* xsh_find_raw_arc_slit_uvb_vis ( cpl_frameset *  frames,
XSH_ARM  arm 
)

Find raw frame for Slit UVB/VIS.

Parameters:
frames The input frameset
arm The ARM (UVB or VIS)
Returns:
Pointer to raw frame

Definition at line 3541 of file xsh_dfs.c.

References check, XSH_ARC_SLIT_UVB, XSH_ARC_SLIT_VIS, XSH_ARM_UVB, XSH_ARM_VIS, xsh_find_frame(), and xsh_stringcat_any().

cpl_frame* xsh_find_raw_orderdef_nir ( cpl_frameset *  frames  ) 

Find orderdef raw frame for NIR.

Parameters:
frames The input frameset
Returns:
Pointer to order table frame

Definition at line 3466 of file xsh_dfs.c.

References check, xsh_find_frame(), XSH_ORDERDEF_NIR, and xsh_stringcat_any().

Referenced by xsh_orderpos().

cpl_frame* xsh_find_raw_orderdef_nir_off ( cpl_frameset *  frames  ) 

Find orderdef raw frame for NIR OFF.

Parameters:
frames The input frameset
Returns:
Pointer to order table frame

Definition at line 3521 of file xsh_dfs.c.

References check, xsh_find_frame(), XSH_ORDERDEF_OFF, and xsh_stringcat_any().

Referenced by xsh_orderpos().

cpl_frame* xsh_find_raw_orderdef_vis_uvb ( cpl_frameset *  frames  ) 

Find orderdef raw frame for UVB or VIS.

Parameters:
frames The input frameset
Returns:
Pointer to order table frame

Definition at line 3428 of file xsh_dfs.c.

References check, xsh_find_frame(), xsh_msg, XSH_ORDERDEF_D2_UVB, XSH_ORDERDEF_QTH_UVB, XSH_ORDERDEF_VIS, and xsh_stringcat_any().

Referenced by xsh_orderpos().

cpl_frame* xsh_find_slitmap ( cpl_frameset *  frames,
xsh_instrument instr 
)

Find a slit map.

Parameters:
frames The input frameset where we do the search
instr The instrument
Returns:
Pointer to the search frame or exception if don't find

Definition at line 3096 of file xsh_dfs.c.

References check, XSH_ASSURE_NOT_NULL, xsh_find_frame(), XSH_GET_TAG_FROM_ARM, XSH_IFU_MAP, and XSH_SLIT_MAP.

Referenced by main(), xsh_check_get_map(), xsh_geom_ifu(), xsh_scired_ifu_offset(), xsh_scired_ifu_stare(), xsh_slit_offset_get_calibs(), xsh_slit_stare_get_maps(), and xsh_wavecal().

cpl_frame* xsh_find_spectral_format ( cpl_frameset *  frames,
xsh_instrument instr 
)
cpl_frame* xsh_find_std_flux ( cpl_frameset *  frames  ) 

Find standard star frame.

Parameters:
frames The input frameset
Returns:
Pointer to first standard star frame, or NULL on error.

The function sets an error if no standard star frame is present.

Definition at line 2685 of file xsh_dfs.c.

References XSH_ARM_NIR, XSH_ARM_UVB, XSH_ARM_VIS, xsh_find_frame(), XSH_STD_FLUX_OFFSET, XSH_STD_FLUX_SLIT, XSH_STD_TELL_OFFSET, and XSH_STD_TELL_SLIT.

Referenced by xsh_respon_slit_stare().

cpl_frame* xsh_find_std_star_flux ( cpl_frameset *  frames  ) 

Find standard standard star flux frame.

Parameters:
frames The input frameset
Returns:
Pointer to first standard star frame, or NULL on error.

The function sets an error if no standard star frame is present.

Definition at line 2717 of file xsh_dfs.c.

References XSH_ARM_NIR, XSH_ARM_UVB, XSH_ARM_VIS, xsh_find_frame(), and XSH_STD_STAR_FLUX.

cpl_frame* xsh_find_theo_tab_mode ( cpl_frameset *  frames,
xsh_instrument instr 
)

Find a theoretical tab IFU or SINg depending of MODE in SOF.

Parameters:
frames The input frameset where we do the search
instr The instrument
Returns:
Pointer to the search frame or exception if don't find

Definition at line 2913 of file xsh_dfs.c.

References check, xsh_instrument::mode, XSH_ASSURE_NOT_NULL, xsh_find_frame(), XSH_GET_TAG_FROM_ARM, XSH_MODE_IFU, XSH_THEO_TAB_IFU, and XSH_THEO_TAB_SING.

cpl_frame* xsh_find_theo_tab_mult ( cpl_frameset *  frames,
xsh_instrument instr 
)

Find a theoretical tab multi pinhole in SOF.

Parameters:
frames The input frameset where we do the search
instr The instrument
Returns:
Pointer to the search frame or exception if don't find

Definition at line 2891 of file xsh_dfs.c.

References check, XSH_ASSURE_NOT_NULL, xsh_find_frame(), XSH_GET_TAG_FROM_ARM, and XSH_THEO_TAB_MULT.

cpl_frame* xsh_find_theo_tab_sing ( cpl_frameset *  frames,
xsh_instrument instr 
)

Find a theoretical tab signle pinhole in SOF.

Parameters:
frames The input frameset where we do the search
instr The instrument
Returns:
Pointer to the search frame or exception if don't find

Definition at line 2868 of file xsh_dfs.c.

References check, XSH_ASSURE_NOT_NULL, xsh_find_frame(), XSH_GET_TAG_FROM_ARM, and XSH_THEO_TAB_SING.

cpl_frame* xsh_find_usr_lines_guess_tab ( cpl_frameset *  frames,
xsh_instrument instr 
)

Find a user guess line positions table frame.

Parameters:
frames The input frameset where we do the search
instr The instrument
Returns:
Pointer to the search frame or exception if don't find

Definition at line 3355 of file xsh_dfs.c.

References check, XSH_ASSURE_NOT_NULL, xsh_find_frame(), XSH_GET_TAG_FROM_ARM, and XSH_GUESS_LINES_POS.

cpl_frame* xsh_find_wave_tab ( cpl_frameset *  frames,
xsh_instrument instr 
)

Find a wave tab 2D or a wave tab ARC.

Parameters:
frames The input frameset where we do the search
instr The instrument
Returns:
Pointer to the search frame or exception if don't find

Definition at line 3122 of file xsh_dfs.c.

References check, XSH_ASSURE_NOT_NULL, xsh_find_frame(), XSH_GET_TAG_FROM_ARM, XSH_GET_TAG_FROM_MODE, XSH_WAVE_TAB_2D, XSH_WAVE_TAB_AFC, and XSH_WAVE_TAB_ARC.

Referenced by xsh_calib_nir_scired_corr_if_JH(), xsh_flexcomp(), xsh_scired_slit_nod_get_calibs(), xsh_slit_offset_get_calibs(), and xsh_slit_stare_get_calibs().

cpl_frame* xsh_find_wave_tab_2d ( cpl_frameset *  frames,
xsh_instrument instr 
)

Find a wave tab 2D.

Parameters:
frames The input frameset where we do the search
instr The instrument
Returns:
Pointer to the search frame or exception if don't find

Definition at line 3073 of file xsh_dfs.c.

References check, XSH_ASSURE_NOT_NULL, xsh_find_frame(), XSH_GET_TAG_FROM_ARM, and XSH_WAVE_TAB_2D.

Referenced by main(), and xsh_wavecal().

cpl_frame* xsh_find_wave_tab_guess ( cpl_frameset *  frames,
xsh_instrument instr 
)

Find a wave tab guess.

Parameters:
frames The input frameset where we do the search
instr The instrument
Returns:
Pointer to the search frame or exception if don't find

Definition at line 3048 of file xsh_dfs.c.

References check, XSH_ASSURE_NOT_NULL, xsh_find_frame(), XSH_GET_TAG_FROM_ARM, and XSH_WAVE_TAB_GUESS.

cpl_frameset* xsh_find_wave_tab_ifu ( cpl_frameset *  frames,
xsh_instrument instrument 
)

Find wave tab ARC (for IFU 3 frames).

Parameters:
frames The input frameset where we do the search
instrument The instrument
Returns:
Pointer to the frame set containing the 3 wave tab arc frames or exception if not founf

Definition at line 3179 of file xsh_dfs.c.

References check, XSH_ASSURE_NOT_NULL, xsh_find_frame(), XSH_GET_TAG_FROM_ARM, xsh_msg, xsh_msg_warning, XSH_WAVE_TAB_2D, XSH_WAVE_TAB_AFC, XSH_WAVE_TAB_ARC_CEN_IFU, XSH_WAVE_TAB_ARC_DOWN_IFU, and XSH_WAVE_TAB_ARC_UP_IFU.

Referenced by main(), and xsh_geom_ifu().

cpl_frame* xsh_find_wavemap ( cpl_frameset *  frames,
xsh_instrument instr 
)

Find Wave Map frame. The frame returned should not be free by the caller.

Parameters:
frames The input frameset
instr the instrument
Returns:
Pointer to wavemap frame

Definition at line 3406 of file xsh_dfs.c.

References check, xsh_find_frame(), XSH_GET_TAG_FROM_ARM, and XSH_WAVE_MAP.

Referenced by main(), xsh_check_get_map(), xsh_geom_ifu(), xsh_scired_ifu_offset(), xsh_scired_ifu_stare(), xsh_scired_slit_nod_get_calibs(), xsh_slit_offset_get_calibs(), xsh_slit_stare_get_maps(), and xsh_wavecal().

void xsh_frame_config ( const char *  fname,
const char *  tag,
cpl_frame_type  type,
cpl_frame_group  group,
cpl_frame_level  level,
cpl_frame **  frame 
)

Define a frame characteristics.

Parameters:
fname frame filename
tag frame tag
type frame type
group frame group
level frame level
frame output frame
Returns:
0 if no error is detected,-1 else

Definition at line 838 of file xsh_dfs.c.

References check.

Referenced by xsh_cfg_recover_model_THE_create(), xsh_frame_product(), xsh_util_physmod_model_THE_create(), and xsh_wavelist_subtract_sky().

cpl_propertylist* xsh_frame_head_extract_qc ( cpl_frame *  frm  ) 

Definition at line 3824 of file xsh_dfs.c.

Referenced by xsh_mdark().

cpl_frame* xsh_frame_product ( const char *  fname,
const char *  tag,
cpl_frame_type  type,
cpl_frame_group  group,
cpl_frame_level  level 
)

Creates a frame with given characteristics.

Parameters:
fname frame filename
tag frame tag
type frame type
group frame group
level frame level
Returns:
0 if no error is detected,-1 else

Definition at line 868 of file xsh_dfs.c.

References check, xsh_frame_config(), and xsh_free_frame().

Referenced by main(), xsh_add_product(), xsh_add_product_bpmap(), xsh_add_product_image(), xsh_add_product_imagelist(), xsh_add_product_table(), xsh_add_product_vector(), xsh_arclist_save(), xsh_build_ifu_cube(), xsh_build_ifu_map(), xsh_catalog_extract_spectrum_frame(), xsh_cfg_recover_gen_xyg_frame(), xsh_compute_linearity(), xsh_compute_noise_map(), xsh_compute_response(), xsh_compute_response2(), xsh_compute_response_ord(), xsh_compute_shift_ifu_slitlet(), xsh_crea_correct_coeff(), xsh_create_master_dark_bpmap(), xsh_cube_qc_trace_window(), xsh_dispersol_list_save(), xsh_dispersol_list_to_slitmap(), xsh_dispersol_list_to_wavemap(), xsh_efficiency_compute(), xsh_flat_merge_qth_d2(), xsh_flat_merge_qth_d2_smooth(), xsh_frame_image_ext_qc_trace_window(), xsh_frame_image_qc_trace_window(), xsh_frameset_average(), xsh_frameset_average_pre(), xsh_get_crh_frame(), xsh_image_get_hot_cold_pixs(), xsh_image_local_cold_pixs(), xsh_image_local_hot_pixs(), xsh_linetilt_list_save(), xsh_localization_save(), xsh_localize_ifu_slitlet(), xsh_model_first_anneal(), xsh_model_first_anneal_save(), xsh_model_maps_create(), xsh_model_pipe_anneal(), xsh_model_spectralformat_create(), xsh_model_THE_create(), xsh_normalize_spectrum(), xsh_normalize_spectrum_ord(), xsh_order_list_save(), xsh_rec_list_save(), xsh_rec_list_save2(), xsh_rec_list_save_table(), xsh_resid_order_save(), xsh_resid_tab_save(), xsh_shift_offsettab(), xsh_shift_tab_save(), xsh_slice_offset_save(), xsh_spectrum1D_save(), xsh_spectrum_interpolate(), xsh_spectrum_interpolate_linear(), xsh_spectrum_resample(), xsh_star_flux_list_save(), xsh_star_flux_list_save_order(), xsh_subtract_background(), xsh_the_map_save(), xsh_util_afc(), xsh_util_bpmap_coadd(), xsh_util_crh_single(), xsh_util_frameset_collapse_mean(), xsh_util_ifu_build_cube(), xsh_util_model_SPF_create(), xsh_util_multiply_by_response(), xsh_util_multiply_by_response_ord(), xsh_utils_efficiency(), xsh_wavemap_list_save(), xsh_wavemap_list_save2(), and xsh_wavesol_save().

cpl_error_code xsh_frameset_check_uniform_exptime ( cpl_frameset *  raws,
xsh_instrument inst 
)
cpl_frameset* xsh_frameset_drl_frames ( cpl_frameset *  set  ) 

extract DRL specific frames from frameset

Parameters:
set input frameset
Returns:
frameset containing DRL specific frames

Definition at line 269 of file xsh_dfs.c.

References check, xsh_free_propertylist(), and xsh_pfits_get_naxis().

Referenced by xsh_merge_ord_ifu().

cpl_frameset* xsh_frameset_ext_image_frames ( cpl_frameset *  set  ) 

Extract frameset sub set containing only table frames.

Parameters:
set input frameset
Returns:
a new allocated frameset filled by frame tables.

Definition at line 236 of file xsh_dfs.c.

References check, xsh_free_propertylist(), and xsh_pfits_get_naxis().

cpl_frameset* xsh_frameset_ext_table_frames ( cpl_frameset *  set  ) 

Extract frameset sub set containing only table frames.

Parameters:
set input frameset
Returns:
a new allocated frameset filled by frame tables.

Definition at line 158 of file xsh_dfs.c.

References check, xsh_free_propertylist(), and xsh_pfits_get_naxis().

Referenced by xsh_respon_slit_offset(), and xsh_scired_slit_offset().

cpl_frameset* xsh_frameset_extract ( const cpl_frameset *  frames,
const char *  tag 
)

Extract frames with given tag from frameset.

Parameters:
frames frame set
tag to search for
Returns:
newly allocated, possibly empty, frameset, or NULL on error

Definition at line 921 of file xsh_dfs.c.

References assure.

Referenced by xsh_cfg_recover_last_step(), xsh_ensure_raws_input_offset_recipe_is_proper(), xsh_extract_obj_and_sky_pairs(), xsh_gain(), xsh_util_ima_arith(), and xsh_util_ima_shift().

cpl_frameset* xsh_frameset_extract_offsety_matches ( cpl_frameset *  raws,
const double  offset 
)

Extract frames that has same cumoffy as offset.

Parameters:
raws input value
offset offset value
Returns:
frameset with matching frames

Definition at line 433 of file xsh_dfs.c.

References XSH_ASSURE_NOT_NULL_MSG, xsh_free_propertylist(), and xsh_get_offsety().

Referenced by xsh_extract_nod_pairs().

cpl_frameset* xsh_frameset_extract_offsety_mismatches ( cpl_frameset *  raws,
const double  offset 
)

Extract frames that has different cumoffy than offset.

Parameters:
raws input value
offset offset value
Returns:
frameset with not matching frames

Definition at line 475 of file xsh_dfs.c.

References M_PI, XSH_ASSURE_NOT_NULL_MSG, xsh_free_propertylist(), xsh_msg, XSH_NOD_CUMULATIVE_OFFSETY, xsh_pfits_get_cumoffsety(), xsh_pfits_get_dec_cumoffset(), xsh_pfits_get_posang(), and xsh_pfits_get_ra_cumoffset().

Referenced by xsh_extract_nod_pairs().

cpl_frameset* xsh_frameset_extract_pre ( cpl_frameset *  frameset,
const char *  prefix 
)

Extracts pre frames from a frameset.

Parameters:
frameset the set of files
prefix the pre frame prefix
Returns:
the frameset with pre frames

Definition at line 1472 of file xsh_dfs.c.

References check, and xsh_file_exists().

cpl_error_code xsh_frameset_merge ( cpl_frameset *  set1,
cpl_frameset *  set2 
)

Extracts raw frames.

Parameters:
set1 The input frameset that is extended
set2 The input frameset that is merged to set1
Returns:
CPL_ERROR_NONE iff ok

Definition at line 952 of file xsh_dfs.c.

References check, and passure.

Referenced by xsh_ensure_raws_input_offset_recipe_is_proper(), and xsh_lingain().

cpl_error_code xsh_frameset_uniform_bin ( cpl_frameset **  raws,
cpl_frameset **  calib,
xsh_instrument instrument 
)
char* xsh_get_tag_from_arm ( const char *  tag,
xsh_instrument instr 
)

Find arm specific tag from base and instrument setting.

Parameters:
tag The frame tag
instr the settings of instrument
Returns:
string composed tag

Definition at line 2797 of file xsh_dfs.c.

References xsh_instrument_arm_tostring(), and xsh_msg_dbg_high.

Referenced by xsh_cfg_recover_last_step(), xsh_cfg_recover_measure_line_xy(), xsh_find_frame_with_tag(), and xsh_model_first_anneal_save().

cpl_boolean xsh_mode_is_physmod ( cpl_frameset *  set,
xsh_instrument instrument 
)
int xsh_parameter_get_default_flag ( const cpl_parameter *  p  ) 

Check if an input parameter has been changed by the user.

Parameters:
p input parameter
Returns:
if has not changed 0, else 1;

Definition at line 77 of file xsh_dfs.c.

References xsh_msg_error.

Referenced by xsh_params_set_defaults().

int xsh_print_rec_status ( const int  val  ) 
cpl_error_code xsh_table_save ( cpl_table *  t,
cpl_propertylist *  ph,
cpl_propertylist *  xh,
const char *  fname,
const int  ext 
)

Definition at line 4581 of file xsh_dfs.c.

Referenced by xsh_telluric_model_eval().

char* xsh_unique_filename ( const char *  context,
const char *  caller_id,
const char *  pro_catg 
)

Get unique product filename.

Parameters:
context The current context, or NULL
caller_id Name of calling module
pro_catg The PROduct CATeGory
Returns:
Newly allocated unique filename.

This function can be used to avoid overwriting existing files. It computes the filename depending on the current context (position in the call-tree).

If this turns out not to be a problem, one could simply use pro_catg.fits as the filename.

Definition at line 1640 of file xsh_dfs.c.

References xsh_stringcat_4(), and xsh_stringcat_6().

cpl_error_code xsh_validate_model_cfg ( cpl_frame *  mod,
cpl_frameset *  set 
)

Validate model cfg.

Parameters:
mod model cfg frame
set input frameset
Returns:
a new allocated frameset filled by frame tables.

Definition at line 120 of file xsh_dfs.c.

References check, xsh_msg_warning, and xsh_pfits_get_mjdobs().

cpl_error_code xsh_vector_save ( cpl_vector *  v,
cpl_propertylist *  ph,
const char *  fname,
const int  ext 
)

Definition at line 4594 of file xsh_dfs.c.


Generated on 13 Mar 2013 for X-shooter Pipeline Reference Manual by  doxygen 1.6.1