#include <math.h>
#include <xsh_drl.h>
#include <xsh_data_order.h>
#include <xsh_data_spectralformat.h>
#include <xsh_error.h>
#include <xsh_utils.h>
#include <xsh_msg.h>
#include <xsh_data_pre.h>
#include <xsh_pfits.h>
#include <xsh_parameters.h>
#include <cpl.h>
Go to the source code of this file.
Data Structures | |
struct | CENTER_ORDER |
struct | START_ORDER |
Functions | |
static void | compute_dist_pixel (int *xdisp, int *pdist, int dist_order, int first, int last) |
static int | compute_abs_order (START_ORDER *start_x, int nb, cpl_frame *spectral_frame, xsh_detect_continuum_param *detect_param, xsh_instrument *instrument) |
static void | invert_startx (START_ORDER *pstart, int nb) |
static int | comp_center (const void *one, const void *two) |
static int | find_maximum (int *found, double *pos_x, int ix0, int max, double thresh) |
static int | search_max (xsh_pre *pre, int iy, int ix0, int ix1) |
static void | save_centers (CENTER_ORDER *pcent, int fpos, int npos, const char *arm) |
static void | save_pos_x (double *posx, int size, const char *arm) |
static void | fit_order_list (xsh_order_list *list, int npos, CENTER_ORDER *pcent, int degree) |
cpl_frame * | xsh_order_table_from_fmtchk (xsh_pre *pre, cpl_frame *spectral_frame, xsh_detect_continuum_param *detect_param, xsh_instrument *instrument) |