#include <cpl.h>
Go to the source code of this file.
Data Structures | |
struct | xsh_linetilt |
struct | xsh_linetilt_list |
Defines | |
#define | XSH_DATA_LINETILT_H 1.2 |
#define | XSH_LINETILT_TABLE_NB_COL 15 |
#define | XSH_LINETILT_TABLE_COLNAME_WAVELENGTH "WAVELENGTH" |
#define | XSH_LINETILT_TABLE_UNIT_WAVELENGTH "none" |
#define | XSH_LINETILT_TABLE_COLNAME_NAME "NAME" |
#define | XSH_LINETILT_TABLE_UNIT_NAME "none" |
#define | XSH_LINETILT_TABLE_COLNAME_ORDER "ORDER" |
#define | XSH_LINETILT_TABLE_UNIT_ORDER "none" |
#define | XSH_LINETILT_TABLE_COLNAME_FLUX "Flux" |
#define | XSH_LINETILT_TABLE_UNIT_FLUX "ADU" |
#define | XSH_LINETILT_TABLE_COLNAME_INTENSITY "Intensity" |
#define | XSH_LINETILT_TABLE_UNIT_INTENSITY "ADU" |
#define | XSH_LINETILT_TABLE_COLNAME_CENPOSX "Xcen" |
#define | XSH_LINETILT_TABLE_UNIT_CENPOSX "pixel" |
#define | XSH_LINETILT_TABLE_COLNAME_CENPOSY "Ycen" |
#define | XSH_LINETILT_TABLE_UNIT_CENPOSY "pixel" |
#define | XSH_LINETILT_TABLE_COLNAME_GAUSSY "YGauss" |
#define | XSH_LINETILT_TABLE_UNIT_GAUSSY "pixel" |
#define | XSH_LINETILT_TABLE_COLNAME_TILTY "Ytilt" |
#define | XSH_LINETILT_TABLE_UNIT_TILTY "pixel" |
#define | XSH_LINETILT_TABLE_COLNAME_FWHM "FWHM" |
#define | XSH_LINETILT_TABLE_UNIT_FWHM "pixel" |
#define | XSH_LINETILT_TABLE_COLNAME_SHIFTY "SHIFT_Y" |
#define | XSH_LINETILT_TABLE_UNIT_SHIFTY "pixel" |
#define | XSH_LINETILT_TABLE_COLNAME_TILT "TILT" |
#define | XSH_LINETILT_TABLE_UNIT_TILT "none" |
#define | XSH_LINETILT_TABLE_COLNAME_CHISQ "chisq" |
#define | XSH_LINETILT_TABLE_UNIT_CHISQ "none" |
#define | XSH_LINETILT_TABLE_COLNAME_SPECRES "SPECRES" |
#define | XSH_LINETILT_TABLE_UNIT_SPECRES "none" |
#define | XSH_LINETILT_TABLE_COLNAME_FLAG "FLAG" |
#define | XSH_LINETILT_TABLE_UNIT_FLAG "none" |
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 | |
xsh_linetilt * | xsh_linetilt_new (void) |
void | xsh_linetilt_free (xsh_linetilt **tilt) |
free memory associated to a linetilt | |
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 *instrument, 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_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_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_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) |
#define XSH_DATA_LINETILT_H 1.2 |
Definition at line 28 of file xsh_data_linetilt.h.
#define XSH_LINETILT_TABLE_COLNAME_CENPOSX "Xcen" |
Definition at line 50 of file xsh_data_linetilt.h.
Referenced by xsh_linetilt_list_save().
#define XSH_LINETILT_TABLE_COLNAME_CENPOSY "Ycen" |
Definition at line 53 of file xsh_data_linetilt.h.
Referenced by xsh_linetilt_list_save().
#define XSH_LINETILT_TABLE_COLNAME_CHISQ "chisq" |
Definition at line 71 of file xsh_data_linetilt.h.
Referenced by xsh_linetilt_list_save().
#define XSH_LINETILT_TABLE_COLNAME_FLAG "FLAG" |
Definition at line 77 of file xsh_data_linetilt.h.
Referenced by xsh_linetilt_list_save().
#define XSH_LINETILT_TABLE_COLNAME_FLUX "Flux" |
Definition at line 44 of file xsh_data_linetilt.h.
Referenced by xsh_linetilt_list_save().
#define XSH_LINETILT_TABLE_COLNAME_FWHM "FWHM" |
Definition at line 62 of file xsh_data_linetilt.h.
Referenced by xsh_linetilt_list_save().
#define XSH_LINETILT_TABLE_COLNAME_GAUSSY "YGauss" |
Definition at line 56 of file xsh_data_linetilt.h.
Referenced by xsh_linetilt_list_save().
#define XSH_LINETILT_TABLE_COLNAME_INTENSITY "Intensity" |
Definition at line 47 of file xsh_data_linetilt.h.
Referenced by xsh_linetilt_list_save().
#define XSH_LINETILT_TABLE_COLNAME_NAME "NAME" |
Definition at line 38 of file xsh_data_linetilt.h.
Referenced by xsh_linetilt_list_save().
#define XSH_LINETILT_TABLE_COLNAME_ORDER "ORDER" |
Definition at line 41 of file xsh_data_linetilt.h.
Referenced by xsh_linetilt_list_save().
#define XSH_LINETILT_TABLE_COLNAME_SHIFTY "SHIFT_Y" |
Definition at line 65 of file xsh_data_linetilt.h.
Referenced by xsh_linetilt_list_save().
#define XSH_LINETILT_TABLE_COLNAME_SPECRES "SPECRES" |
Definition at line 74 of file xsh_data_linetilt.h.
Referenced by xsh_linetilt_list_save().
#define XSH_LINETILT_TABLE_COLNAME_TILT "TILT" |
Definition at line 68 of file xsh_data_linetilt.h.
Referenced by xsh_linetilt_list_save().
#define XSH_LINETILT_TABLE_COLNAME_TILTY "Ytilt" |
Definition at line 59 of file xsh_data_linetilt.h.
Referenced by xsh_linetilt_list_save().
#define XSH_LINETILT_TABLE_COLNAME_WAVELENGTH "WAVELENGTH" |
Definition at line 35 of file xsh_data_linetilt.h.
Referenced by xsh_linetilt_list_save().
#define XSH_LINETILT_TABLE_NB_COL 15 |
Definition at line 33 of file xsh_data_linetilt.h.
Referenced by xsh_linetilt_list_save().
#define XSH_LINETILT_TABLE_UNIT_CENPOSX "pixel" |
Definition at line 51 of file xsh_data_linetilt.h.
Referenced by xsh_linetilt_list_save().
#define XSH_LINETILT_TABLE_UNIT_CENPOSY "pixel" |
Definition at line 54 of file xsh_data_linetilt.h.
Referenced by xsh_linetilt_list_save().
#define XSH_LINETILT_TABLE_UNIT_CHISQ "none" |
Definition at line 72 of file xsh_data_linetilt.h.
Referenced by xsh_linetilt_list_save().
#define XSH_LINETILT_TABLE_UNIT_FLAG "none" |
Definition at line 78 of file xsh_data_linetilt.h.
Referenced by xsh_linetilt_list_save().
#define XSH_LINETILT_TABLE_UNIT_FLUX "ADU" |
Definition at line 45 of file xsh_data_linetilt.h.
Referenced by xsh_linetilt_list_save().
#define XSH_LINETILT_TABLE_UNIT_FWHM "pixel" |
Definition at line 63 of file xsh_data_linetilt.h.
Referenced by xsh_linetilt_list_save().
#define XSH_LINETILT_TABLE_UNIT_GAUSSY "pixel" |
Definition at line 57 of file xsh_data_linetilt.h.
Referenced by xsh_linetilt_list_save().
#define XSH_LINETILT_TABLE_UNIT_INTENSITY "ADU" |
Definition at line 48 of file xsh_data_linetilt.h.
Referenced by xsh_linetilt_list_save().
#define XSH_LINETILT_TABLE_UNIT_NAME "none" |
Definition at line 39 of file xsh_data_linetilt.h.
Referenced by xsh_linetilt_list_save().
#define XSH_LINETILT_TABLE_UNIT_ORDER "none" |
Definition at line 42 of file xsh_data_linetilt.h.
Referenced by xsh_linetilt_list_save().
#define XSH_LINETILT_TABLE_UNIT_SHIFTY "pixel" |
Definition at line 66 of file xsh_data_linetilt.h.
Referenced by xsh_linetilt_list_save().
#define XSH_LINETILT_TABLE_UNIT_SPECRES "none" |
Definition at line 75 of file xsh_data_linetilt.h.
Referenced by xsh_linetilt_list_save().
#define XSH_LINETILT_TABLE_UNIT_TILT "none" |
Definition at line 69 of file xsh_data_linetilt.h.
Referenced by xsh_linetilt_list_save().
#define XSH_LINETILT_TABLE_UNIT_TILTY "pixel" |
Definition at line 60 of file xsh_data_linetilt.h.
Referenced by xsh_linetilt_list_save().
#define XSH_LINETILT_TABLE_UNIT_WAVELENGTH "none" |
Definition at line 36 of file xsh_data_linetilt.h.
Referenced by xsh_linetilt_list_save().