GIRAFFE Pipeline Reference Manual

gimask.h

00001 /* $Id: gimask.h,v 1.3 2010/06/21 09:02:27 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: 2010/06/21 09:02:27 $
00024  * $Revision: 1.3 $
00025  * $Name: giraffe-2_8_8 $
00026  */
00027 
00028 #ifndef GIMASK_H
00029 #define GIMASK_H
00030 
00031 #ifdef __cplusplus
00032 extern "C" {
00033 #endif
00034 
00035     enum GiMaskType {
00036         GIMASK_FITTED_DATA,
00037         GIMASK_FIT_COEFFS
00038     };
00039 
00040     typedef enum GiMaskType GiMaskType;
00041 
00042 
00043     struct GiMaskParameters {
00044         cxint ywidth;
00045         cxint method;
00046         cxdouble threshold;
00047         cxint ydeg;
00048         cxint wdeg;
00049         cxint start;
00050         cxint retry;
00051         cxint xbin;
00052         cxdouble ewid;
00053         cxdouble wavg;
00054         cxdouble sigma;
00055         cxdouble mfrac;
00056         cxint niter;
00057 
00058         struct {
00059             cxint width;
00060             cxint height;
00061             cxsize count;
00062         } ckdata;
00063     };
00064 
00065     typedef struct GiMaskParameters GiMaskParameters;
00066 
00067 
00068     struct GiMaskPosition {
00069         GiMaskType type;
00070         cpl_matrix *my;
00071         cpl_matrix *mw;
00072     };
00073 
00074     typedef struct GiMaskPosition GiMaskPosition;
00075 
00076 
00077 #ifdef __cplusplus
00078 }
00079 #endif
00080 
00081 #endif /* GIMASK_H */

This file is part of the GIRAFFE Pipeline Reference Manual 2.8.8.
Documentation copyright © 2002-2006 European Southern Observatory.
Generated on Fri Mar 4 10:50:27 2011 by doxygen 1.6.3 written by Dimitri van Heesch, © 1997-2004