#include <math.h>
#include <xsh_data_dispersol.h>
#include <xsh_utils.h>
#include <xsh_error.h>
#include <xsh_msg.h>
#include <xsh_pfits.h>
#include <xsh_dfs.h>
#include <cpl.h>
#include <xsh_utils_table.h>
#include <xsh_data_spectralformat.h>
#include <xsh_data_order.h>
Go to the source code of this file.
Functions | |
xsh_dispersol_list * | xsh_dispersol_list_new (int size, int degx, int degy, xsh_instrument *instrument) |
Create a new dispersion solution list. | |
xsh_dispersol_list * | xsh_dispersol_list_load (cpl_frame *frame, xsh_instrument *instrument) |
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. | |
void | xsh_dispersol_list_free (xsh_dispersol_list **list) |
Free the dispersion 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. | |
cpl_frame * | xsh_dispersol_list_save (xsh_dispersol_list *list, const char *tag) |
Save a dispersion list on the disk. |