00001 /* * 00002 * This file is part of the ESO X-shooter Pipeline * 00003 * Copyright (C) 2006 European Southern Observatory * 00004 * * 00005 * This library is free software; you can redistribute it and/or modify * 00006 * it under the terms of the GNU General Public License as published by * 00007 * the Free Software Foundation; either version 2 of the License, or * 00008 * (at your option) any later version. * 00009 * * 00010 * This program is distributed in the hope that it will be useful, * 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00013 * GNU General Public License for more details. * 00014 * * 00015 * You should have received a copy of the GNU General Public License * 00016 * along with this program; if not, write to the Free Software * 00017 * Foundation, 51 Franklin St, Fifth Floor, Boston, MA 02111-1307 USA * 00018 * */ 00019 /* 00020 * $Author: amodigli $ 00021 * $Date: 2009/09/27 10:37:36 $ 00022 * $Revision: 1.5 $ 00023 */ 00024 00025 #if !defined(_XSH_IFU_DEFS_H) 00026 #define _XSH_IFU_DEFS_H 00027 00028 #define SLITLET_LENGTH (LENGTH_SLIT_IFU/3.) 00029 #define DOWN_SLITLET_MIN MIN_SLIT_IFU 00030 #define DOWN_SLITLET_MAX (MIN_SLIT_IFU+SLITLET_LENGTH) 00031 #define CEN_SLITLET_MIN DOWN_SLITLET_MAX 00032 #define CEN_SLITLET_MAX (CEN_SLITLET_MIN+SLITLET_LENGTH) 00033 #define UP_SLITLET_MIN CEN_SLITLET_MAX 00034 #define UP_SLITLET_MAX MAX_SLIT_IFU 00035 00036 #define SLITLET_CEN_CENTER 0.0 00037 #define SLITLET_DOWN_CENTER -4.0 00038 #define SLITLET_UP_CENTER 4.0 00039 00040 enum { 00041 CENTER_SLIT, 00042 LOWER_IFU_SLITLET, CENTER_IFU_SLITLET, UPPER_IFU_SLITLET 00043 } ; 00044 00045 /* 00046 DOWN is for lower slitlet (low Y), UP for upper (high Y) 00047 */ 00048 static const char * SlitletName[] = {"", "DOWN", "CEN", "UP"} ; 00049 00050 #endif