nst.h

00001 #ifndef NST_H
00002 #define NST_H
00003 /*****************************************************************************
00004 * E.S.O. - VLT project
00005 *
00006 * "@(#) $Id: nst.h,v 1.10 2005/09/06 16:47:46 amodigli Exp $"
00007 *
00008 * who       when      what
00009 * --------  --------  ----------------------------------------------
00010 * amodigli  17/09/03  created
00011 */
00012 
00013 /************************************************************************
00014  * nsh.h
00015  * Result of a north-south test exposure are 32 continuum spectra of a 
00016  * pinhole that means one spectrum in each slitlet at the same spatial 
00017  * position.
00018  * Each spectrum is fitted in sp[atial direction by a Gaussian to get the 
00019  * sub-pixel positions for each row.
00020  *
00021  * Then the distances are determined in each row and averaged
00022  *
00023  * Result: are distances of each slitlet from each other => 31 values stored 
00024  *  in an ASCII file this Python script needs a frame of a pinhole source with 
00025  *  a continuous spectrum, that is shifted exactly perpendicular to the 
00026  *  slitlets. It fits the spectra in spatial direction by a Gaussian fit 
00027  *  function and therefore determines the sub-pixel position of the source.
00028  *
00029  *  Then the distances of the slitlets from each other are determined and 
00030  *   saved in an ASCII list. 
00031  *
00032  *----------------------------------------------------------------------
00033  */
00034 
00035 /*
00036  * header files
00037  */
00038 #include <cpl.h>  
00039 /*----------------------------------------------------------------------------
00040  *                      Function ANSI C prototypes
00041  *--------------------------------------------------------------------------*/
00042 
00043 /*----------------------------------------------------------------------------
00044    Function     :       nst()
00045    In           :       ini_file: file name of according .ini file
00046    Out          :       integer (0 if it worked, -1 if it doesn't) 
00047    Job          :
00048        
00049  * Result of a north-south test exposure are 32 continuum spectra of a 
00050  * pinhole that means one spectrum in each slitlet at the same spatial 
00051  * position.
00052  * Each spectrum is fitted in sp[atial direction by a Gaussian to get the 
00053  * sub-pixel positions for each row.
00054  *
00055  * Then the distances are determined in each row and averaged 
00056 
00057 
00058  ---------------------------------------------------------------------------*/
00059 int nst (const char* plugin_id, cpl_parameterlist* config,cpl_frameset* sof) ;
00060 
00061 
00062 #endif 
00063 
00064 /*--------------------------------------------------------------------------*/

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