GIRAFFE Pipeline Reference Manual

gimacros.h
1 /*
2  * This file is part of the GIRAFFE Pipeline
3  * Copyright (C) 2002-2019 European Southern Observatory
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18  */
19 
20 #ifndef GIMACROS_H
21 #define GIMACROS_H
22 
23 #include <cpl_macros.h>
24 
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
30 
31 /*
32  * Instrument hardware dependent quantities
33  */
34 
35 #define GISPECTRUM_MWIDTH_MEDUSA (9.3)
36 #define GISPECTRUM_MWIDTH_IFU (5.8)
37 
38 
39 /*
40  * Size of the Argus and IFU micro lens on sky (arcsec)
41  */
42 
43 #define GI_IFU_PIXSCALE (0.52)
44 
45 #define GI_ARGUS_PIXSCALE_LOW (GI_IFU_PIXSCALE)
46 #define GI_ARGUS_PIXSCALE_HIGH (0.30)
47 
48 
49 /*
50  * Argus and IFU position angle offsets
51  *
52  * Argus offset is +90 degrees with respect to the position angle of the
53  * adapter, and the position angle offset of the IFUs is 315 degrees with
54  * respect to the negative orientation as given in the OzPoz table.
55  */
56 
57 #define GI_ARGUS_POSANG_OFFSET (90.)
58 #define GI_IFU_POSANG_OFFSET (315.)
59 
60 
61 #define GIR_M_PIX_SET 0x0ffff
62 
63 #define GI_MM_TO_NM 1000000.0
64 #define GI_NM_TO_MM 1./(GI_MM_TO_NM)
65 
66 
67 #ifdef __cplusplus
68 }
69 #endif
70 
71 #endif /* GIMACROS_H */

This file is part of the GIRAFFE Pipeline Reference Manual 2.16.10.
Documentation copyright © 2002-2006 European Southern Observatory.
Generated on Thu Dec 15 2022 21:18:51 by doxygen 1.9.1 written by Dimitri van Heesch, © 1997-2004