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

Generated on 9 Mar 2012 for UVES Pipeline Reference Manual by  doxygen 1.6.1