GIRAFFE Pipeline Reference Manual

giflat.h

00001 /* $Id: giflat.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_5_1 $
00026  */
00027 
00028 #ifndef GIFLAT_H
00029 #define GIFLAT_H
00030 
00031 #include <cxtypes.h>
00032 
00033 #include <cpl_macros.h>
00034 
00035 #include <giimage.h>
00036 #include <giextraction.h>
00037 
00038 
00039 #ifdef __cplusplus
00040 extern "C" {
00041 #endif
00042 
00043 
00044 struct GiFlatConfig {
00045     cxbool load;
00046     cxbool apply;
00047     cxbool transmission;
00048 };
00049 
00050 typedef struct GiFlatConfig GiFlatConfig;
00051 
00052 
00053 cxint giraffe_flat_apply(GiExtraction *spectra, GiTable *fibers,
00054                          GiImage *flat, GiFlatConfig *config);
00055 
00056 /*
00057  * Convenience functions
00058  */
00059 
00060 GiFlatConfig *giraffe_flat_config_create(cpl_parameterlist *list);
00061 void giraffe_flat_config_destroy(GiFlatConfig *config);
00062 
00063 void giraffe_flat_config_add(cpl_parameterlist *list);
00064 
00065 
00066 #ifdef __cplusplus
00067 }
00068 #endif
00069 
00070 #endif /* GIFLAT_H */

This file is part of the GIRAFFE Pipeline Reference Manual 2.5.1.
Documentation copyright © 2002-2006 European Southern Observatory.
Generated on Tue Mar 18 10:47:42 2008 by doxygen 1.4.6 written by Dimitri van Heesch, © 1997-2004