#include <xsh_dfs.h>
#include <xsh_error.h>
#include <xsh_msg.h>
#include <cpl.h>
#include <string.h>
#include <time.h>
#include <xsh_utils_table.h>
#include <xsh_data_atmos_ext.h>
Go to the source code of this file.
Functions | |
xsh_atmos_ext_list * | xsh_atmos_ext_list_create (int size) |
cpl_error_code | xsh_atmos_ext_dump_ascii (xsh_atmos_ext_list *list, const char *filename) |
xsh_atmos_ext_list * | xsh_atmos_ext_list_load (cpl_frame *ext_frame) |
void | xsh_atmos_ext_list_free (xsh_atmos_ext_list **list) |
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 | |||
) |
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().