#include <math.h>#include <xsh_drl.h>#include <xsh_data_order.h>#include <xsh_error.h>#include <xsh_utils_wrappers.h>#include <xsh_utils.h>#include <xsh_msg.h>#include <xsh_data_pre.h>#include <xsh_pfits.h>#include <xsh_parameters.h>#include <xsh_data_order_resid_tab.h>#include <cpl.h>Go to the source code of this file.
Data Structures | |
| struct | gauss_res |
| struct | CENTROIDS_STRUCT |
Defines | |
| #define | BAD_POSITION_FLAG 999999 |
| #define | THRESH_POSITION_FLAG 9999999 |
Functions | |
| static cpl_error_code | xsh_fit_gaussian (xsh_detect_continuum_param *detect_param, int x, int y, int nx, float *data, float *p_errs, struct gauss_res *result, xsh_instrument *instrument, int order, double threshold) |
| static cpl_frame * | create_resid_tab (xsh_instrument *instrument, ORDERPOS_QC_PARAM *qcparam) |
| static void | cumulate_qc_parameter (int order, xsh_order_list *list, CENTROIDS_STRUCT *pcent, int npts) |
| static cpl_frame * | calculate_qc_parameters (ORDERPOS_QC_PARAM *qcparam, xsh_instrument *instrument) |
| static int | comp_pos (const void *un, const void *deux) |
| static void | set_qc_parameters (xsh_order_list *list, ORDERPOS_QC_PARAM *pqc, xsh_instrument *instrument) |
| cpl_frame * | xsh_detect_continuum (cpl_frame *frame, cpl_frame *order_table, cpl_frame *spectral_frame, xsh_detect_continuum_param *detect_param, xsh_clipping_param *dcn_clipping, xsh_instrument *instr, cpl_frame **resid_frame) |
| Detect order and compute polynomial description of ordermin and order max. Uses a guess order table if available. If not, tries to compute one (see function xsh_order_table_from_fmtchk). | |
Variables | |
| static int | Nb_noflux |
| static int | Nb_nofit |
| static double * | Deltas = NULL |
| static double * | PosY = NULL |
| static double * | PosX = NULL |
| static double * | XorderPos = NULL |
| static int * | Orders = NULL |
| static int | DeltaSize = 0 |
| static int | DeltaPoints = 0 |
1.6.1