00001 #ifndef SINFO_NEW_PREPARE_STACKED_FRAMES_H 00002 #define SINFO_NEW_PREPARE_STACKED_FRAMES_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_prepare_stacked_frames.h,v 1.7 2007/09/21 14:48:10 amodigli Exp $" 00025 * 00026 * who when what 00027 * -------- -------- ---------------------------------------------- 00028 * amodigli 17/09/03 created 00029 */ 00030 00031 /************************************************************************ 00032 * preapare_stacked_frames.h 00033 00034 sinfo_prepare_stacked_frames 00035 00036 this handles stacks of input frames, that means it takes a clean mean, 00037 subtracts the off- from the on-frames, flatfields, corrects for static bad 00038 pixels, corrects for a linear tilt of the spectra if necessary, and finally, 00039 interleaves dithered exposures or convolves a single exposure with a 00040 Gaussian, respectively. 00041 00042 *---------------------------------------------------------------------- 00043 */ 00044 00045 /* 00046 * header files 00047 */ 00048 #include <cpl.h> 00049 #include "sinfo_globals.h" 00050 #include "sinfo_msg.h" 00051 00052 00053 /*---------------------------------------------------------------------------- 00054 * Function ANSI C prototypes 00055 *--------------------------------------------------------------------------*/ 00056 00057 /*---------------------------------------------------------------------------- 00058 Function : sinfo_new_prepare_stacked_frames() 00059 In : ini_file: file name of according .ini file 00060 Out : integer (0 if it worked, -1 if it doesn't) 00061 Job : 00062 00063 this handles stacks of input frames, that means it takes a clean mean, 00064 subtracts the off- from the on-frames, flatfields, corrects for static bad 00065 pixels, corrects for a linear tilt of the spectra if necessary, and finally, 00066 interleaves dithered exposures or convolves a single exposure with a 00067 Gaussian, respectively. 00068 00069 ---------------------------------------------------------------------------*/ 00070 int 00071 sinfo_new_prepare_stacked_frames (const char* plugin_id, 00072 cpl_parameterlist* config, 00073 cpl_frameset* sof, 00074 cpl_frameset* ref_set, 00075 const char* procatg, 00076 const int frm_ind, 00077 fake* fk) ; 00078 00079 #endif 00080 00081 /*--------------------------------------------------------------------------*/