GIRAFFE Pipeline Reference Manual

gimask.h
1/*
2 * This file is part of the GIRAFFE Pipeline
3 * Copyright (C) 2002-2019 European Southern Observatory
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 */
19
20#ifndef GIMASK_H
21#define GIMASK_H
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
27 enum GiMaskType {
28 GIMASK_FITTED_DATA,
29 GIMASK_FIT_COEFFS
30 };
31
32 typedef enum GiMaskType GiMaskType;
33
34
35 struct GiMaskParameters {
36 cxint ywidth;
37 cxint method;
38 cxdouble threshold;
39 cxint ydeg;
40 cxint wdeg;
41 cxint start;
42 cxint retry;
43 cxint xbin;
44 cxdouble ewid;
45 cxdouble wavg;
46 cxdouble sigma;
47 cxdouble mfrac;
48 cxint niter;
49
50 struct {
51 cxint width;
52 cxint height;
53 cxsize count;
54 } ckdata;
55 };
56
57 typedef struct GiMaskParameters GiMaskParameters;
58
59
60 struct GiMaskPosition {
61 GiMaskType type;
62 cpl_matrix *my;
63 cpl_matrix *mw;
64 };
65
66 typedef struct GiMaskPosition GiMaskPosition;
67
68
69#ifdef __cplusplus
70}
71#endif
72
73#endif /* GIMASK_H */

This file is part of the GIRAFFE Pipeline Reference Manual 2.16.12.
Documentation copyright © 2002-2006 European Southern Observatory.
Generated on Thu May 9 2024 20:22:58 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2004