#include <cpl.h>
#include <xsh_msg.h>
#include <xsh_utils_table.h>
#include "xsh_model_io.h"
#include "xsh_dfs.h"
#include "xsh_error.h"
#include "xsh_data_spectralformat.h"
#include "xsh_model_arm_constants.h"
Go to the source code of this file.
Defines | |
#define | xsh_model_config_enter(name, val, index, units) |
Functions | |
static int | xsh_table_check_column (const cpl_table *, const char *) |
void | xsh_model_io_dump (xsh_xs_3 *p_xs_3) |
cpl_error_code | xsh_model_config_load_best (cpl_frame *config_frame, xsh_xs_3 *p_xs_3) |
Load the config model table and fill the struct. | |
int | xsh_model_readfits (double *abest, double *amin, double *amax, int *aname, const char *xs_config_file, const char *xs_config_tag, struct xs_3 *p_xs_3, ann_all_par *p_all_par) |
cpl_table * | xsh_model_io_output_cfg (struct xs_3 *p_xs_3) |
cpl_table * | xsh_load_table_check (const char *in, const char *procatg) |
void | xsh_model_io_output_cfg_txt (struct xs_3 *p_xs_3) |
cpl_table* xsh_load_table_check | ( | const char * | in, | |
const char * | procatg | |||
) |
Definition at line 1425 of file xsh_model_io.c.
References XSH_COL_MODEL_CONF_BEST, XSH_COL_MODEL_CONF_FLAG, XSH_COL_MODEL_CONF_HIGH, XSH_COL_MODEL_CONF_LOW, XSH_COL_MODEL_CONF_NAME, XSH_MOD_CFG_FAN_NIR, XSH_MOD_CFG_FAN_UVB, XSH_MOD_CFG_FAN_VIS, XSH_MOD_CFG_NIR, XSH_MOD_CFG_OPEN_NIR, XSH_MOD_CFG_OPEN_UVB, XSH_MOD_CFG_OPEN_VIS, XSH_MOD_CFG_OPT_2D_NIR, XSH_MOD_CFG_OPT_2D_UVB, XSH_MOD_CFG_OPT_2D_VIS, XSH_MOD_CFG_OPT_AFC_NIR, XSH_MOD_CFG_OPT_AFC_UVB, XSH_MOD_CFG_OPT_AFC_VIS, XSH_MOD_CFG_OPT_FMT_NIR, XSH_MOD_CFG_OPT_FMT_UVB, XSH_MOD_CFG_OPT_FMT_VIS, XSH_MOD_CFG_OPT_REC_NIR, XSH_MOD_CFG_OPT_REC_UVB, XSH_MOD_CFG_OPT_REC_VIS, XSH_MOD_CFG_OPT_WAV_IFU_NIR, XSH_MOD_CFG_OPT_WAV_IFU_UVB, XSH_MOD_CFG_OPT_WAV_IFU_VIS, XSH_MOD_CFG_OPT_WAV_SLIT_NIR, XSH_MOD_CFG_OPT_WAV_SLIT_UVB, XSH_MOD_CFG_OPT_WAV_SLIT_VIS, XSH_MOD_CFG_TAB_NIR, XSH_MOD_CFG_TAB_UVB, XSH_MOD_CFG_TAB_VIS, XSH_MOD_CFG_UVB, XSH_MOD_CFG_VIS, xsh_msg_error, and xsh_table_check_column().
Referenced by xsh_model_config_load_best(), and xsh_model_readfits().
void xsh_model_io_output_cfg_txt | ( | struct xs_3 * | p_xs_3 | ) |
Definition at line 1522 of file xsh_model_io.c.
References xs_3::ca_x0, xs_3::ca_x1, xs_3::ca_y0, xs_3::ca_y1, xs_3::chiprot, xs_3::chipx, xs_3::chipy, xs_3::cmup1, xs_3::d2_x1, xs_3::d2_x2, xs_3::d2_x3, xs_3::d2_y1x0, xs_3::d2_y1x1, xs_3::d2_y1x2, xs_3::d2_y1x3, xs_3::d2_y2x0, xs_3::d2_y2x1, xs_3::d2_y2x2, xs_3::d2_y2x3, xs_3::d2_y3x0, xs_3::d2_y3x1, xs_3::d2_y3x2, xs_3::d2_y3x3, DEG2RAD, xs_3::es_s, xs_3::es_w, xs_3::es_x, xs_3::es_y, xs_3::es_y_tot, xs_3::fcol, xs_3::fdet, xs_3::flipx, xs_3::flipy, xs_3::mud, xs_3::mues, xs_3::mug, xs_3::mup1, xs_3::mup2, xs_3::mup3, xs_3::mup4, xs_3::mup5, xs_3::mup6, xs_3::nud, xs_3::nues, xs_3::nug, xs_3::nup1, xs_3::nup2, xs_3::nup3, xs_3::nup4, xs_3::nup5, xs_3::nup6, xs_3::offx, xs_3::offy, xs_3::pc4_x_x2y2, xs_3::pc4_x_x3y, xs_3::pc4_x_x4, xs_3::pc4_x_xy3, xs_3::pc4_x_y4, xs_3::pc4_y_x2y2, xs_3::pc4_y_x3y, xs_3::pc4_y_x4, xs_3::pc4_y_xy3, xs_3::pc4_y_y4, xs_3::pc_x_x1, xs_3::pc_x_x2y, xs_3::pc_x_x3, xs_3::pc_x_xx, xs_3::pc_x_xy, xs_3::pc_x_y1, xs_3::pc_x_y2x, xs_3::pc_x_y3, xs_3::pc_x_yy, xs_3::pc_y_x1, xs_3::pc_y_x2y, xs_3::pc_y_x3, xs_3::pc_y_xx, xs_3::pc_y_xy, xs_3::pc_y_y1, xs_3::pc_y_y2x, xs_3::pc_y_y3, xs_3::pc_y_yy, xs_3::pix, xs_3::sg, xs_3::slit, xs_3::slit_scale, xs_3::t_ir_p2, xs_3::t_ir_p3, xs_3::taud, xs_3::taues, xs_3::taug, xs_3::taup1, xs_3::taup2, xs_3::taup3, xs_3::taup4, xs_3::taup5, xs_3::taup6, and xs_3::temper.
Referenced by xsh_model_reduce().
static int xsh_table_check_column | ( | const cpl_table * | tab, | |
const char * | col | |||
) | [static] |
Definition at line 1510 of file xsh_model_io.c.
Referenced by xsh_load_table_check().