GIRAFFE Pipeline Reference Manual

gisgcalibration.h

00001 /* $Id: gisgcalibration.h,v 1.10 2007/07/06 13:07:51 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/07/06 13:07:51 $
00024  * $Revision: 1.10 $
00025  * $Name: giraffe-2_10 $
00026  */
00027 
00028 #ifndef GISGCALIBRATION_H
00029 #define GISGCALIBRATION_H
00030 
00031 #include <cxtypes.h>
00032 
00033 #include <cpl_macros.h>
00034 #include <cpl_parameterlist.h>
00035 
00036 #include <girange.h>
00037 #include <giimage.h>
00038 #include <gitable.h>
00039 #include <gilocalization.h>
00040 #include <giextraction.h>
00041 #include <girebinning.h>
00042 
00043 
00044 #ifdef __cplusplus
00045 extern "C" {
00046 #endif
00047 
00048 
00057 struct GiSGCalConfig {
00058 
00063     cxint repeat;
00064 
00070     cxdouble zmax;
00071 
00076     cxdouble cc_step;
00077 
00083     cxbool cc_wdomain;
00084 
00090     GiRange* cc_domain;
00091 
00096     GiRange* rv_limits;
00097 
00102     cxint rv_niter;
00103 
00108     cxdouble rv_wfactor;
00109 
00114     cxint pf_niter;
00115 
00120     cxint pf_ntest;
00121 
00126     cxdouble pf_dchisq;
00127 
00128 };
00129 
00130 typedef struct GiSGCalConfig GiSGCalConfig;
00131 
00132 
00133 cxint giraffe_calibrate_slit(GiTable* result, const GiExtraction* extraction,
00134                              const GiLocalization* localization,
00135                              const GiTable* fibers, const GiTable* wlsolution,
00136                              const GiTable* slitgeometry,
00137                              const GiTable* grating, const GiTable* mask,
00138                              const GiSGCalConfig* config);
00139 
00140 cxint giraffe_compute_offsets(GiTable* fibers,
00141                               const GiRebinning* rebinning,
00142                               const GiTable* grating,
00143                               const GiTable* mask,
00144                               const GiSGCalConfig* config);
00145 
00146 GiSGCalConfig* giraffe_sgcalibration_config_create(cpl_parameterlist* list);
00147 void giraffe_sgcalibration_config_destroy(GiSGCalConfig* config);
00148 void giraffe_sgcalibration_config_add(cpl_parameterlist* list);
00149 
00150 
00151 #ifdef __cplusplus
00152 }
00153 #endif
00154 
00155 #endif /* GISGCALIBRATION_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