00001 /* $Id: visir_spc_photom.h,v 1.18 2009/03/05 16:07:27 llundin Exp $ 00002 * 00003 * This file is part of the VISIR Pipeline 00004 * Copyright (C) 2002,2003 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., 51 Franklin St, Fifth Floor, Boston, MA 02111-1307 USA 00019 */ 00020 00021 /* 00022 * $Author: llundin $ 00023 * $Date: 2009/03/05 16:07:27 $ 00024 * $Revision: 1.18 $ 00025 * $Name: HEAD $ 00026 */ 00027 00028 #ifndef VISIR_SPC_PHOTOM_H 00029 #define VISIR_SPC_PHOTOM_H 00030 00031 /*----------------------------------------------------------------------------- 00032 Includes 00033 -----------------------------------------------------------------------------*/ 00034 00035 #include <cpl.h> 00036 00037 #include "visir_spectro.h" 00038 #include "visir_pfits.h" 00039 #include "visir_utils.h" 00040 00041 /*----------------------------------------------------------------------------- 00042 Static variables 00043 -----------------------------------------------------------------------------*/ 00044 00045 /* FIXME: Add checks against undefined usage of optional parameters */ 00046 struct visir_spc_phot_config_ { 00047 /* Inputs */ 00048 int plot; 00049 double phi; 00050 double ksi; 00051 double eps; 00052 double delta; 00053 double emis_tol; 00054 00055 int orderoffset; 00056 cpl_boolean do_fixcombi; 00057 00058 }; 00059 00060 typedef struct visir_spc_phot_config_ visir_spc_phot_config; 00061 00062 /*----------------------------------------------------------------------------- 00063 Prototypes 00064 -----------------------------------------------------------------------------*/ 00065 00066 cpl_table * visir_spc_phot_sensit(cpl_image **, const irplib_framelist *, 00067 const char *, 00068 const cpl_parameterlist *, 00069 const visir_spc_phot_config *, const char *, 00070 const char *, const char *, cpl_image **, 00071 cpl_propertylist * qclist, 00072 cpl_boolean, double , double, double, double, 00073 const visir_spc_resol); 00074 00075 #endif