GIRAFFE Pipeline Reference Manual

gifibers.h

00001 /* $Id: gifibers.h,v 1.7 2007/03/12 12:53:23 rpalsa Exp $
00002  *
00003  * This file is part of the GIRAFFE Pipeline
00004  * Copyright (C) 2002-2006 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: rpalsa $
00023  * $Date: 2007/03/12 12:53:23 $
00024  * $Revision: 1.7 $
00025  * $Name: giraffe-2_9 $
00026  */
00027 
00028 #ifndef GIFIBERS_H
00029 #define GIFIBERS_H
00030 
00031 #include <cxtypes.h>
00032 
00033 #include <cpl_macros.h>
00034 #include <cpl_frame.h>
00035 #include <cpl_parameterlist.h>
00036 
00037 #include <gitable.h>
00038 
00039 
00040 #ifdef __cplusplus
00041 extern "C" {
00042 #endif
00043 
00044 
00045 struct GiFibersConfig {
00046     cxint nspec;
00047     cxchar *spectra;
00048 };
00049 
00050 typedef struct GiFibersConfig GiFibersConfig;
00051 
00052 
00053 /*
00054  * Fiber selection
00055  */
00056 
00057 GiTable *giraffe_fibers_select(const cpl_frame *frame,
00058                                GiFibersConfig *config);
00059 
00060 GiTable *giraffe_fibers_setup(const cpl_frame *frame,
00061                               const cpl_frame *reference);
00062 
00063 
00064 /*
00065  * Convenience functions
00066  */
00067 
00068 GiFibersConfig *giraffe_fibers_config_create(cpl_parameterlist *list);
00069 void giraffe_fibers_config_destroy(GiFibersConfig *config);
00070 
00071 
00072 void giraffe_fibers_config_add(cpl_parameterlist *list);
00073 
00074 
00075 #ifdef __cplusplus
00076 }
00077 #endif
00078 
00079 #endif /* GIFIBERS_H */

This file is part of the GIRAFFE Pipeline Reference Manual 2.9.0.
Documentation copyright © 2002-2006 European Southern Observatory.
Generated on Thu Jan 26 14:20:27 2012 by doxygen 1.6.3 written by Dimitri van Heesch, © 1997-2004