#include <cpl.h>
Go to the source code of this file.
Data Structures | |
struct | xsh_atmos_ext_list |
Defines | |
#define | XSH_DATA_ATMOS_EXT_H |
#define | XSH_ATMOS_EXT_LIST_COLNAME_WAVELENGTH "LAMBDA" |
#define | XSH_ATMOS_EXT_LIST_COLNAME_K "EXTINCTION" |
#define | XSH_ATMOS_EXT_LIST_COLNAME_OLD "LA_SILLA" |
Functions | |
xsh_atmos_ext_list * | xsh_atmos_ext_list_load (cpl_frame *ext_frame) |
void | xsh_atmos_ext_list_free (xsh_atmos_ext_list **list) |
xsh_atmos_ext_list * | xsh_atmos_ext_list_create (int size) |
double * | xsh_atmos_ext_list_get_lambda (xsh_atmos_ext_list *list) |
double * | xsh_atmos_ext_list_get_K (xsh_atmos_ext_list *list) |
cpl_error_code | xsh_atmos_ext_dump_ascii (xsh_atmos_ext_list *list, const char *filename) |
#define XSH_ATMOS_EXT_LIST_COLNAME_K "EXTINCTION" |
Definition at line 33 of file xsh_data_atmos_ext.h.
Referenced by xsh_atmos_ext_list_load(), xsh_efficiency_compute(), xsh_interpolate_atm_ext(), xsh_normalize_spectrum(), xsh_normalize_spectrum_ord(), xsh_util_efficiency(), and xsh_util_efficiency2d().
#define XSH_ATMOS_EXT_LIST_COLNAME_OLD "LA_SILLA" |
Definition at line 34 of file xsh_data_atmos_ext.h.
Referenced by xsh_atmos_ext_list_load(), xsh_efficiency_compute(), xsh_interpolate_atm_ext(), and xsh_normalize_spectrum_ord().
#define XSH_ATMOS_EXT_LIST_COLNAME_WAVELENGTH "LAMBDA" |
Definition at line 32 of file xsh_data_atmos_ext.h.
Referenced by xsh_atmos_ext_list_load().
#define XSH_DATA_ATMOS_EXT_H |
Definition at line 27 of file xsh_data_atmos_ext.h.
cpl_error_code xsh_atmos_ext_dump_ascii | ( | xsh_atmos_ext_list * | list, | |
const char * | filename | |||
) |
Definition at line 70 of file xsh_data_atmos_ext.c.
References xsh_atmos_ext_list::K, xsh_atmos_ext_list::lambda, xsh_atmos_ext_list::size, size, and XSH_ASSURE_NOT_NULL_MSG.
xsh_atmos_ext_list* xsh_atmos_ext_list_create | ( | int | size | ) |
Definition at line 55 of file xsh_data_atmos_ext.c.
References xsh_atmos_ext_list::K, xsh_atmos_ext_list::lambda, xsh_atmos_ext_list::size, and XSH_CALLOC.
Referenced by xsh_atmos_ext_list_load().
void xsh_atmos_ext_list_free | ( | xsh_atmos_ext_list ** | list | ) |
Definition at line 149 of file xsh_data_atmos_ext.c.
References check.
Referenced by main(), xsh_atmos_ext_list_load(), xsh_compute_response(), xsh_compute_response_ord(), and xsh_obs_std_correct().
double* xsh_atmos_ext_list_get_K | ( | xsh_atmos_ext_list * | list | ) |
Definition at line 170 of file xsh_data_atmos_ext.c.
References xsh_atmos_ext_list::K, and XSH_ASSURE_NOT_NULL.
Referenced by do_calib_spectrum().
double* xsh_atmos_ext_list_get_lambda | ( | xsh_atmos_ext_list * | list | ) |
Definition at line 162 of file xsh_data_atmos_ext.c.
References xsh_atmos_ext_list::lambda, and XSH_ASSURE_NOT_NULL.
Referenced by do_calib_spectrum().
xsh_atmos_ext_list* xsh_atmos_ext_list_load | ( | cpl_frame * | ext_frame | ) |
Definition at line 99 of file xsh_data_atmos_ext.c.
References check, xsh_atmos_ext_list::K, xsh_atmos_ext_list::lambda, XSH_ASSURE_NOT_NULL, XSH_ATMOS_EXT_LIST_COLNAME_K, XSH_ATMOS_EXT_LIST_COLNAME_OLD, XSH_ATMOS_EXT_LIST_COLNAME_WAVELENGTH, xsh_atmos_ext_list_create(), xsh_atmos_ext_list_free(), xsh_error_msg, xsh_get_table_value(), xsh_msg_warning, XSH_TABLE_FREE, and XSH_TABLE_LOAD.
Referenced by main(), xsh_calibrate_flux(), xsh_compute_response(), xsh_compute_response_ord(), and xsh_obs_std_correct().