sinfo_new_nst.h

00001 #ifndef SINFO_NEW_NST_H
00002 #define SINFO_NEW_NST_H
00003 /*
00004  * This file is part of the ESO SINFONI Pipeline
00005  * Copyright (C) 2004,2005 European Southern Observatory
00006  *
00007  * This program is free software; you can redistribute it and/or modify
00008  * it under the terms of the GNU General Public License as published by
00009  * the Free Software Foundation; either version 2 of the License, or
00010  * (at your option) any later version.
00011  *
00012  * This program is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015  * GNU General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU General Public License
00018  * along with this program; if not, write to the Free Software
00019  * Foundation, 51 Franklin St, Fifth Floor, Boston, MA  02111-1307  USA
00020  */
00021 /*****************************************************************************
00022 * E.S.O. - VLT project
00023 *
00024 * "@(#) $Id: sinfo_new_nst.h,v 1.7 2007/09/21 14:49:00 amodigli Exp $"
00025 *
00026 * who       when      what
00027 * --------  --------  ----------------------------------------------
00028 * amodigli  17/09/03  created
00029 */
00030 
00031 /************************************************************************
00032  * new_nsh.h
00033  * Result of a north-south test exposure are 32 continuum spectra of a 
00034  * pinhole that means one spectrum in each slitlet at the same spatial 
00035  * position.
00036  * Each spectrum is fitted in sp[atial direction by a Gaussian to get the 
00037  * sub-pixel positions for each row.
00038  *
00039  * Then the distances are determined in each row and averaged
00040  *
00041  * Result: are distances of each slitlet from each other => 31 values stored 
00042  *  in an ASCII file this Python script needs a frame of a pinhole source with 
00043  *  a continuous spectrum, that is shifted exactly perpendicular to the 
00044  *  slitlets. It fits the spectra in spatial direction by a Gaussian fit 
00045  *  function and therefore determines the sub-pixel position of the source.
00046  *
00047  *  Then the distances of the slitlets from each other are determined and 
00048  *   saved in an ASCII list. 
00049  *
00050  *----------------------------------------------------------------------
00051  */
00052 
00053 /*
00054  * header files
00055  */
00056 #include <cpl.h>  
00057 #include "sinfo_msg.h"
00058 /*----------------------------------------------------------------------------
00059  *                        Function ANSI C prototypes
00060  *--------------------------------------------------------------------------*/
00061 
00062 /*----------------------------------------------------------------------------
00063    Function     :       sinfo_nst()
00064    In           :       ini_file: file name of according .ini file
00065    Out          :       integer (0 if it worked, -1 if it doesn't) 
00066    Job          :
00067        
00068  * Result of a north-south test exposure are 32 continuum spectra of a 
00069  * pinhole that means one spectrum in each slitlet at the same spatial 
00070  * position.
00071  * Each spectrum is fitted in sp[atial direction by a Gaussian to get the 
00072  * sub-pixel positions for each row.
00073  *
00074  * Then the distances are determined in each row and averaged 
00075 
00076 
00077  ---------------------------------------------------------------------------*/
00078 int 
00079 sinfo_new_nst (const char* plugin_id, 
00080                cpl_parameterlist* config,
00081                cpl_frameset* set,
00082                cpl_frameset* ref_set) ;
00083 
00084 
00085 #endif 
00086 
00087 /*--------------------------------------------------------------------------*/

Generated on 8 Mar 2011 for SINFONI Pipeline Reference Manual by  doxygen 1.6.1