00001 #ifndef STDSTAR_H 00002 #define STDSTAR_H 00003 /******************************************************************************* 00004 * E.S.O. - VLT project 00005 * 00006 * "@(#) $Id: stdstar.h,v 1.6 2005/09/06 16:47:46 amodigli Exp $" 00007 * 00008 * who when what 00009 * -------- -------- ---------------------------------------------- 00010 * schreib 06/05/03 created 00011 */ 00012 00013 /************************************************************************ 00014 * stdstar.h 00015 * routines to create a data cube 00016 *---------------------------------------------------------------------- 00017 */ 00018 00019 /* 00020 * header files 00021 */ 00022 #include <qfits.h> 00023 #include <cpl.h> 00024 /*---------------------------------------------------------------------------- 00025 * Function ANSI C prototypes 00026 *--------------------------------------------------------------------------*/ 00027 00028 /*---------------------------------------------------------------------------- 00029 Function : change_header_stdstar() 00030 In : many needed inputs 00031 Out : nothing 00032 Job : 00033 Description : this routine does the optimal extraction of a spectrum 00034 of an already reduced data cube of a standard star 00035 observation. Additionally, a conversion factor from 00036 mag to counts/sec can be determined if the magnitude 00037 of the standard star is known. 00038 This is done for a number of jittered data cubes and 00039 the results are averaged by rejecting the extreme 00040 values 00041 ---------------------------------------------------------------------------*/ 00042 /*---------------------------------------------------------------------------- 00043 Function : stdstar() 00044 In : ini_file: file name of according .ini file 00045 Out : integer (0 if it worked, -1 if it doesn't) 00046 Description : this routine does the optimal extraction of a spectrum 00047 of an already reduced data cube of a standard star 00048 observation. Additionally, a conversion factor from 00049 mag to counts/sec can be determined if the magnitude 00050 of the standard star is known. 00051 This is done for a number of jittered data cubes and 00052 the results are averaged by rejecting the extreme 00053 values 00054 ---------------------------------------------------------------------------*/ 00055 int stdstar (const char* plugin_id,cpl_parameterlist* config,cpl_frameset* sof) ; 00056 00057 00058 #endif 00060 /*--------------------------------------------------------------------------*/
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001