00001 /* $Id: sinfo_tpl_utils.h,v 1.2 2007/08/20 10:03:49 amodigli Exp $ 00002 * 00003 * This file is part of the SINFONI Pipeline 00004 * Copyright (C) 2002,2003 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00019 */ 00020 00021 /* 00022 * $Author: amodigli $ 00023 * $Date: 2007/08/20 10:03:49 $ 00024 * $Revision: 1.2 $ 00025 * $Name: HEAD $ 00026 */ 00027 00028 #ifndef SINFO_TPL_UTILS_H 00029 #define SINFO_TPL_UTILS_H 00030 00031 /*----------------------------------------------------------------------------- 00032 Includes 00033 -----------------------------------------------------------------------------*/ 00034 00035 #include <cpl.h> 00036 00037 typedef enum _SINFO_BAND_ { 00038 SINFO_BAND_J, 00039 SINFO_BAND_JS, 00040 SINFO_BAND_JBLOCK, 00041 SINFO_BAND_H, 00042 SINFO_BAND_K, 00043 SINFO_BAND_KS, 00044 SINFO_BAND_L, 00045 SINFO_BAND_M, 00046 SINFO_BAND_LP, 00047 SINFO_BAND_MP, 00048 SINFO_BAND_Z, 00049 SINFO_BAND_SZ, 00050 SINFO_BAND_SH, 00051 SINFO_BAND_SK, 00052 SINFO_BAND_SL, 00053 SINFO_BAND_UNKNOWN 00054 } sinfo_band ; 00055 00056 /*----------------------------------------------------------------------------- 00057 Prototypes 00058 -----------------------------------------------------------------------------*/ 00059 00060 const char * sinfo_get_license(void) ; 00061 cpl_frameset * sinfo_extract_frameset(const cpl_frameset *, const char *) ; 00062 const char * sinfo_extract_filename(const cpl_frameset *, const char *) ; 00063 00064 const char * sinfo_std_band_name(sinfo_band) ; 00065 #endif