/home/amodigli/releases/xsh/2.1.1/xsh.30433/xshp/xsh/xsh_utils_table.c File Reference

#include <xsh_utils_table.h>
#include <xsh_utils.h>
#include <xsh_error.h>
#include <xsh_pfits.h>
#include <xsh_msg.h>
#include <xsh_data_resid_tab.h>
#include <xsh_data_arclist.h>
#include <math.h>

Go to the source code of this file.

Defines

#define LINETAB_PIXELSIZE   "Pixel"
#define TWOSQRT2LN2   2.35482004503095

Functions

static int xsh_wavecal_find_nearest (const cpl_table *line_refer, const char *col_ref, double lambda, int lo, int hi)
 Find best matching catalogue wavelength.
static cpl_error_code xsh_wavecal_qclog_compute (cpl_table *temp, cpl_propertylist **header_check, const char *element)
 computes intmon QC log
static cpl_table * xsh_table_select_matching_waves (cpl_table *table_intmon, const char *col_wave_intmon, cpl_table *table_check, const char *col_wave_intcheck, const double exptime)
 Match reference and actual table via wavelength column.
static cpl_error_code xsh_wavecal_qclog_element (cpl_table *table_intmon, cpl_table *table_check, const double exptime, const char *atom_name, cpl_propertylist **header_check)
 computes intmon QC log
cpl_error_code xsh_wavecal_qclog_intmon (cpl_frame *line_check, const cpl_frame *line_intmon, const double exptime, xsh_instrument *inst)
 computes intmon QC log
cpl_error_code xsh_get_table_value (const cpl_table *table, const char *colname, cpl_type coltype, int i, void *result)
 Read a table value from a fits table.
cpl_error_code xsh_sort_table_1 (cpl_table *t, const char *column, cpl_boolean reverse)
 Sort a table by one column.
cpl_error_code xsh_sort_table_2 (cpl_table *t, const char *column1, const char *column2, cpl_boolean reverse1, cpl_boolean reverse2)
 Sort a table by two columns.
double xsh_data_interpolate (double wav, int nrow, double *pw, double *pe)
 Interpolate data points.
double xsh_table_interpolate (cpl_table *tbl, double wav, const char *colx, const char *coly)
 Interpolate table columns.
static cpl_error_code xsh_table_monitor_flux_qc (cpl_table *table, const double ws, const double we, const char *prefix, const int index, cpl_propertylist **header)
 Computes statistics on spectrum for QC.
static cpl_propertylist * xsh_frame_table_monitor_flux_qc_ext (cpl_table *table, const char *colw, const char *colf, const char *prefix, xsh_instrument *instrument)
 Computes statistics on spectrum for QC.
cpl_error_code xsh_frame_table_monitor_flux_qc (cpl_frame *frm, const char *colw, const char *colf, const char *prefix, xsh_instrument *instrument)
 Computes statistics on spectrum for QC.
cpl_error_code xsh_table_merge_clean_and_resid_tabs (cpl_frame *frm_resid, cpl_frame *frm_clean)
cpl_table * xsh_table_shift_rv (cpl_table *orig, const char *col_wave, const double offset)

Define Documentation

#define LINETAB_PIXELSIZE   "Pixel"

Definition at line 42 of file xsh_utils_table.c.

#define TWOSQRT2LN2   2.35482004503095

Definition at line 43 of file xsh_utils_table.c.


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