#include <cpl.h>#include <xsh_cpl_size.h>#include <xsh_parameters.h>Go to the source code of this file.
Data Structures | |
| struct | xsh_wavesol |
Defines | |
| #define | XSH_SLIT_RANGE 1.2 |
| #define | XSH_WAVESOL_TABLE_NB_COL 4 |
| #define | XSH_WAVESOL_TABLE_NB_ROWS 2 |
| #define | XSH_WAVESOL_TABLE_COLNAME_AXIS "AXIS" |
| #define | XSH_WAVESOL_TABLE_COLNAME_DEGLAMBDA "DEGLAMBDA" |
| #define | XSH_WAVESOL_TABLE_COLNAME_DEGORDER "DEGORDER" |
| #define | XSH_WAVESOL_TABLE_COLNAME_DEGSLIT "DEGSLIT" |
Enumerations | |
| enum | wavesol_type { XSH_WAVESOL_GUESS, XSH_WAVESOL_2D, XSH_WAVESOL_UNDEFINED } |
Functions | |
| xsh_wavesol * | xsh_wavesol_create (cpl_frame *spectral_format_frame, xsh_detect_arclines_param *p, xsh_instrument *instrument) |
| Create a new wavelength solution structure. | |
| xsh_wavesol * | xsh_wavesol_duplicate (xsh_wavesol *org) |
| duplicate a wavelength solution structure | |
| void | xsh_wavesol_add_poly (xsh_wavesol *to, xsh_wavesol *from) |
| void | xsh_wavesol_dump (xsh_wavesol *wsol, const char *fname, int nb) |
| void | xsh_wavesol_set_type (xsh_wavesol *wsol, enum wavesol_type type) |
| set the type of the wave table | |
| enum wavesol_type | xsh_wavesol_get_type (xsh_wavesol *wsol) |
| get the type of the wave table | |
| cpl_polynomial * | xsh_wavesol_get_poly (xsh_wavesol *sol) |
| get the solution in Y | |
| cpl_polynomial * | xsh_wavesol_get_polx (xsh_wavesol *sol) |
| get the solution in X | |
| cpl_propertylist * | xsh_wavesol_get_header (xsh_wavesol *sol) |
| get header of the table | |
| double | xsh_wavesol_eval_polx (xsh_wavesol *sol, double lambda, double order, double slit) |
| eval the polynomial solution in X | |
| double | xsh_wavesol_eval_poly (xsh_wavesol *sol, double lambda, double order, double slit) |
| eval the polynomial solution in Y | |
| void | xsh_wavesol_compute (xsh_wavesol *sol, int size, double *posdata, double *minpos, double *maxpos, double *lambda, double *order, double *slit, cpl_polynomial *res) |
| compute a wavelength solution | |
| void | xsh_wavesol_residual (xsh_wavesol *sol, xsh_wavesol *adj, int size, double *new_pos, double *lambda, double *order, double *slit, cpl_polynomial *result, char axis) |
| cpl_frame * | xsh_wavesol_save (xsh_wavesol *w, cpl_table *trace, const char *filename, const char *tag) |
| save a wavelength solution | |
| void | xsh_wavesol_free (xsh_wavesol **w) |
| free wavelength solution structure | |
| xsh_wavesol * | xsh_wavesol_load (cpl_frame *frame, xsh_instrument *instrument) |
| load a wavelength solution | |
| cpl_table * | xsh_wavesol_trace (xsh_wavesol *wsol, double *lambda, double *order, double *slit, int size) |
| void | xsh_wavesol_set_bin_x (xsh_wavesol *wsol, int bin) |
| Set the bin of wave table in x. | |
| void | xsh_wavesol_set_bin_y (xsh_wavesol *wsol, int bin) |
| Set the bin of wave table in y. | |
| void | xsh_wavesol_apply_shift (xsh_wavesol *wsol, float shift_x, float shift_y) |
| Apply a shift on X and Y to wave solution. | |
| #define XSH_SLIT_RANGE 1.2 |
Definition at line 33 of file xsh_data_wavesol.h.
Referenced by xsh_wavesol_compute().
| #define XSH_WAVESOL_TABLE_COLNAME_AXIS "AXIS" |
Definition at line 37 of file xsh_data_wavesol.h.
Referenced by xsh_wavesol_save().
| #define XSH_WAVESOL_TABLE_COLNAME_DEGLAMBDA "DEGLAMBDA" |
Definition at line 38 of file xsh_data_wavesol.h.
Referenced by xsh_wavesol_load(), and xsh_wavesol_save().
| #define XSH_WAVESOL_TABLE_COLNAME_DEGORDER "DEGORDER" |
Definition at line 39 of file xsh_data_wavesol.h.
Referenced by xsh_wavesol_load(), and xsh_wavesol_save().
| #define XSH_WAVESOL_TABLE_COLNAME_DEGSLIT "DEGSLIT" |
Definition at line 40 of file xsh_data_wavesol.h.
Referenced by xsh_wavesol_load(), and xsh_wavesol_save().
| #define XSH_WAVESOL_TABLE_NB_COL 4 |
Definition at line 35 of file xsh_data_wavesol.h.
Referenced by xsh_wavesol_save().
| #define XSH_WAVESOL_TABLE_NB_ROWS 2 |
Definition at line 36 of file xsh_data_wavesol.h.
Referenced by xsh_wavesol_save().
| enum wavesol_type |
Definition at line 42 of file xsh_data_wavesol.h.
1.6.1