GIRAFFE Pipeline Reference Manual
Overview
Modules
Structures
Source Files
GIRAFFE
Credits
giraffe
gislitgeometry.h
1
/* $Id$
2
*
3
* This file is part of the GIRAFFE Pipeline
4
* Copyright (C) 2002-2006 European Southern Observatory
5
*
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2 of the License, or
9
* (at your option) any later version.
10
*
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the Free Software
18
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19
*/
20
21
/*
22
* $Author$
23
* $Date$
24
* $Revision$
25
* $Name$
26
*/
27
28
#ifndef GISLITGEOMETRY_H
29
#define GISLITGEOMETRY_H
30
31
#include <cxmacros.h>
32
#include <cxtypes.h>
33
#include <cxstring.h>
34
35
#include <gitable.h>
36
37
38
#ifdef __cplusplus
39
extern
"C"
{
40
#endif
41
42
52
struct
GiSlitGeometry
{
53
54
cpl_matrix *fps;
55
cpl_matrix *rindex;
56
57
cpl_matrix *xf;
58
cpl_matrix *yf;
59
63
cxint
nsubslits
;
64
71
cpl_matrix **
subslits
;
72
73
};
74
75
typedef
struct
GiSlitGeometry
GiSlitGeometry
;
76
77
78
GiSlitGeometry
*
giraffe_slitgeometry_new
(
void
);
79
GiSlitGeometry
*
giraffe_slitgeometry_create
(GiTable *, cxbool);
80
GiSlitGeometry
*
giraffe_slitgeometry_duplicate
(
GiSlitGeometry
*);
81
void
giraffe_slitgeometry_delete
(
GiSlitGeometry
*);
82
83
cxint
giraffe_slitgeometry_size
(
GiSlitGeometry
*);
84
void
giraffe_slitgeometry_resize
(
GiSlitGeometry
*, cxint);
85
86
void
giraffe_slitgeometry_set
(
GiSlitGeometry
*, cxint, cpl_matrix *);
87
cpl_matrix*
giraffe_slitgeometry_get
(
GiSlitGeometry
*, cxint);
88
void
giraffe_slitgeometry_print
(
GiSlitGeometry
*);
89
90
91
GiTable *
giraffe_slitgeometry_load
(
const
GiTable *fibers,
92
const
cxchar *filename, cxint pos,
93
const
cxchar *tag);
94
cpl_frame *giraffe_slitgeometry_save(
const
GiTable *slitgeometry);
95
96
97
#ifdef __cplusplus
98
}
99
#endif
100
101
#endif
/* GISLITGEOMETRY_H */
This file is part of the GIRAFFE Pipeline Reference Manual 2.12.
Documentation copyright © 2002-2006 European Southern Observatory.
Generated on Mon Mar 24 2014 11:43:53 by
doxygen
1.8.2 written by
Dimitri van Heesch
, © 1997-2004