00001 /* $Id: xsh_model_utils.h,v 1.4 2010/12/22 16:03:08 amodigli Exp $ 00002 * 00003 * This file is part of the ESO X-shooter Pipeline 00004 * Copyright (C) 2006 European Southern Observatory 00005 * 00006 * This program is free software; you can redistribute it and/or modify 00007 * it under the terms of the GNU General Public License as published by 00008 * the Free Software Foundation; either version 2 of the License, or 00009 * (at your option) any later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License 00017 * along with this program; if not, write to the Free Software 00018 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00019 */ 00020 00021 /* 00022 * $Author: amodigli $ 00023 * $Date: 2010/12/22 16:03:08 $ 00024 * $Revision: 1.4 $ 00025 * $Name: HEAD $ 00026 */ 00027 00028 #ifndef XSH_MODEL_UTILS_H 00029 #define XSH_MODEL_UTILS_H 00030 #include <xsh_drl.h> 00031 #include <cpl.h> 00032 cpl_frame* 00033 xsh_util_physmod_model_THE_create(cpl_frame* config_frame, 00034 xsh_instrument* instrument, 00035 cpl_frame* wave_list, 00036 const int binx, const int biny, 00037 const int num_ph, const int sky); 00038 cpl_error_code 00039 xsh_model_temperature_update_structure(struct xs_3* p_xs_3_config, 00040 cpl_frame* ref_frame, 00041 xsh_instrument* instrument); 00042 00043 cpl_error_code 00044 xsh_model_temperature_update_frame(cpl_frame** model_config_frame, 00045 cpl_frame* header, 00046 xsh_instrument* instrument, 00047 int* found_temp); 00048 00049 #endif