00001 #ifndef SINFO_NEW_STDSTAR_H 00002 #define SINFO_NEW_STDSTAR_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_stdstar.h,v 1.7 2006/11/11 14:11:47 amodigli Exp $" 00025 * 00026 * who when what 00027 * -------- -------- ---------------------------------------------- 00028 * schreib 06/05/03 created 00029 */ 00030 00031 /************************************************************************ 00032 * sinfo_new_stdstar.h 00033 * routines to create a data cube 00034 *---------------------------------------------------------------------- 00035 */ 00036 00037 /* 00038 * header files 00039 */ 00040 #include <cpl.h> 00041 #include "sinfo_msg.h" 00042 /*---------------------------------------------------------------------------- 00043 * Function ANSI C prototypes 00044 *--------------------------------------------------------------------------*/ 00045 /*---------------------------------------------------------------------------- 00046 Function : sinfo_new_stdstar() 00047 In : ini_file: file name of according .ini file 00048 Out : integer (0 if it worked, -1 if it doesn't) 00049 Description : this routine does the optimal extraction of a spectrum 00050 of an already reduced data cube of a standard star 00051 observation. Additionally, a conversion factor from 00052 mag to counts/sec can be determined if the magnitude 00053 of the standard star is known. 00054 This is done for a number of jittered data cubes and 00055 the results are averaged by rejecting the extreme 00056 values 00057 ---------------------------------------------------------------------------*/ 00058 int 00059 sinfo_new_stdstar (const char* plugin_id, 00060 cpl_parameterlist* config, 00061 cpl_frameset* sof) ; 00062 00063 00064 #endif 00066 /*--------------------------------------------------------------------------*/
1.4.4