GIRAFFE Pipeline Reference Manual

gitransmission.h

00001 /* $Id: gitransmission.h,v 1.10 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.10 $
00025  * $Name: giraffe-2_5_2 $
00026  */
00027 
00028 #ifndef GITRANSMISSION_H
00029 #define GITRANSMISSION_H
00030 
00031 #include <cxtypes.h>
00032 
00033 #include <cpl_macros.h>
00034 
00035 #include <giimage.h>
00036 #include <gitable.h>
00037 #include <gilocalization.h>
00038 #include <giextraction.h>
00039 
00040 
00041 #ifdef __cplusplus
00042 extern "C" {
00043 #endif
00044 
00045 
00046     struct GiTransmissionConfig {
00047         cxbool transmission;
00048     };
00049 
00050     typedef struct GiTransmissionConfig GiTransmissionConfig;
00051 
00052 
00053     cxint
00054     giraffe_transmission_compute(GiExtraction *extraction, GiTable *fibers,
00055                                  GiLocalization *localization,
00056                                  GiTable *wcalcoeff, GiTable *grating,
00057                                  GiTable *slitgeometry);
00058 
00059     cxint
00060     giraffe_transmission_setup(GiTable *fibers, GiTable *reference);
00061 
00062     cxint
00063     giraffe_transmission_apply(GiExtraction *spectra, GiTable *fibers);
00064 
00065 
00066     /*
00067      * Convenience functions
00068      */
00069 
00070     GiTransmissionConfig *
00071     giraffe_transmission_config_create(cpl_parameterlist *list);
00072 
00073     void
00074     giraffe_transmission_config_destroy(GiTransmissionConfig *config);
00075 
00076     void
00077     giraffe_transmission_config_add(cpl_parameterlist *list);
00078 
00079 
00080 #ifdef __cplusplus
00081 }
00082 #endif
00083 
00084 #endif /* GITRANSMISSION_H */

This file is part of the GIRAFFE Pipeline Reference Manual 2.5.2.
Documentation copyright © 2002-2006 European Southern Observatory.
Generated on Fri Jun 13 14:36:24 2008 by doxygen 1.4.6 written by Dimitri van Heesch, © 1997-2004