focus_det.h

00001 #ifndef FOCUS_DET_H
00002 #define FOCUS_DET_H
00003 /*****************************************************************************
00004 * E.S.O. - VLT project
00005 *
00006 * "@(#) $Id: focus_det.h,v 1.6 2005/04/29 12:18:58 amodigli Exp $"
00007 *
00008 * who       when      what
00009 * --------  --------  ----------------------------------------------
00010 * amodigli  17/09/03  created
00011 */
00012 
00013 /************************************************************************
00014  * focus_det.h
00015  * routines to create a master dark
00016  *----------------------------------------------------------------------
00017  */
00018 
00019 /*
00020  * header files
00021  */
00022 
00023 /*
00024 #include <stdio.h>
00025 #include <math.h>
00026 #include <cxmessages.h>
00027 */
00028 
00029 
00030 #include <cpl.h>   
00031 
00032 
00033 /*
00034 #include "eclipse.h"
00035 #include "spiffi.h"
00036 #include "utilities.h"
00037 #include "sinfoni_dfs.h"
00038 */
00039 #include "sinfoni_pro_save.h"
00040 
00041 #include "focus_ini_by_cpl.h"
00042 /*----------------------------------------------------------------------------
00043  *                      Function ANSI C prototypes
00044  *----------------------------------------_----------------------------------*/
00045 
00046 /*----------------------------------------------------------------------------
00047    Function     :       focus_det()
00048    In           :       ini_file: file name of according .ini file
00049    Out          :       integer (0 if it worked, -1 if it doesn't) 
00050    Job          :        
00051 
00052 it does the image reconstruction of a set of offset-corrected, flatfielded, 
00053 bad pixel corrected and slope of the spectra aligned exposures of a point 
00054 source with continuum spectrum. The exposures are taken with different focus 
00055 positions of the detector.
00056 
00057 Afterwards a 2-D Gaussian is fitted to the reconstructed images of the point 
00058 source. The reconstructed images are stored and the sequence of the resulting 
00059 fit parameters (position, amplitude, background, fwhmx, fwhmy, angle of 
00060  major axis) are stored in an ASCII file.
00061 
00062 
00063  ---------------------------------------------------------------------------*/
00064 int focus_det (cpl_parameterlist* config, cpl_frameset* sof) ;
00065 
00066 
00067 #endif 
00068 
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