sinfo_pro_save.h

00001 #ifndef SINFO_PRO_SAVE_H
00002 #define SINFO_PRO_SAVE_H
00003 
00004 /*
00005  * This file is part of the ESO SINFONI Pipeline
00006  * Copyright (C) 2004,2005 European Southern Observatory
00007  *
00008  * This program is free software; you can redistribute it and/or modify
00009  * it under the terms of the GNU General Public License as published by
00010  * the Free Software Foundation; either version 2 of the License, or
00011  * (at your option) any later version.
00012  *
00013  * This program is distributed in the hope that it will be useful,
00014  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016  * GNU General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU General Public License
00019  * along with this program; if not, write to the Free Software
00020  * Foundation, 51 Franklin St, Fifth Floor, Boston, MA  02111-1307  USA
00021  */
00022 #ifdef HAVE_CONFIG_H
00023 #include <config.h>
00024 #endif
00025 
00026 #include <cpl.h>
00027 #include "sinfo_pfits.h"
00028 #include "sinfo_msg.h"
00036 int 
00037 sinfo_update_fits_card_int(const char* file,const char* card,int value);
00038 
00046 int 
00047 sinfo_update_fits_card_float(const char* file,const char* card,float value);
00048 
00056 int 
00057 sinfo_update_fits_card_double(const char* file,const char* card,double value);
00058 
00059 
00067 int 
00068 sinfo_update_fits_card_long(const char* file,const char* card,long value);
00069 
00077 int sinfo_update_ims_fits_card_string(cpl_imagelist* iml, 
00078                                       const char* file,
00079                                       const char* card,
00080                                       const char* value);
00081 
00082 
00096 int
00097 sinfo_pro_save_tbl(
00098     cpl_table* tbl,
00099         cpl_frameset* ref,
00100         cpl_frameset* sof,
00101         const char* name, 
00102         const char* proid, 
00103         cpl_table* qclog,
00104         const char* recid,
00105         cpl_parameterlist* parlist);
00106 
00107 
00122 int
00123 sinfo_pro_save_ima(
00124         cpl_image* ima,
00125         cpl_frameset* ref,
00126         cpl_frameset* sof,
00127         const char* name, 
00128         const char* proid, 
00129         cpl_table* qclog,
00130         const char* recid,
00131         cpl_parameterlist* parlist);
00132 
00146 int
00147 sinfo_pro_save_ims(
00148         cpl_imagelist* ims,
00149         cpl_frameset* ref,
00150         cpl_frameset* sof,
00151         const char* name, 
00152         const char* proid, 
00153         cpl_table* qclog,
00154         const char* recid,
00155         cpl_parameterlist* parlist);
00156 
00157 
00158 
00159 
00160 
00161 
00162 
00176 int
00177 sinfo_save_pro_tbl(
00178     cpl_table* tbl,
00179         cpl_frameset* ref,
00180         cpl_frameset* sof,
00181         const char* name, 
00182         const char* proid, 
00183         cpl_propertylist* qclog,
00184         const char* recid,
00185         cpl_parameterlist* parlist);
00186 
00187 
00202 int
00203 sinfo_save_pro_ima(
00204         cpl_image* ima,
00205         cpl_frameset* ref,
00206         cpl_frameset* sof,
00207         const char* name, 
00208         const char* proid, 
00209         cpl_propertylist* qclog,
00210         const char* recid,
00211         cpl_parameterlist* parlist);
00212 
00226 int
00227 sinfo_save_pro_ims(
00228         cpl_imagelist* ims,
00229         cpl_frameset* ref,
00230         cpl_frameset* sof,
00231         const char* name, 
00232         const char* proid, 
00233         cpl_propertylist* qclog,
00234         const char* recid,
00235         cpl_parameterlist* parlist);
00236 
00237 
00238 
00239 
00240 
00241 cpl_table* sinfo_qclog_init(void);
00242 
00243 int
00244 sinfo_qclog_add_int(cpl_table* table,
00245                  const char* name,  
00246                  const int   value,
00247                  const char* help,
00248          const char* format);
00249 
00250 
00251 int
00252 sinfo_qclog_add_bool(cpl_table* table,
00253                  const char* name,  
00254                  const char  value,
00255                  const char* help,
00256          const char* format);
00257 
00258 
00259 int
00260 sinfo_qclog_add_float(cpl_table* table,
00261                  const char* name,  
00262                  const float   value,
00263                  const char* help,
00264          const char* format);
00265 
00266 
00267 int
00268 sinfo_qclog_add_double(cpl_table* table,
00269                  const char* name,  
00270                  const double   value,
00271                  const char* help,
00272          const char* format);
00273 
00274 
00275 int
00276 sinfo_qclog_add_string(cpl_table* table,
00277                  const char* name,  
00278                  const char*   value,
00279                  const char* help,
00280          const char* format);
00281 
00282 
00283 
00284 cpl_propertylist* sinfo_qc_init(void);
00285 
00286 int
00287 sinfo_qc_add_int(cpl_propertylist* table,
00288                  const char* name,  
00289                  const int   value,
00290                  const char* help,
00291          const char* format);
00292 
00293 
00294 int
00295 sinfo_qc_add_bool(cpl_propertylist* table,
00296                  const char* name,  
00297                  const char  value,
00298                  const char* help,
00299          const char* format);
00300 
00301 
00302 int
00303 sinfo_qc_add_float(cpl_propertylist* table,
00304                  const char* name,  
00305                  const float   value,
00306                  const char* help,
00307          const char* format);
00308 
00309 
00310 int
00311 sinfo_qc_add_double(cpl_propertylist* table,
00312                  const char* name,  
00313                  const double   value,
00314                  const char* help,
00315          const char* format);
00316 
00317 
00318 int
00319 sinfo_qc_add_string(cpl_propertylist* table,
00320                  const char* name,  
00321                  const char*   value,
00322                  const char* help,
00323          const char* format);
00324 
00325 
00326 
00327 #endif /* SINFO_PRO_SAVE */

Generated on 3 Mar 2013 for SINFONI Pipeline Reference Manual by  doxygen 1.6.1