GIRAFFE Pipeline Reference Manual

gigrating.h
1 /* $Id$
2  *
3  * This file is part of the GIRAFFE Pipeline
4  * Copyright (C) 2002-2006 European Southern Observatory
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19  */
20 
21 /*
22  * $Author$
23  * $Date$
24  * $Revision$
25  * $Name$
26  */
27 
28 #ifndef GIGRATING_H
29 #define GIGRATING_H
30 
31 #include <cxstring.h>
32 
33 #include <cpl_macros.h>
34 #include <cpl_msg.h>
35 
36 #include <giimage.h>
37 #include <gitable.h>
38 
39 
40 #ifdef __cplusplus
41 extern "C" {
42 #endif
43 
44 
52 struct GiGrating {
53  cx_string *setup;
54  cx_string *name;
55  cx_string *filter;
56  cx_string *slit;
57  cxint order;
58  cxdouble wlen0;
59  cxdouble wlenmin;
60  cxdouble wlenmax;
61  cxdouble band;
62  cxint resol;
63  cxdouble space;
64  cxdouble theta;
65  cxdouble fcoll;
66  cxdouble gcam;
67  cxdouble sdx;
68  cxdouble sdy;
69  cxdouble sphi;
70 };
71 
72 typedef struct GiGrating GiGrating;
73 
75 GiGrating *giraffe_grating_create(const GiImage *spectra,
76  const GiTable *grating);
78 
79 void giraffe_grating_dump(const GiGrating *);
80 
81 cxint giraffe_grating_setup(GiTable *grating_table, GiImage *spectra,
82  GiGrating *grating_setup);
83 
84 
85 #ifdef __cplusplus
86 }
87 #endif
88 
89 #endif /* GIGRATING_H */

This file is part of the GIRAFFE Pipeline Reference Manual 2.12.
Documentation copyright © 2002-2006 European Southern Observatory.
Generated on Mon Mar 24 2014 11:43:52 by doxygen 1.8.2 written by Dimitri van Heesch, © 1997-2004