SINFONI Pipeline Reference Manual  2.6.0
sinfo_pro_save.h
1 #ifndef SINFO_PRO_SAVE_H
2 #define SINFO_PRO_SAVE_H
3 
4 /*
5  * This file is part of the ESO SINFONI Pipeline
6  * Copyright (C) 2004,2005 European Southern Observatory
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, 51 Franklin St, Fifth Floor, Boston, MA 02111-1307 USA
21  */
22 #ifdef HAVE_CONFIG_H
23 #include <config.h>
24 #endif
25 
26 #include <cpl.h>
27 #include "sinfo_pfits.h"
28 #include "sinfo_msg.h"
36 int
37 sinfo_update_fits_card_int(const char* file,const char* card,int value);
38 
46 int
47 sinfo_update_fits_card_float(const char* file,const char* card,float value);
48 
56 int
57 sinfo_update_fits_card_double(const char* file,const char* card,double value);
58 
59 
67 int
68 sinfo_update_fits_card_long(const char* file,const char* card,long value);
69 
77 int sinfo_update_ims_fits_card_string(cpl_imagelist* iml,
78  const char* file,
79  const char* card,
80  const char* value);
81 
82 
96 int
97 sinfo_pro_save_tbl(
98  cpl_table* tbl,
99  cpl_frameset* ref,
100  cpl_frameset* sof,
101  const char* name,
102  const char* proid,
103  cpl_table* qclog,
104  const char* recid,
105  cpl_parameterlist* parlist);
106 
107 
122 int
123 sinfo_pro_save_ima(
124  cpl_image* ima,
125  cpl_frameset* ref,
126  cpl_frameset* sof,
127  const char* name,
128  const char* proid,
129  cpl_table* qclog,
130  const char* recid,
131  cpl_parameterlist* parlist);
132 
146 int
147 sinfo_pro_save_ims(
148  cpl_imagelist* ims,
149  cpl_frameset* ref,
150  cpl_frameset* sof,
151  const char* name,
152  const char* proid,
153  cpl_table* qclog,
154  const char* recid,
155  cpl_parameterlist* parlist);
156 
157 
158 
159 
160 
161 
162 
176 int
177 sinfo_save_pro_tbl(
178  cpl_table* tbl,
179  cpl_frameset* ref,
180  cpl_frameset* sof,
181  const char* name,
182  const char* proid,
183  cpl_propertylist* qclog,
184  const char* recid,
185  cpl_parameterlist* parlist);
186 
187 
202 int
203 sinfo_save_pro_ima(
204  cpl_image* ima,
205  cpl_frameset* ref,
206  cpl_frameset* sof,
207  const char* name,
208  const char* proid,
209  cpl_propertylist* qclog,
210  const char* recid,
211  cpl_parameterlist* parlist);
212 
226 int
227 sinfo_save_pro_ims(
228  cpl_imagelist* ims,
229  cpl_frameset* ref,
230  cpl_frameset* sof,
231  const char* name,
232  const char* proid,
233  cpl_propertylist* qclog,
234  const char* recid,
235  cpl_parameterlist* parlist);
236 
237 
238 
239 
240 
241 cpl_table* sinfo_qclog_init(void);
242 
243 int
244 sinfo_qclog_add_int(cpl_table* table,
245  const char* name,
246  const int value,
247  const char* help,
248  const char* format);
249 
250 
251 int
252 sinfo_qclog_add_bool(cpl_table* table,
253  const char* name,
254  const char value,
255  const char* help,
256  const char* format);
257 
258 
259 int
260 sinfo_qclog_add_float(cpl_table* table,
261  const char* name,
262  const float value,
263  const char* help,
264  const char* format);
265 
266 
267 int
268 sinfo_qclog_add_double(cpl_table* table,
269  const char* name,
270  const double value,
271  const char* help,
272  const char* format);
273 
274 
275 int
276 sinfo_qclog_add_string(cpl_table* table,
277  const char* name,
278  const char* value,
279  const char* help,
280  const char* format);
281 
282 
283 
284 cpl_propertylist* sinfo_qc_init(void);
285 
286 int
287 sinfo_qc_add_int(cpl_propertylist* table,
288  const char* name,
289  const int value,
290  const char* help,
291  const char* format);
292 
293 
294 int
295 sinfo_qc_add_bool(cpl_propertylist* table,
296  const char* name,
297  const char value,
298  const char* help,
299  const char* format);
300 
301 
302 int
303 sinfo_qc_add_float(cpl_propertylist* table,
304  const char* name,
305  const float value,
306  const char* help,
307  const char* format);
308 
309 
310 int
311 sinfo_qc_add_double(cpl_propertylist* table,
312  const char* name,
313  const double value,
314  const char* help,
315  const char* format);
316 
317 
318 int
319 sinfo_qc_add_string(cpl_propertylist* table,
320  const char* name,
321  const char* value,
322  const char* help,
323  const char* format);
324 
325 
326 
327 #endif /* SINFO_PRO_SAVE */