#include <cpl.h>
#include <xsh_data_instrument.h>
#include <xsh_data_pre.h>
Go to the source code of this file.
Data Structures | |
struct | xsh_dispersol |
struct | xsh_dispersol_list |
Defines | |
#define | XSH_DISPERSOL_TABLE_NBCOL 4 |
#define | XSH_DISPERSOL_TABLE_COLNAME_AXIS "AXIS" |
#define | XSH_DISPERSOL_TABLE_COLNAME_ORDER "ORDER" |
#define | XSH_DISPERSOL_TABLE_COLNAME_DEGX "DEGX" |
#define | XSH_DISPERSOL_TABLE_COLNAME_DEGY "DEGY" |
#define | XSH_DISPERSOL_AXIS_SLIT "SLIT" |
#define | XSH_DISPERSOL_AXIS_LAMBDA "LAMBDA" |
Functions | |
xsh_dispersol_list * | xsh_dispersol_list_new (int size, int deg_x, int deg_y, xsh_instrument *instr) |
Create a new dispersion solution list. | |
xsh_dispersol_list * | xsh_dispersol_list_load (cpl_frame *frame, xsh_instrument *instr) |
Load a dispersion list from a frame. | |
void | xsh_dispersol_list_add (xsh_dispersol_list *list, int idx, int absorder, cpl_polynomial *lambda_poly, cpl_polynomial *slit_poly) |
Add a dispersion solution in the list. | |
cpl_frame * | xsh_dispersol_list_to_wavemap (xsh_dispersol_list *list, cpl_frame *order_frame, xsh_pre *pre, xsh_instrument *instr, const char *tag) |
Save a WAVE MAP image. | |
cpl_frame * | xsh_dispersol_list_to_slitmap (xsh_dispersol_list *list, cpl_frame *order_frame, xsh_pre *pre, xsh_instrument *instr, const char *tag) |
Save a SLIT MAP image. | |
double | xsh_dispersol_list_eval (xsh_dispersol_list *list, cpl_polynomial *poly, cpl_vector *pos) |
Evaluate the polynomial according the binning. | |
void | xsh_dispersol_list_free (xsh_dispersol_list **list) |
Free the dispersion list. | |
cpl_frame * | xsh_dispersol_list_save (xsh_dispersol_list *list, xsh_instrument *instrument) |
Save a dispersion list on the disk. |
#define XSH_DISPERSOL_AXIS_LAMBDA "LAMBDA" |
Definition at line 39 of file xsh_data_dispersol.h.
Referenced by xsh_dispersol_list_save().
#define XSH_DISPERSOL_AXIS_SLIT "SLIT" |
Definition at line 38 of file xsh_data_dispersol.h.
Referenced by xsh_dispersol_list_save().
#define XSH_DISPERSOL_TABLE_COLNAME_AXIS "AXIS" |
Definition at line 34 of file xsh_data_dispersol.h.
Referenced by xsh_dispersol_list_save().
#define XSH_DISPERSOL_TABLE_COLNAME_DEGX "DEGX" |
Definition at line 36 of file xsh_data_dispersol.h.
Referenced by xsh_dispersol_list_load(), and xsh_dispersol_list_save().
#define XSH_DISPERSOL_TABLE_COLNAME_DEGY "DEGY" |
Definition at line 37 of file xsh_data_dispersol.h.
Referenced by xsh_dispersol_list_load(), and xsh_dispersol_list_save().
#define XSH_DISPERSOL_TABLE_COLNAME_ORDER "ORDER" |
Definition at line 35 of file xsh_data_dispersol.h.
Referenced by xsh_dispersol_list_load(), and xsh_dispersol_list_save().
#define XSH_DISPERSOL_TABLE_NBCOL 4 |
Definition at line 33 of file xsh_data_dispersol.h.
Referenced by xsh_dispersol_list_save().