GIRAFFE Pipeline Reference Manual

gifxcalibration.h

00001 /* $Id: gifxcalibration.h,v 1.2 2008/04/25 09:25:59 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: 2008/04/25 09:25:59 $
00024  * $Revision: 1.2 $
00025  * $Name: giraffe-2_10 $
00026  */
00027 
00028 #ifndef GIFXCALIBRATION_H
00029 #define GIFXCALIBRATION_H
00030 
00031 
00032 #include <cpl_parameterlist.h>
00033 
00034 #include <giimage.h>
00035 #include <gitable.h>
00036 #include <girebinning.h>
00037 #include <giresponse.h>
00038 
00039 
00040 #ifdef __cplusplus
00041 extern "C" {
00042 #endif
00043 
00044     struct GiFxCalibrationConfig {
00045         cxbool sky_subtraction;
00046     };
00047 
00048     typedef struct GiFxCalibrationConfig GiFxCalibrationConfig;
00049 
00050 
00051     GiFxCalibrationConfig*
00052     giraffe_fxcalibration_config_create(cpl_parameterlist* parameters);
00053     void giraffe_fxcalibration_config_destroy(GiFxCalibrationConfig* self);
00054 
00055     void giraffe_fxcalibration_config_add(cpl_parameterlist* parameters);
00056 
00057 
00058     GiTable* giraffe_select_flux_standard(const GiTable* catalog,
00059                                           const GiImage* spectra,
00060                                           cxdouble max_dist);
00061 
00062     cxint giraffe_calibrate_flux(GiResponse* result,
00063                                  const GiRebinning* spectra,
00064                                  const GiTable* fibers,
00065                                  const GiImage* flat,
00066                                  const GiTable* flux,
00067                                  const GiTable* extinction,
00068                                  const GiFxCalibrationConfig* config);
00069 
00070 
00071 #ifdef __cplusplus
00072 }
00073 #endif
00074 
00075 #endif /* GIFXCALIBRATION_H */

This file is part of the GIRAFFE Pipeline Reference Manual 2.10.
Documentation copyright © 2002-2006 European Southern Observatory.
Generated on Thu Mar 7 14:11:02 2013 by doxygen 1.4.7 written by Dimitri van Heesch, © 1997-2004