GIRAFFE Pipeline Reference Manual

gigrating.h

00001 /* $Id: gigrating.h,v 1.8 2007/03/12 12:53:23 rpalsa Exp $
00002  *
00003  * This file is part of the GIRAFFE Pipeline
00004  * Copyright (C) 2002-2006 European Southern Observatory
00005  *
00006  * This program is free software; you can redistribute it and/or modify
00007  * it under the terms of the GNU General Public License as published by
00008  * the Free Software Foundation; either version 2 of the License, or
00009  * (at your option) any later version.
00010  *
00011  * This program is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  * GNU General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU General Public License
00017  * along with this program; if not, write to the Free Software
00018  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00019  */
00020 
00021 /*
00022  * $Author: rpalsa $
00023  * $Date: 2007/03/12 12:53:23 $
00024  * $Revision: 1.8 $
00025  * $Name: giraffe-2_8_8 $
00026  */
00027 
00028 #ifndef GIGRATING_H
00029 #define GIGRATING_H
00030 
00031 #include <cxstring.h>
00032 
00033 #include <cpl_macros.h>
00034 #include <cpl_msg.h>
00035 
00036 #include <giimage.h>
00037 #include <gitable.h>
00038 
00039 
00040 #ifdef __cplusplus
00041 extern "C" {
00042 #endif
00043 
00044 
00052 struct GiGrating {
00053     cx_string *setup;       
00054     cx_string *name;        
00055     cx_string *filter;      
00056     cx_string *slit;        
00057     cxint     order;        
00058     cxdouble  wlen0;        
00059     cxdouble  wlenmin;      
00060     cxdouble  wlenmax;      
00061     cxdouble  band;         
00062     cxint     resol;        
00063     cxdouble  space;        
00064     cxdouble  theta;        
00065     cxdouble  fcoll;        
00066     cxdouble  gcam;         
00067     cxdouble  sdx;          
00068     cxdouble  sdy;          
00069     cxdouble  sphi;         
00070 };
00071 
00072 typedef struct GiGrating GiGrating;
00073 
00074 GiGrating *giraffe_grating_new(void);
00075 GiGrating *giraffe_grating_create(const GiImage *spectra,
00076                                   const GiTable *grating);
00077 void giraffe_grating_delete(GiGrating *);
00078 
00079 void giraffe_grating_dump(const GiGrating *);
00080 
00081 cxint giraffe_grating_setup(GiTable *grating_table, GiImage *spectra,
00082                             GiGrating *grating_setup);
00083 
00084 
00085 #ifdef __cplusplus
00086 }
00087 #endif
00088 
00089 #endif /* GIGRATING_H */

This file is part of the GIRAFFE Pipeline Reference Manual 2.8.8.
Documentation copyright © 2002-2006 European Southern Observatory.
Generated on Fri Mar 4 10:50:27 2011 by doxygen 1.6.3 written by Dimitri van Heesch, © 1997-2004