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 /* 00021 * $Author: amodigli $ 00022 * $Date: 2011/05/09 06:34:48 $ 00023 * $Revision: 1.1 $ 00024 */ 00025 #ifndef XSH_EFFICIENCY_RESPONSE_H_ 00026 #define XSH_EFFICIENCY_RESPONSE_H_ 00027 #include <xsh_data_instrument.h> 00028 static const double STAR_MATCH_DEPSILON=0.0166667; /*60 arcsecs */ 00029 00030 /* Definition of the regions with a too high absorption; in these regions 00031 the response is computed by a simple linear interpolation between the 00032 valuse at the edges of the region 00033 */ 00034 typedef struct { 00035 double lambda_min ; 00036 double lambda_max ; 00037 } HIGH_ABS_REGION ; 00038 00039 HIGH_ABS_REGION * 00040 xsh_fill_high_abs_regions( 00041 xsh_instrument* instrument, 00042 cpl_frame* high_abs_frame); 00043 #endif