FORS Pipeline Reference Manual 4.9.20
|
00001 /* $Id: fors_instrument.h,v 1.3 2010/09/14 07:49:30 cizzo Exp $ 00002 * 00003 * This file is part of the FORS Library 00004 * Copyright (C) 2002-2010 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 00019 */ 00020 00021 /* 00022 * $Author: cizzo $ 00023 * $Date: 2010/09/14 07:49:30 $ 00024 * $Revision: 1.3 $ 00025 * $Name: fors-4_9_20 $ 00026 */ 00027 00028 #ifndef FORS_INSTRUMENT_H 00029 #define FORS_INSTRUMENT_H 00030 00031 #include <fors_setting.h> 00032 #include <stdbool.h> 00033 #include <cpl.h> 00034 00035 char 00036 fors_instrument_filterband_get_by_setting( const fors_setting *setting); 00037 00038 char 00039 fors_instrument_filterband_get_by_name( const char *filtername); 00040 00041 bool 00042 fors_instrument_filterband_is_defined( char band); 00043 00044 bool 00045 fors_instrument_filterband_is_none( char band); 00046 00047 bool 00048 fors_instrument_filterband_is_unknown( char band); 00049 00050 char 00051 fors_instrument_filterband_value_unknown( void); 00052 00053 int 00054 fors_instrument_known_filters_get_number( void); 00055 00056 const char * 00057 fors_instrument_known_filters_get_name( int n); 00058 00059 char 00060 fors_instrument_known_filters_get_band( int n); 00061 00062 #endif /* FORS_INSTRUMENT_H */