GIRAFFE Pipeline Reference Manual

gipsf.h

00001 /* $Id: gipsf.h,v 1.7 2007/03/06 19:53:53 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/06 19:53:53 $
00024  * $Revision: 1.7 $
00025  * $Name: giraffe-2_9 $
00026  */
00027 
00028 #ifndef GIPSF_H
00029 #define GIPSF_H
00030 
00031 #include <cpl_macros.h>
00032 #include <cpl_parameterlist.h>
00033 
00034 #include <giimage.h>
00035 #include <gipsfdata.h>
00036 #include <gimodel.h>
00037 #include <giclip.h>
00038 
00039 
00040 #ifdef __cplusplus
00041 extern "C" {
00042 #endif
00043 
00044     struct GiPsfConfig {
00045         const cxchar* profile;
00046         cxint         binsize;
00047         cxint         maxwidth;
00048         cxint         width;
00049         cxint         exponent;
00050         cxint         yorder;
00051         cxint         worder;
00052         cxbool        normalize;
00053         cxbool        parameter_fit;
00054         GiFitSetup    fit;
00055         GiClipParams  clip;
00056     };
00057 
00058     typedef struct GiPsfConfig GiPsfConfig;
00059 
00060     cxint giraffe_compute_fiber_profiles(GiLocalization* result,
00061                                          GiImage* image,
00062                                          GiTable* fibers,
00063                                          GiLocalization* master,
00064                                          GiImage* bpixel,
00065                                          GiPsfConfig* config);
00066 
00067     /*
00068      * Convenience functions
00069      */
00070 
00071     GiPsfConfig* giraffe_psf_config_create(cpl_parameterlist* list);
00072     void giraffe_psf_config_destroy(GiPsfConfig* self);
00073 
00074     void giraffe_psf_config_add(cpl_parameterlist* list);
00075 
00076 
00077 #ifdef __cplusplus
00078 }
00079 #endif
00080 
00081 #endif /* GIPSF_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:28 2012 by doxygen 1.6.3 written by Dimitri van Heesch, © 1997-2004