X-shooter Pipeline Reference Manual 3.8.15
xsh_ifu_defs.h
Go to the documentation of this file.
1/* *
2 * This file is part of the ESO X-shooter Pipeline *
3 * Copyright (C) 2006 European Southern Observatory *
4 * *
5 * This library 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, 51 Franklin St, Fifth Floor, Boston, MA 02111-1307 USA *
18 * */
19/*
20 * $Author: amodigli $
21 * $Date: 2009-09-27 10:37:36 $
22 * $Revision: 1.5 $
23 */
24
25#if !defined(_XSH_IFU_DEFS_H)
26#define _XSH_IFU_DEFS_H
27
28#define SLITLET_LENGTH (LENGTH_SLIT_IFU/3.)
29#define DOWN_SLITLET_MIN MIN_SLIT_IFU
30#define DOWN_SLITLET_MAX (MIN_SLIT_IFU+SLITLET_LENGTH)
31#define CEN_SLITLET_MIN DOWN_SLITLET_MAX
32#define CEN_SLITLET_MAX (CEN_SLITLET_MIN+SLITLET_LENGTH)
33#define UP_SLITLET_MIN CEN_SLITLET_MAX
34#define UP_SLITLET_MAX MAX_SLIT_IFU
35
36#define SLITLET_CEN_CENTER 0.0
37#define SLITLET_DOWN_CENTER -4.0
38#define SLITLET_UP_CENTER 4.0
39
40enum {
43} ;
44
45/*
46 DOWN is for lower slitlet (low Y), UP for upper (high Y)
47*/
48static const char * SlitletName[] = {"", "DOWN", "CEN", "UP"} ;
49
50#endif
@ CENTER_IFU_SLITLET
Definition: xsh_ifu_defs.h:42
@ LOWER_IFU_SLITLET
Definition: xsh_ifu_defs.h:42
@ UPPER_IFU_SLITLET
Definition: xsh_ifu_defs.h:42
@ CENTER_SLIT
Definition: xsh_ifu_defs.h:41
static const char * SlitletName[]
Definition: xsh_ifu_defs.h:48