00001 #ifndef CREATERESAMPLED_H 00002 #define CREATERESAMPLED_H 00003 /******************************************************************************* 00004 * E.S.O. - VLT project 00005 * 00006 * "@(#) $Id: create_resampled.h,v 1.5 2005/04/29 12:18:58 amodigli Exp $" 00007 * 00008 * who when what 00009 * -------- -------- ---------------------------------------------- 00010 * schreib 06/05/03 created 00011 */ 00012 00013 /************************************************************************ 00014 * createresampled.h 00015 * routines to create a data cube 00016 *---------------------------------------------------------------------- 00017 */ 00018 00019 /* 00020 * header files 00021 */ 00022 /* 00023 #include <stdio.h> 00024 #include <math.h> 00025 #include <string.h> 00026 #include <cxstrutils.h> 00027 00028 #include "eclipse.h" 00029 #include "spiffi.h" 00030 */ 00031 #include <cpl.h> 00032 00033 /*---------------------------------------------------------------------------- 00034 * Function ANSI C prototypes 00035 *--------------------------------------------------------------------------*/ 00036 00037 /*---------------------------------------------------------------------------- 00038 Function : change_header() 00039 In : many needed inputs 00040 Out : nothing 00041 Job : this routine changes the fits header for the data cube 00042 file using appropriate values. 00043 ---------------------------------------------------------------------------*/ 00044 /*---------------------------------------------------------------------------- 00045 Function : Create_resampled() 00046 In : ini_file: file name of according .ini file 00047 Out : integer (0 if it worked, -1 if it doesn't) 00048 Job : this routine does the resampling of an offset-corrected, 00049 flatfielded, bad pixel corrected and 00050 eventually interleaved data frame. Additionally, an intensity 00051 calibration is carried through by using 00052 a standard star or a black body measurement. 00053 The spectral features of the flatfield halogen lamp are corrected. 00054 Afterwards a data cube is created out of the resampled image. 00055 It is the users choice to use either 00056 the fitted edge positions of the slitlets or the distances 00057 of the slitlets gained from a north-south-test. 00058 ---------------------------------------------------------------------------*/ 00059 int create_resampled (cpl_parameterlist* config, cpl_frameset* set) ; 00060 00061 00062 #endif 00063 00064 /*--------------------------------------------------------------------------*/
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001