X-shooter Pipeline Reference Manual 3.8.15
xsh_model_utils.c File Reference
#include <xsh_model_utils.h>
#include <xsh_model_kernel.h>
#include <xsh_model_io.h>
#include <xsh_pfits.h>
#include <xsh_dfs.h>
#include <xsh_utils.h>
#include <xsh_msg.h>
#include <xsh_error.h>
#include <xsh_data_instrument.h>

Go to the source code of this file.

Functions

xsh_startup_model_THE_create

creates the model THE table corresponding to the best found model configuration

Parameters
xsh_config_annealframe of annealed model configuration parameters
xsh_instrumentinstrument instrument ARM setting
wave_listinput frame wavelength list
binxx bin value
binyy bin value
num_phnumber of pinholes
skyswitch to change tag and filename:0 THEO_TAB*, 1:SKY_TAB
Returns
model_THE_frm output model THE table corresponding to line list and annealed model configuration or NULL if failure
cpl_frame * xsh_util_physmod_model_THE_create (cpl_frame *config_frame, xsh_instrument *instrument, cpl_frame *wave_list, const int binx, const int biny, const int num_ph, const int sky)
 
xsh_model_temperature_update

update model frame table for current frame temperature

Parameters
model_config_frameinput model configuration frame table
ref_frameref frame (to get Temperature from)
Returns
CPL_ERROR_NONE if no problem occurred
cpl_error_code xsh_model_temperature_update_structure (struct xs_3 *p_xs_3_config, cpl_frame *ref_frame, xsh_instrument *instrument)
 
cpl_error_code xsh_model_temperature_update_frame (cpl_frame **model_config_frame, cpl_frame *ref_frame, xsh_instrument *instrument, int *found_temp)
 

Function Documentation

◆ xsh_model_temperature_update_frame()

cpl_error_code xsh_model_temperature_update_frame ( cpl_frame **  model_config_frame,
cpl_frame *  ref_frame,
xsh_instrument instrument,
int *  found_temp 
)

◆ xsh_model_temperature_update_structure()

cpl_error_code xsh_model_temperature_update_structure ( struct xs_3 p_xs_3_config,
cpl_frame *  ref_frame,
xsh_instrument instrument 
)

◆ xsh_util_physmod_model_THE_create()

cpl_frame * xsh_util_physmod_model_THE_create ( cpl_frame *  config_frame,
xsh_instrument instrument,
cpl_frame *  wave_list,
const int  binx,
const int  biny,
const int  num_ph,
const int  sky 
)