#include <string.h>
#include <math.h>
#include <xsh_utils_table.h>
#include <xsh_data_rec.h>
#include <xsh_error.h>
#include <xsh_msg.h>
#include <xsh_pfits.h>
#include <xsh_dfs.h>
#include <cpl.h>
Go to the source code of this file.
Functions | |
void | xsh_rec_list_dump (xsh_rec_list *list, const char *fname) |
xsh_rec_list * | xsh_rec_list_create (xsh_instrument *instr) |
Create an empty order list. | |
xsh_rec_list * | xsh_rec_list_create_with_size (int size, xsh_instrument *instr) |
Create an empty order list. | |
void | xsh_rec_list_set_data_size (xsh_rec_list *list, int idx, int absorder, int nlambda, int ns) |
Allocate memory for the order idx of the rectify list. | |
xsh_rec_list * | xsh_rec_list_duplicate (xsh_rec_list *old, xsh_instrument *instrument) |
xsh_rec_list * | xsh_rec_list_load (cpl_frame *frame, xsh_instrument *instrument) |
load an rec list from a frame | |
xsh_rec_list * | xsh_rec_list_load_eso (cpl_frame *frame, xsh_instrument *instrument) |
cpl_frame * | xsh_rec_list_frame_invert (cpl_frame *rec_frame, const char *tag, xsh_instrument *instrument) |
Invert the rectified flux images of the input frame into a new frame. | |
void | xsh_rec_list_free (xsh_rec_list **list) |
free memory associated to a rec_list | |
cpl_propertylist * | xsh_rec_list_get_header (xsh_rec_list *list) |
get header of the table | |
int | xsh_rec_list_get_nslit (xsh_rec_list *list, int idx) |
int | xsh_rec_list_get_order (xsh_rec_list *list, int idx) |
int | xsh_rec_list_get_nlambda (xsh_rec_list *list, int idx) |
float * | xsh_rec_list_get_slit (xsh_rec_list *list, int idx) |
double | xsh_rec_list_get_slit_min (xsh_rec_list *list) |
double | xsh_rec_list_get_slit_max (xsh_rec_list *list) |
double | xsh_rec_list_get_lambda_min (xsh_rec_list *list) |
double | xsh_rec_list_get_lambda_max (xsh_rec_list *list) |
cpl_error_code | xsh_rec_list_set_slit_min (xsh_rec_list *list, const double val) |
cpl_error_code | xsh_rec_list_set_slit_max (xsh_rec_list *list, const double val) |
double * | xsh_rec_list_get_lambda (xsh_rec_list *list, int idx) |
float * | xsh_rec_list_get_data1 (xsh_rec_list *list, int idx) |
float * | xsh_rec_list_get_errs1 (xsh_rec_list *list, int idx) |
int * | xsh_rec_list_get_qual1 (xsh_rec_list *list, int idx) |
cpl_frame * | xsh_rec_list_save (xsh_rec_list *list, const char *filename, const char *tag, int is_temp) |
Save a rec list in a frame. | |
void | xsh_rec_list_update_header (xsh_rec_list *rec_list, xsh_pre *pre, xsh_rectify_param *rec_par, const char *pro_catg) |
Update header of rectified list writing mandatory KW. | |
cpl_frame * | xsh_rec_list_save_table (xsh_rec_list *list, const char *filename, const char *tag, int is_temp) |
Save a rec list in a frame. | |
cpl_frame * | xsh_rec_list_save2 (xsh_rec_list *list, const char *filename, const char *tag) |
save an rec list to a frame | |
void | xsh_rec_get_nod_kw (cpl_frame *rec_frame, double *throw, double *jitter, double *reloffset, double *cumoffset) |