#include <xsh_drl.h>
#include <xsh_pfits.h>
#include <xsh_utils.h>
#include <xsh_data_order.h>
#include <xsh_data_arclist.h>
#include <xsh_error.h>
#include <xsh_msg.h>
#include <xsh_data_pre.h>
#include <xsh_data_resid_tab.h>
#include <cpl.h>
Go to the source code of this file.
Functions | |
static int | data_order_compare (const void *one, const void *two) |
cpl_frame * | xsh_create_order_table (cpl_frame *in_frame, cpl_frame *spectralformat_frame, cpl_frame *resid_frame, cpl_frame *arclines, xsh_detect_arclines_param *da, xsh_clipping_param *dac, xsh_instrument *instrument) |
static int data_order_compare | ( | const void * | one, | |
const void * | two | |||
) | [static] |
Definition at line 54 of file xsh_create_order_table.c.
References xsh_sort_data::data.
Referenced by xsh_create_order_table().
cpl_frame* xsh_create_order_table | ( | cpl_frame * | in_frame, | |
cpl_frame * | spectralformat_frame, | |||
cpl_frame * | resid_frame, | |||
cpl_frame * | arclines, | |||
xsh_detect_arclines_param * | da, | |||
xsh_clipping_param * | dac, | |||
xsh_instrument * | instrument | |||
) |
Definition at line 74 of file xsh_create_order_table.c.
References xsh_order::cenpoly, check, data_order_compare(), xsh_order::endy, xsh_resid_tab::header, xsh_spectralformat_list::list, xsh_order_list::list, xsh_detect_arclines_param::mode_iterative, xsh_pre::ny, xsh_detect_arclines_param::ordertab_deg_y, xsh_order_list::size, size, xsh_order::starty, xsh_arclist_free(), xsh_arclist_get_size(), xsh_arclist_load(), XSH_ASSURE_NOT_NULL, XSH_CALLOC, xsh_debug_level_get(), XSH_DEBUG_LEVEL_MEDIUM, XSH_FREE, xsh_free_table(), XSH_GET_TAG_FROM_ARM, xsh_msg, xsh_msg_dbg_high, xsh_msg_dbg_medium, xsh_order_list_create(), xsh_order_list_fit(), xsh_order_list_free(), xsh_order_list_get_header(), xsh_order_list_save(), XSH_ORDER_TAB_GUESS, xsh_pfits_get_date(), xsh_pfits_set_qc(), xsh_pfits_set_qc_nlinecat(), xsh_pfits_set_qc_nlinefound(), xsh_pre_free(), xsh_pre_load(), XSH_QC_MODEL_FMTCHK_DATE, xsh_reindex(), xsh_resid_tab_free(), xsh_resid_tab_get_lambda_data(), xsh_resid_tab_get_order_data(), xsh_resid_tab_get_size(), xsh_resid_tab_get_xgauss_data(), xsh_resid_tab_get_ygauss_data(), xsh_resid_tab_load(), xsh_sort(), xsh_spectralformat_list_free(), xsh_spectralformat_list_load(), XSH_SPECTRALFORMAT_TABLE_COLNAME_XMIN, xsh_spectralformat::ymax, and xsh_spectralformat::ymin.
Referenced by xsh_predict().