flames_midas_def.h

00001 /*
00002  * This file is part of the ESO UVES Pipeline
00003  * Copyright (C) 2004,2005 European Southern Observatory
00004  *
00005  * This program is free software; you can redistribute it and/or modify
00006  * it under the terms of the GNU General Public License as published by
00007  * the Free Software Foundation; either version 2 of the License, or
00008  * (at your option) any later version.
00009  *
00010  * This program is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  * GNU General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU General Public License
00016  * along with this program; if not, write to the Free Software
00017  * Foundation, 51 Franklin St, Fifth Floor, Boston, MA  02111-1307  USA
00018  */
00019 
00020 /*
00021  * $Author: amodigli $
00022  * $Date: 2010/09/24 09:32:02 $
00023  * $Revision: 1.3 $
00024  * $Name: uves-4_9_1 $
00025  * $Log: flames_midas_def.h,v $
00026  * Revision 1.3  2010/09/24 09:32:02  amodigli
00027  * put back QFITS dependency to fix problem spot by NRI on FIBER mode (with MIDAS calibs) data
00028  *
00029  * Revision 1.1  2009/04/14 07:01:07  amodigli
00030  * added to CVS (moded from flames tree)
00031  *
00032  * Revision 1.19  2007/10/01 17:19:50  amodigli
00033  * added scdprs
00034  *
00035  * Revision 1.18  2007/06/22 14:52:18  jmlarsen
00036  * Exported dtype_to_cpltype function
00037  *
00038  * Revision 1.17  2007/06/08 15:38:08  jmlarsen
00039  * Added option to not automatically propagate NAXIS
00040  *
00041  * Revision 1.16  2007/06/06 08:17:33  amodigli
00042  * replace tab with 4 spaces
00043  *
00044  * Revision 1.15  2007/06/04 11:26:40  jmlarsen
00045  * Added SCKGETC_fsp for cpl_frameset pointers
00046  *
00047  * Revision 1.14  2007/05/30 12:06:03  amodigli
00048  * #include<fitsio.h>
00049  *
00050  * Revision 1.13  2007/05/29 14:39:50  jmlarsen
00051  * Readded 3d table functions but map them to simple (2d) table functions
00052  *
00053  * Revision 1.12  2007/05/29 13:46:23  jmlarsen
00054  * Removed 3d table column stubs which were not needed for FLAMES
00055  *
00056  * Revision 1.11  2007/04/10 07:31:13  jmlarsen
00057  * Added TCTID
00058  *
00059  * Revision 1.10  2007/04/03 11:05:33  jmlarsen
00060  * Implemented table module
00061  *
00062  * Revision 1.9  2007/03/26 12:40:52  jmlarsen
00063  * Converted SCTDIS calls
00064  *
00065  * Revision 1.8  2007/03/23 13:44:37  jmlarsen
00066  * Implemented SCKWR- functions
00067  *
00068  * Revision 1.7  2007/03/23 10:10:15  jmlarsen
00069  * Implemented catalog interface
00070  *
00071  * Revision 1.6  2007/03/05 09:40:31  jmlarsen
00072  * Added SCDCOP
00073  *
00074  * Revision 1.5  2007/02/27 14:09:31  jmlarsen
00075  * Extended interface of uves_find_property
00076  *
00077  * Revision 1.4  2007/01/31 13:14:57  jmlarsen
00078  * Initial implementation of SCFGET
00079  *
00080  * Revision 1.3  2007/01/29 13:09:57  jmlarsen
00081  * Work on conversion to CPL
00082  *
00083  * Revision 1.2  2007/01/15 14:00:23  jmlarsen
00084  * Imported FLAMES sources from MIDAS pipeline
00085  *
00086  * Revision 1.1  2007/01/10 08:06:10  jmlarsen
00087  * Added source files
00088  *
00089  * Revision 1.1  2006/10/20 06:42:09  jmlarsen
00090  * Moved FLAMES source to flames directory
00091  *
00092  * Revision 1.78  2006/10/12 11:37:28  jmlarsen
00093  * Temporarily disabled FLAMES code generation
00094  *
00095  */
00096 #ifndef FLAMES_MIDAS_DEF_H
00097 #define FLAMES_MIDAS_DEF_H
00098 
00099 #ifdef HAVE_CONFIG_H
00100 #  include <config.h>
00101 #endif
00102 
00103 /*-----------------------------------------------------------------------------
00104                     Includes
00105  -----------------------------------------------------------------------------*/
00106 #include <fitsio.h>
00107 #include <cpl.h>
00108 /*-----------------------------------------------------------------------------
00109                                    Typedefs
00110  -----------------------------------------------------------------------------*/
00111 
00112 /*-----------------------------------------------------------------------------
00113                              Defines
00114  -----------------------------------------------------------------------------*/
00115 /* Definitions not used by FLAMES are commented out */
00116 /* from flames_uves.h */
00117 #define MAREMMA 2
00118 
00119 /* Data types */
00120 #define D_OLD_FORMAT    0
00121 #define D_I1_FORMAT     1               /* I*1 = 1 byte                 */
00122 #define D_I2_FORMAT     2               /* I*2 = 16 bit integer         */
00123 #define D_UI2_FORMAT  102               /* I*2 = 16 bit unsigned integer */
00124 #define D_I4_FORMAT     4               /* I*4 = 32 bit integer         */
00125 #define D_R4_FORMAT    10               /* R*4 = 32 bit floating point  */
00126 #define D_R8_FORMAT    18               /* R*8 = 64 bit floating point  */
00127 //#define D_L1_FORMAT    21               /* L*1 = 1 byte logical         */
00128 //#define D_L2_FORMAT    22               /* L*2 = 16 bit logical         */
00129 #define D_L4_FORMAT    24               /* L*4 = 32 bit logical         */
00130 #define D_C_FORMAT     30               /* 1 byte character             */
00131 //#define D_X_FORMAT     40               /* 1 byte flags                 */
00132 //#define D_P_FORMAT     50               /* pointers                     */
00133 
00134 
00135 
00136 /*  Filetypes */
00137 //#define F_OLD_TYPE      0               /* use old type of files        */
00138 #define F_IMA_TYPE      1               /* type no. for image files     */
00139 //#define F_ASC_TYPE      2               /* type no. for ASCII files     */
00140 #define F_TBL_TYPE      3               /* type no. for table files     */
00141 //#define F_FIT_TYPE      4               /* type no. for fit files       */
00142 //#define F_FIMA_TYPE     11              /* type no. for FITS images     */
00143 //#define F_FTBL_TYPE     13              /* type no. for FITS tables     */
00144 //#define F_FFIT_TYPE     14              /* type no. for FITS fit files  */
00145 
00146 
00147 
00148 /* Opening modes */
00149 //#define F_TRANS      0          /* table transposed format */
00150 //#define F_RECORD     1          /* table record format */
00151 #define F_I_MODE     0          /* map file for input only    */
00152 #define F_O_MODE     1          /* map file for output        */
00153 #define F_IO_MODE    2          /* map file for updating      */
00154 //#define F_U_MODE     2          /* map file for updating      */
00155 //#define F_X_MODE     9          /* create/map virtual memory  */
00156 //#define F_H_MODE     7          /* create header file only */
00157 //#define F_FO_MODE    11         /* map FITS file for output   */
00158 
00159 /* May be combined with */
00160 //#define F_MAP_FORCE 0x10        /* Force the mapping (modifier)         */
00161 //#define F_EIO_FORCE 0x20        /* Force the elementary i/o (modifier)*/
00162 //#define F_ALL_FORCE 0x40        /* Force the allocated values   */
00163 
00164 /* Table i/o modes */
00165 #define F_D_MODE     2          /* map for descriptors only */
00166 
00167 /* From midas_def.h */
00168 #define TEXT_LEN      84
00169 
00170 
00171 
00172 
00173 
00174 /* init, end */
00175 #define SCSPRO(name) flames_midas_scspro(name)
00176 #define SCSEPI() flames_midas_scsepi()
00177 
00178 /* error handling */
00179 
00180 /* display text */
00181 #define SCTPUT(msg) flames_midas_sctput(msg, __func__, __FILE__, __LINE__)
00182 
00183 /* access keywords */
00184 #define SCKGETC(key, felem, maxvals, actvals, values) flames_midas_sckgetc(key, felem, maxvals, actvals, values)
00185 #define SCKGETC_fs(key, felem, maxvals, actvals, values)  flames_midas_sckgetc_fs(key, felem, maxvals, actvals, values)
00186 #define SCKGETC_fsp(key, felem, maxvals, actvals, values) flames_midas_sckgetc_fsp(key, felem, maxvals, actvals, values)
00187 #define SCKFND(key, type, noelem, bytelem) flames_midas_sckfnd(key, type, noelem, bytelem)
00188 #define SCKFND_double(key, type, noelem, bytelem) flames_midas_sckfnd_double(key, type, noelem, bytelem)
00189 #define SCKFND_float(key, type, noelem, bytelem) flames_midas_sckfnd_float(key, type, noelem, bytelem)
00190 #define SCKFND_int(key, type, noelem, bytelem) flames_midas_sckfnd_int(key, type, noelem, bytelem)
00191 #define SCKFND_string(key, type, noelem, bytelem) flames_midas_sckfnd_string(key, type, noelem, bytelem)
00192 
00193 #define SCKRDD(key, felem, maxvals, actvals, values, unit, null) flames_midas_sckrdd(key, felem, maxvals, actvals, values, unit, null)
00194 #define SCKRDC(key, noelem, felem, maxvals, actvals, values, unit, null) flames_midas_sckrdc(key, noelem, felem, maxvals, actvals, values, unit, null)
00195 #define SCKRDI(key, felem, maxvals, actvals, values, unit, null) flames_midas_sckrdi(key, felem, maxvals, actvals, values, unit, null)
00196 #define SCKRDR(key, felem, maxvals, actvals, values, unit, null) flames_midas_sckrdr(key, felem, maxvals, actvals, values, unit, null)
00197 
00198 #define SCKWRC(key, noelem, values, felem, maxval, unit) flames_midas_sckwrc(key, noelem, values, felem, maxval, unit)
00199 #define SCKWRD(key, values, felem, maxval, unit) flames_midas_sckwrd(key, values, felem, maxval, unit)
00200 #define SCKWRI(key, values, felem, maxval, unit) flames_midas_sckwri(key, values, felem, maxval, unit)
00201 
00202 /* manipulate catalogues */
00203 #define SCCADD(catfile, name, ident) flames_midas_sccadd(catfile, name, ident)
00204 #define SCCCRE(catfile, type, flag)  flames_midas_scccre(catfile, type, flag)
00205 #define SCCFND(catfile, frmno, frame) flames_midas_sccfnd(catfile, frmno, frame)
00206 #define SCCGET(catfile, flag, name, ident, no) flames_midas_sccget(catfile, flag, name, ident, no)
00207 #define SCCSHO(catfile, noent, last) flames_midas_sccsho(catfile, noent, last)
00208 
00209 /* access bulk data frames (bdf) */
00210 #define SCFINF(name, fno, ibuf) flames_midas_scfinf(name, fno, ibuf)
00211 #define SCFCRE(name, dattype, iomode, filtype, size, imno) flames_midas_scfcre(name, dattype, iomode, filtype, size, imno)
00212 #define SCFOPN(name, dattype, newopn, filtype, imno) flames_midas_scfopn(name, dattype, newopn, filtype, imno)
00213 #define SCFCLO(imno) flames_midas_scfclo(imno)
00214 #define SCFPUT(imno, felem, size, bufadr) flames_midas_scfput(imno, felem, size, bufadr)
00215 #define SCFGET(imno, felem, size, actsize, bufadr) flames_midas_scfget(imno, felem, size, actsize, bufadr)
00216 
00217 /* access descriptors */
00218 #define SCDFND(imno, descr, type, noelem, bytelem) flames_midas_scdfnd(imno, descr, type, noelem, bytelem) 
00219 #define SCDPRS(imno, descr, type, noelem, bytelem) flames_midas_scdprs(imno, descr, type, noelem, bytelem) 
00220 #define SCDRDI(imno, descr, felem, maxvals, actvals, values, unit, null) flames_midas_scdrdi(imno, descr, felem, maxvals, actvals, values, unit, null)
00221 #define SCDRDD(imno, descr, felem, maxvals, actvals, values, unit, null) flames_midas_scdrdd(imno, descr, felem, maxvals, actvals, values, unit, null)
00222 #define SCDWRI(imno, descr, values, felem, nval, unit) flames_midas_scdwri(imno, descr, values, felem, nval, unit)
00223 #define SCDWRD(imno, descr, values, felem, nval, unit) flames_midas_scdwrd(imno, descr, values, felem, nval, unit)
00224 #define SCDWRR(imno, descr, values, felem, nval, unit) flames_midas_scdwrr(imno, descr, values, felem, nval, unit)
00225 #define SCDWRC(imno, descr, noelm, values, felem, nval, unit) flames_midas_scdwrc(imno, descr, noelm, values, felem, nval, unit)
00226 #define SCDCOP(from, to, mask) flames_midas_scdcop(from, to, mask)
00227 #define SCDCOP_nonaxis(from, to, mask) flames_midas_scdcop_nonaxis(from, to, mask)
00228 #define SCDDEL(imno, descr) flames_midas_scddel(imno, descr)
00229 #define SCDRDR(imno, descr, felem, maxvals, actvals, values, unit, null) flames_midas_scdrdr(imno, descr, felem, maxvals, actvals, values, unit, null)
00230 #define SCDRDC(imno, descr, noelem, felem, maxvals, actvals, values, unit, null) flames_midas_scdrdc(imno, descr, noelem, felem, maxvals, actvals, values, unit, null)
00231 /* note: SCDGETC is same as SCDRDC with noelem = number of bytes per data value = 1 */
00232 #define SCDGETC(imno, descr, felem, maxvals, actvals, values) SCDRDC(imno, descr, 1, felem, maxvals, actvals, values, NULL, NULL)
00233 
00234 /* table access */
00235 #define TCTOPN(name, mode, tid) flames_midas_tctopn(name, mode, -1, tid)
00236 #define TCTCLO(tid) flames_midas_tctclo(tid)
00237 #define TCCSER(tid, colref, column) flames_midas_tccser(tid, colref, column)
00238 #define TCIGET(tid, column, row) flames_midas_tciget(tid, column, row)
00239 
00240 #define TCERDD(tid, row, column, value, null) flames_midas_tcerdd(tid, row, column, value, null)
00241 
00242 #define TCBGET(tid, column, dtype, items, bytes) flames_midas_tcbget(tid, column, dtype, items, bytes)
00243 
00244 #define TCCINI(tid, dtype, alen, form, unit, label, column) flames_midas_tccini(tid, dtype, alen, form, unit, label, column)
00245 #define TCDGET(tid, store) flames_midas_tcdget(tid, store)
00246 
00247 #define TCERDC(tid, row, column, values, null) flames_midas_tcerdc(tid, row, column, values, null)
00248 #define TCERDI(tid, row, column, values, null) flames_midas_tcerdi(tid, row, column, values, null)
00249 #define TCERDR(tid, row, column, values, null) flames_midas_tcerdr(tid, row, column, values, null)
00250 #define TCEWRC(tid, row, column, value) flames_midas_tcewrc(tid, row, column, value)
00251 #define TCEWRD(tid, row, column, value) flames_midas_tcewrd(tid, row, column, value)
00252 #define TCEWRI(tid, row, column, value) flames_midas_tcewri(tid, row, column, value)
00253 #define TCEWRR(tid, row, column, value) flames_midas_tcewrr(tid, row, column, value)
00254 
00255 #define TCARDC(tid, row, col, index, items, value) flames_midas_tcardc(tid, row, col, index, items, value)
00256 #define TCARDD(tid, row, col, index, items, value) flames_midas_tcardd(tid, row, col, index, items, value)
00257 #define TCARDI(tid, row, col, index, items, value) flames_midas_tcardi(tid, row, col, index, items, value)
00258 #define TCARDR(tid, row, col, index, items, value) flames_midas_tcardr(tid, row, col, index, items, value)
00259 #define TCAWRC(tid, row, col, index, items, value) flames_midas_tcawrc(tid, row, col, index, items, value)
00260 #define TCAWRD(tid, row, col, index, items, value) flames_midas_tcawrd(tid, row, col, index, items, value)
00261 #define TCAWRI(tid, row, col, index, items, value) flames_midas_tcawri(tid, row, col, index, items, value)
00262 #define TCAWRR(tid, row, col, index, items, value) flames_midas_tcawrr(tid, row, col, index, items, value)
00263 
00264 #define TCFGET(tid, column, form, dtype) flames_midas_tcfget(tid, column, form, dtype)
00265 #define TCLGET(tid, column, label) flames_midas_tclget(tid, column, label)
00266 #define TCLSER(tid, label, column) flames_midas_tclser(tid, label, column)
00267 #define TCSGET(tid, row, value) flames_midas_tcsget(tid, row, value)
00268 #define TCSPUT(tid, row, value) flames_midas_tcsput(tid, row, value)
00269 
00270 /* TCTINI  -->  TCTOPN */
00271 #define TCTINI(name, mode, allrow, tid) flames_midas_tctopn(name, mode, allrow, tid)
00272 
00273 #define TCUGET(tid, column, unit) flames_midas_tcuget(tid, column, unit)
00274 
00275 #define flames_midas_fail() flames_midas_fail_macro(__FILE__, __func__, __LINE__)
00276 #define flames_midas_error(status) flames_midas_error_macro(__FILE__, __func__, __LINE__, status)
00277 
00278 /*-----------------------------------------------------------------------------
00279                                    Prototypes
00280  -----------------------------------------------------------------------------*/
00281 
00282 /* init, end */
00283 int flames_midas_scspro(const char *name);
00284 int flames_midas_scsepi(void);
00285 int flames_midas_fail_macro(const char *file, const char *function, int line);
00286 int flames_midas_error_macro(const char *file, const char *function, int line,
00287                  int status);
00288 
00289 /* error handling */
00290 
00291 
00292 /* access keywords */
00293 int flames_midas_sckgetc(const char *key, 
00294              int felem, int maxvals, 
00295              int *actvals, char *values);
00296 int flames_midas_sckgetc_fs(const cpl_frameset *key, 
00297              int felem, int maxvals, 
00298              int *actvals, const cpl_frameset **values);
00299 
00300 int flames_midas_sckgetc_fsp(cpl_frameset **key, 
00301              int felem, int maxvals, 
00302              int *actvals, cpl_frameset ***values);
00303 
00304 int flames_midas_sckrdd(const double *key, int felem, int maxvals, 
00305             int *actvals, double *values, int *unit, int *null);
00306 int flames_midas_sckrdi(const int *key, int felem, int maxvals, 
00307             int *actvals, int *values, int *unit, int *null);
00308 int flames_midas_sckrdr(const float *key, int felem, int maxvals, 
00309             int *actvals, float *values, int *unit, int *null);
00310 int flames_midas_sckrdc(const char *key, int noelem, int felem, int maxvals, 
00311             int *actvals, char *values, int *unit, int *null);
00312 
00313 int flames_midas_sckwri(int *key, const int *values, 
00314             int felem, int maxval, int *unit);
00315 int flames_midas_sckwrd(double *key, const double *values, 
00316             int felem, int maxval, int *unit);
00317 int flames_midas_sckwrc(char *key, int noelem,
00318             const char *values, int felem, int maxvals, int *unit);
00319 
00320 int flames_midas_sckfnd_double(const double *key, char *type, int *noelem, int *bytelem);
00321 int flames_midas_sckfnd_float(const float *key, char *type, int *noelem, int *bytelem);
00322 int flames_midas_sckfnd_int(const int *key, char *type, int *noelem, int *bytelem);
00323 int flames_midas_sckfnd_string(const char *key, char *type, int *noelem, int *bytelem);
00324 
00325 
00326 /* display text */
00327 int flames_midas_sctput(const char *msg, 
00328             const char *func, const char *file, int line);
00329 
00330 /* access bulk data frames (bdf) */
00331 int flames_midas_scfopn(const char *name, int dattype, int newopn, int filtype, int *imno);
00332 int flames_midas_scfclo(int imno);
00333 int flames_midas_scfcre(const char *name, int dattype, int iomode, int filtype, 
00334             int size, int *imno);
00335 int flames_midas_scfinf(const char *name, int fno, int *ibuf);
00336 int flames_midas_scfget(int imno, int felem, int size, int *actsize, char *bufadr);
00337 int flames_midas_scfput(int imno, int felem, int size, const char *bufadr);
00338 
00339 /* access descriptors */
00340 int flames_midas_scdfnd(int imno, const char *descr, 
00341             char *type, int *noelem, int *bytelem);
00342 
00343 int flames_midas_scdprs(int imno, const char *descr, 
00344             char *type, int *noelem, int *bytelem);
00345 
00346 int flames_midas_scdrdi(int imno, const char *descr, 
00347             int felem, int maxvals,
00348             int *actvals, int *values,
00349             int *unit, int *null);
00350 int flames_midas_scdrdd(int imno, const char *descr, 
00351             int felem, int maxvals,
00352             int *actvals, double *values,
00353             int *unit, int *null);
00354 int flames_midas_scdrdr(int imno, const char *descr, 
00355             int felem, int maxvals,
00356             int *actvals, float *values,
00357             int *unit, int *null);
00358 int flames_midas_scdrdc(int imno, const char *descr, 
00359             int noelem,
00360             int felem, int maxvals,
00361             int *actvals, char *values,
00362             int *unit, int *null);
00363 
00364 int flames_midas_scdwri(int imno, const char *descr, const int *values, 
00365             int felem, int nval, const int *unit);
00366 int flames_midas_scdwrd(int imno, const char *descr, const double *values, 
00367             int felem, int nval, const int *unit);
00368 
00369 int flames_midas_scdwrr(int imno, const char *descr, const float *values, 
00370             int felem, int nval, const int *unit);
00371 int flames_midas_scdwrc(int imno, const char *descr, int noelm, const char *values, 
00372             int felem, int nval, const int *unit);
00373 
00374 int flames_midas_scdcop(int from, int to, int mask);
00375 int flames_midas_scdcop_nonaxis(int from, int to, int mask);
00376 
00377 int flames_midas_scddel(int imno, const char *descr);
00378 
00379 /* tables */
00380 int flames_midas_tctopn(const char *name, int mode, int allrow, int *tid);
00381 int flames_midas_tctclo(int tid);
00382 int flames_midas_tccser(int tid, const char *colref, int *column);
00383 int flames_midas_tciget(int tid, int *column, int *row);
00384 
00385 int flames_midas_tcardc(int tid, int row, int col, int index, int items, char *value);
00386 int flames_midas_tcardd(int tid, int row, int col, int index, int items, double *value);
00387 int flames_midas_tcardi(int tid, int row, int col, int index, int items, int *value);
00388 int flames_midas_tcardr(int tid, int row, int col, int index, int items, float *value);
00389 int flames_midas_tcawrc(int tid, int row, int col, int index, int items, const char *value);
00390 int flames_midas_tcawrd(int tid, int row, int col, int index, int items, const double *value);
00391 int flames_midas_tcawri(int tid, int row, int col, int index, int items, const int *value);
00392 int flames_midas_tcawrr(int tid, int row, int col, int index, int items, const float *value);
00393 int flames_midas_tcbget(int tid, int column, int *dtype, int *items, int *bytes);
00394 int flames_midas_tcdget(int tid, int *store);
00395 int flames_midas_tcfget(int tid, int column, char *form, int *dtype);
00396 int flames_midas_tclget(int tid, int column, char *label);
00397 int flames_midas_tcuget(int tid, int column, char *unit);
00398 int flames_midas_tclser(int tid, const char *label, int *column);
00399 int flames_midas_tccini(int tid, int dtype, int alen,
00400                         const char *form, const char *unit, const char *label,
00401                         int *column);
00402 int flames_midas_tcerdc(int tid, int row, int column, char *values, int *null);
00403 int flames_midas_tcerdi(int tid, int row, int column, int *values, int *null);
00404 int flames_midas_tcerdr(int tid, int row, int column, float *values, int *null);
00405 int flames_midas_tcerdd(int tid, int row, int column,
00406             double *value, int *null);
00407 int flames_midas_tcewrc(int tid, int row, int column, const char *value);
00408 int flames_midas_tcewri(int tid, int row, int column, const int *value);
00409 int flames_midas_tcewrr(int tid, int row, int column, const float *value);
00410 int flames_midas_tcewrd(int tid, int row, int column, const double *value);
00411 int flames_midas_tcsget(int tid, int row, int *value);
00412 int flames_midas_tcsput(int tid, int row, const int *value);
00413 
00414 /* catalogs */
00415 int flames_midas_sccsho(const cpl_frameset *catfile,
00416                         int *noent, 
00417                         int *last);
00418 
00419 int flames_midas_sccget(const cpl_frameset *catfile,
00420                         int flag,
00421                         char *name, char *ident, 
00422                         int *no);
00423 
00424 int flames_midas_sccfnd(const cpl_frameset *catfile, 
00425                         int frmno, 
00426                         char *frame);
00427 int flames_midas_scccre(cpl_frameset **catfile, 
00428                         int type,
00429                         int flag);
00430 int flames_midas_sccadd(cpl_frameset *catfile,
00431             const char *name,
00432             const char *ident);
00433 
00434 /* Other */
00435 cpl_type
00436 flames_midas_image_dtype_to_cpltype(int dtype);
00437 
00438 
00439 #endif

Generated on 8 Mar 2011 for UVES Pipeline Reference Manual by  doxygen 1.6.1