00001 /* * 00002 * This file is part of the ESO X-shooter Pipeline * 00003 * Copyright (C) 2006 European Southern Observatory * 00004 * * 00005 * This library is free software; you can redistribute it and/or modify * 00006 * it under the terms of the GNU General Public License as published by * 00007 * the Free Software Foundation; either version 2 of the License, or * 00008 * (at your option) any later version. * 00009 * * 00010 * This program is distributed in the hope that it will be useful, * 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00013 * GNU General Public License for more details. * 00014 * * 00015 * You should have received a copy of the GNU General Public License * 00016 * along with this program; if not, write to the Free Software * 00017 * Foundation, 51 Franklin St, Fifth Floor, Boston, MA 02111-1307 USA * 00018 * */ 00019 /* 00020 * $Author: amodigli $ 00021 * $Date: 2013/02/20 18:03:51 $ 00022 * $Revision: 1.5 $ 00023 */ 00024 #ifndef XSH_RESPONSE_H 00025 #define XSH_RESPONSE_H 00026 #include <cpl.h> 00027 #include <xsh_data_spectrum.h> 00028 #include <xsh_data_instrument.h> 00029 #include <xsh_utils.h> 00030 cpl_table* 00031 xsh_telluric_model_eval(cpl_frame* frame_m,xsh_spectrum* s,xsh_instrument* instrument,cpl_size* model_idx); 00032 00033 cpl_table* 00034 xsh_table_resample_uniform(cpl_table* tobs,const char* cwobs, const char* cfobs, 00035 const double wstp); 00036 cpl_error_code 00037 xsh_correl_spectra(double* flux_s, double* flux_m, const int size,const int hsearch,const double wlogstp,const double range,const int ext,XSH_GAUSSIAN_FIT* gfit); 00038 00039 00040 #endif