00001 #ifndef SINFO_NEW_OBJNOD_H 00002 #define SINFO_NEW_OBJNOD_H 00003 /* 00004 * This file is part of the ESO SINFONI Pipeline 00005 * Copyright (C) 2004,2005 European Southern Observatory 00006 * 00007 * This program is free software; you can redistribute it and/or modify 00008 * it under the terms of the GNU General Public License as published by 00009 * the Free Software Foundation; either version 2 of the License, or 00010 * (at your option) any later version. 00011 * 00012 * This program is distributed in the hope that it will be useful, 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 * GNU General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU General Public License 00018 * along with this program; if not, write to the Free Software 00019 * Foundation, 51 Franklin St, Fifth Floor, Boston, MA 02111-1307 USA 00020 */ 00021 /************************************************************************ 00022 * E.S.O. - VLT project 00023 * 00024 * "@(#) $Id: sinfo_new_objnod.h,v 1.8 2007/06/06 07:10:45 amodigli Exp $" 00025 * 00026 * who when what 00027 * -------- -------- ---------------------------------------------- 00028 * schreib 06/05/03 created 00029 */ 00030 00031 /************************************************************************ 00032 * sinfo_objnod.h 00033 * routines to create a data cube 00034 *---------------------------------------------------------------------- 00035 */ 00036 00037 /* 00038 * header files 00039 */ 00040 #include <math.h> 00041 #include <cpl.h> 00042 #include "sinfo_msg.h" 00043 /*---------------------------------------------------------------------------- 00044 * Function ANSI C prototypes 00045 *--------------------------------------------------------------------------*/ 00046 00047 /*---------------------------------------------------------------------------- 00048 @name sinfo_new_objnod() 00049 @param ini_file: file name of according .ini file 00050 @return integer (0 if it worked, -1 if it doesn't) 00051 @doc this routine does the resampling of an offset-corrected, 00052 flatfielded, bad pixel corrected and 00053 eventually interleaved data frame. Additionally, an intensity 00054 calibration is carried through by using 00055 a standard star or a black body measurement. 00056 The spectral features of the flatfield halogen lamp are corrected. 00057 Afterwards a data cube is created out of the resampled image. 00058 It is the users choice to use either 00059 the fitted sinfo_edge positions of the slitlets or the distances 00060 of the slitlets gained from a north-south-test. 00061 ---------------------------------------------------------------------------*/ 00062 int 00063 sinfo_new_objnod (const char* plugin_id, 00064 cpl_parameterlist* config, 00065 cpl_frameset* sof, 00066 const char* procatg) ; 00067 00068 00069 #endif 00071 /*--------------------------------------------------------------------------*/