|
X-shooter Pipeline Reference Manual 3.8.15
|
#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.
Macros | |
| #define | LINETAB_PIXELSIZE "Pixel" |
| #define | TWOSQRT2LN2 2.35482004503095 |
Functions | |||||||||||
xsh_histogram | |||||||||||
@memo computes histogram
H: histogramX: array of data values corresponding to the center of each binXmean: 1D array corresponding to the mean of the data values enteringeach histogram bin Returns in case of succes -1 else. @doc Compute the histogram with the IDL intrinsic function HISTOGRAM, using the input options specified by the parameters Dmin, Dmax, Bin. All the computations are performed in floating-point arithmetics. Then compute arrays of values corresponding to each histogram bin, useful for plots, fitting, etc. | |||||||||||
| cpl_table * | xsh_histogram (const cpl_table *data, const char *cname, const int nbins, const double min, const double max) | ||||||||||
| 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, const double exptime) | ||||||||||
| 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. | |||||||||||
| cpl_error_code | xsh_sort_table_3 (cpl_table *t, const char *column1, const char *column2, const char *column3, cpl_boolean reverse1, cpl_boolean reverse2, cpl_boolean reverse3) | ||||||||||
| 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 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.