GIRAFFE Pipeline Reference Manual

giwlresiduals.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 GIWLRESIDUALS_H
21 #define GIWLRESIDUALS_H
22 
23 #include <cxtypes.h>
24 
25 #include <cpl_macros.h>
26 
27 #include <gitable.h>
28 #include <gichebyshev.h>
29 
30 
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34 
35 
36 typedef struct GiWlResiduals GiWlResiduals;
37 
38 
39 GiWlResiduals *giraffe_wlresiduals_new(void);
40 GiWlResiduals *giraffe_wlresiduals_clone(const GiWlResiduals *other);
41 GiWlResiduals *giraffe_wlresiduals_create(GiTable *wlsolution);
42 void giraffe_wlresiduals_delete(GiWlResiduals *self);
43 
44 cxsize giraffe_wlresiduals_get_size(const GiWlResiduals *self);
45 
46 cxint giraffe_wlresiduals_get_subslit(const GiWlResiduals *self, cxsize idx);
47 GiChebyshev2D *giraffe_wlresiduals_get_element(const GiWlResiduals *self,
48  cxsize idx);
49 
50 cxint giraffe_wlresiduals_set(GiWlResiduals *self, cxint ssn,
51  const GiChebyshev2D *residuals);
52 GiChebyshev2D *giraffe_wlresiduals_get(const GiWlResiduals *self, cxint ssn);
53 
54 cpl_table *giraffe_wlresiduals_table(const GiWlResiduals *self);
55 
56 
57 #ifdef __cplusplus
58 }
59 #endif
60 
61 #endif /* GIWLRESIDUALS_H */

This file is part of the GIRAFFE Pipeline Reference Manual 2.16.10.
Documentation copyright © 2002-2006 European Southern Observatory.
Generated on Thu Dec 15 2022 21:18:52 by doxygen 1.9.1 written by Dimitri van Heesch, © 1997-2004