#include <cpl.h>#include <xsh_data_instrument.h>Go to the source code of this file.
Data Structures | |
| struct | xsh_spectrum |
Defines | |
| #define | XSH_SPECTRUM_DATA_TYPE CPL_TYPE_FLOAT |
| #define | XSH_SPECTRUM_DATA_BPP CPL_BPP_IEEE_FLOAT |
| #define | XSH_SPECTRUM_ERRS_TYPE CPL_TYPE_FLOAT |
| #define | XSH_SPECTRUM_ERRS_BPP CPL_BPP_IEEE_FLOAT |
| #define | XSH_SPECTRUM_QUAL_TYPE CPL_TYPE_INT |
| #define | XSH_SPECTRUM_QUAL_BPP CPL_BPP_32_SIGNED |
Functions | |
| xsh_spectrum * | xsh_spectrum_1D_create (double lambda_min, double lambda_max, double lambda_step) |
| Create a 1D spectrum structure. | |
| xsh_spectrum * | xsh_spectrum_2D_create (double lambda_min, double lambda_max, double lambda_step, double slit_min, double slit_max, double slit_step) |
| Create a 2D spectrum structure. | |
| xsh_spectrum * | xsh_spectrum_load (cpl_frame *s1d_frame) |
| Load a 1D spectrum structure. | |
| xsh_spectrum * | xsh_spectrum_load_order (cpl_frame *s1d_frame, xsh_instrument *instr, const int order) |
| Load a 1D spectrum structure. | |
| int | xsh_spectrum_get_size (xsh_spectrum *s) |
| Get size of spectrum. | |
| int | xsh_spectrum_get_size_lambda (xsh_spectrum *s) |
| Get lambda axis size of spectrum. | |
| int | xsh_spectrum_get_size_slit (xsh_spectrum *s) |
| Get slit axis ize of spectrum. | |
| double | xsh_spectrum_get_lambda_min (xsh_spectrum *s) |
| Get minimum lambda of spectrum. | |
| double | xsh_spectrum_get_lambda_max (xsh_spectrum *s) |
| Get maximum lambda of spectrum. | |
| double | xsh_spectrum_get_lambda_step (xsh_spectrum *s) |
| Get bin in lambda of spectrum. | |
| double * | xsh_spectrum_get_flux (xsh_spectrum *s) |
| Get flux of spectrum. | |
| double * | xsh_spectrum_get_errs (xsh_spectrum *s) |
| Get errs of spectrum. | |
| int * | xsh_spectrum_get_qual (xsh_spectrum *s) |
| Get qual of spectrum. | |
| cpl_frame * | xsh_spectrum_save (xsh_spectrum *s, const char *filename, const char *tag) |
| save a spectrum | |
| cpl_frame * | xsh_spectrum_save_order (xsh_spectrum *s, const char *filename, const char *tag, const int order) |
| save a spectrum | |
| void | xsh_spectrum_free (xsh_spectrum **list) |
| free memory associated to an 1D spectrum | |
| cpl_frame * | xsh_phys_spectrum_save (xsh_spectrum *s, const char *filename, xsh_instrument *instr) |
| save a spectrum | |
| xsh_spectrum * | xsh_spectrum_duplicate (xsh_spectrum *org) |
| #define XSH_SPECTRUM_DATA_BPP CPL_BPP_IEEE_FLOAT |
Definition at line 33 of file xsh_data_spectrum.h.
Referenced by xsh_build_ifu_cube(), xsh_normalize_spectrum_image_slice(), xsh_phys_spectrum_save(), xsh_spectrum_save(), xsh_spectrum_save_order(), xsh_util_multiply_by_response(), and xsh_util_multiply_by_response_ord().
| #define XSH_SPECTRUM_DATA_TYPE CPL_TYPE_FLOAT |
Definition at line 32 of file xsh_data_spectrum.h.
| #define XSH_SPECTRUM_ERRS_BPP CPL_BPP_IEEE_FLOAT |
Definition at line 35 of file xsh_data_spectrum.h.
Referenced by xsh_build_ifu_cube(), xsh_normalize_spectrum_image_slice(), xsh_phys_spectrum_save(), xsh_spectrum_save(), xsh_spectrum_save_order(), xsh_util_multiply_by_response(), and xsh_util_multiply_by_response_ord().
| #define XSH_SPECTRUM_ERRS_TYPE CPL_TYPE_FLOAT |
Definition at line 34 of file xsh_data_spectrum.h.
| #define XSH_SPECTRUM_QUAL_BPP CPL_BPP_32_SIGNED |
Definition at line 37 of file xsh_data_spectrum.h.
Referenced by xsh_build_ifu_cube(), xsh_phys_spectrum_save(), xsh_spectrum_save(), and xsh_spectrum_save_order().
| #define XSH_SPECTRUM_QUAL_TYPE CPL_TYPE_INT |
Definition at line 36 of file xsh_data_spectrum.h.
1.6.1