cubecreate.h

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

Generated on Wed Oct 26 13:08:52 2005 for SINFONI Pipeline Reference Manual by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001