#include <math.h>
#include <xsh_data_instrument.h>
#include <xsh_data_arclist.h>
#include <xsh_data_linetilt.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>
Go to the source code of this file.
Defines | |
#define | XSH_MAX_SHIFT_Y 10. |
Functions | |
xsh_linetilt_list * | xsh_linetilt_list_new (int size, cpl_propertylist *header) |
void | xsh_linetilt_list_free (xsh_linetilt_list **list) |
free memory associated to a arclist | |
void | xsh_linetilt_free (xsh_linetilt **tilt) |
free memory associated to a linetilt | |
xsh_linetilt * | xsh_linetilt_new (void) |
void | xsh_linetilt_list_add (xsh_linetilt_list *list, xsh_linetilt *line, int idx) |
cpl_frame * | xsh_linetilt_list_save (xsh_linetilt_list *list, xsh_instrument *instr, const char *filename, const char *tag, const double kappa, const int niter) |
save a (ks clip clean) linetilt list to a frame | |
double * | xsh_linetilt_list_get_posx (xsh_linetilt_list *list) |
get the X central positions. The returned array must be deallocated by the caller. | |
double * | xsh_linetilt_list_get_posy (xsh_linetilt_list *list) |
get the Y central positions. The returned array must be deallocated by the caller. | |
double * | xsh_linetilt_list_get_deltay (xsh_linetilt_list *list) |
get the Y Delta. The returned array must be deallocated by the caller. | |
double * | xsh_linetilt_list_get_sigma_y (xsh_linetilt_list *list) |
get the Y sigma. The returned array must be deallocated by the caller. | |
double * | xsh_linetilt_list_get_pre_posy (xsh_linetilt_list *list) |
get the previous Y positions. The returned array must be deallocated by the caller. | |
double * | xsh_linetilt_list_get_orders (xsh_linetilt_list *list) |
get the orders . The returned array must be deallocated by the caller. | |
double * | xsh_linetilt_list_get_wavelengths (xsh_linetilt_list *list) |
get the wavelength . The returned array must be deallocated by the caller. | |
double * | xsh_linetilt_list_get_slits (xsh_linetilt_list *list) |
get the slits . The returned array must be deallocated by the caller. | |
int * | xsh_linetilt_list_get_slit_index (xsh_linetilt_list *list) |
get the slit_index array . The returned array must be deallocated by the caller. | |
cpl_propertylist * | xsh_linetilt_list_get_header (xsh_linetilt_list *list) |
int | xsh_linetilt_is_duplicate (xsh_linetilt_list *list, float lambda, int order) |