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.11 2007/09/21 14:13:43 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 #include <sinfo_standstar_cfg.h> 00043 /*---------------------------------------------------------------------------- 00044 * Function ANSI C prototypes 00045 *--------------------------------------------------------------------------*/ 00046 /*---------------------------------------------------------------------------- 00047 Function : sinfo_new_stdstar() 00048 In : ini_file: file name of according .ini file 00049 Out : integer (0 if it worked, -1 if it doesn't) 00050 Description : this routine does the optimal extraction of a spectrum 00051 of an already reduced data cube of a standard star 00052 observation. Additionally, a conversion factor from 00053 mag to counts/sec can be determined if the magnitude 00054 of the standard star is known. 00055 This is done for a number of jittered data cubes and 00056 the results are averaged by rejecting the extreme 00057 values 00058 ---------------------------------------------------------------------------*/ 00059 int 00060 sinfo_new_stdstar (const char* plugin_id, 00061 cpl_parameterlist* config, 00062 cpl_frameset* sof,cpl_frameset* ref_set) ; 00063 00064 00065 00066 00067 #endif 00069 /*--------------------------------------------------------------------------*/