00001 #ifndef XSH_COMPUTE_LINEARITY_H 00002 #define XSH_COMPUTE_LINEARITY_H 00003 00004 /* * 00005 * This file is part of the ESO X-shooter Pipeline * 00006 * Copyright (C) 2006 European Southern Observatory * 00007 * * 00008 * This library is free software; you can redistribute it and/or modify * 00009 * it under the terms of the GNU General Public License as published by * 00010 * the Free Software Foundation; either version 2 of the License, or * 00011 * (at your option) any later version. * 00012 * * 00013 * This program is distributed in the hope that it will be useful, * 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00016 * GNU General Public License for more details. * 00017 * * 00018 * You should have received a copy of the GNU General Public License * 00019 * along with this program; if not, write to the Free Software * 00020 * Foundation, 51 Franklin St, Fifth Floor, Boston, MA 02111-1307 USA * 00021 * */ 00022 00023 /* 00024 * $Author: amodigli $ 00025 * $Date: 2009/09/27 10:37:36 $ 00026 * $Revision: 1.3 $ 00027 */ 00028 00029 00030 /*----------------------------------------------------------------------------- 00031 Typedefs 00032 -----------------------------------------------------------------------------*/ 00033 typedef struct 00034 { 00035 double exptime; 00036 cpl_frame *frame; 00037 int on_off ; 00038 } TIME_FRAME; 00039 00040 #define LINEAR_POLYNOMIAL_DEGREE 2 00041 00042 cpl_frameset * xsh_subtract_on_off( cpl_frameset *set, 00043 xsh_instrument *instrument ) ; 00044 00045 #endif 00046