Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

ccdDbPublic.h

Go to the documentation of this file.
00001 /*************************************************************************
00002 * E.S.O. - VLT project
00003 *
00004 * "@(#) $Id: ccdDbPublic.h,v 4.1 2003/10/30 15:32:47 vltsccm Exp $"
00005 *
00006 * who       when      what
00007 * --------  --------  ----------------------------------------------
00008 * alongino  31/08/94  created
00009 * alongino  19/05/95  modified while rearranging database for dbLoader
00010 * alongino  18/07/95  ccdMAXEXP added
00011 * alongino  20/07/95  ccdMAXOUTCHIP added
00012 * alongino  29/09/95  changed name from ccdDbDimensions.h to ccdDbPublic.h
00013 *                     added macros for public part of the database
00014 * pduhoux   30/01/96  added macro ccdDB_EXP_FILECOM
00015 * alongino  21/02/96  added macros define ccdDB_IP_XCEN ccdDB_IP_YCEN 
00016 *                     ccdDB_IP_CENVAL
00017 * pduhoux   28/05/96  added macros ccdDB_STA_FAILURE_LCU/WS
00018 * alongino  18/07/96  added macro ccdDB_STA_EXPID
00019 * P.Duhoux  21/01/97  moved ccdDB_WCS_RA & DEC for WorldCoord attributes
00020 *                     from ccdDatabase.h
00021 * P.Duhoux  27/02/97  Added macros for images:process_2 attributes
00022 *                     ccdDB_IP2_
00023 * P.Duhoux  04/03/97  Renamed point <process> into <process:window_1>
00024 * alongino  26/05/97  ccdDB_IP_USERBUFFER removed (SPR 970177)
00025 *                     same for ccdDB_IP_OBJNUMBER and ccdDB_IP_OBJECTS
00026 * P.Duhoux  02/06/97  added ccdDB_IP_FLUX & ccdDB_IP_NUMPIX 
00027 * P.Duhoux  21/07/97  added ccdDB_IP_SNR
00028 * P.Duhoux  12/08/97  added ccdDB_STA_INITDONE
00029 * P.Duhoux  09/10/97  added ccdDB_STA_XXX1 for full path to exposure_1 attr.
00030 *                     added ccdDB_IPxxx for extrema
00031 *                     added ccdDB_STA_TELMESSAGE & ccdDB_STA_TMPMESSAGE
00032 */
00033 
00034 /*************************************************************************
00035 *  This file contains all definitions for CCD database public attributes
00036 *************************************************************************/
00037 
00038 #ifndef CCDDBPUBLIC_H
00039 #define CCDDBPUBLIC_H
00040 
00041 /* 
00042  * Definition of database vector and table dimensions. Keep consistant !
00043  * NOTE: This file is used by dbLoader as well. Nothing else than define
00044  *       instructions or comment lines are possible here.
00045  */
00046 /* These constants are actually not used directly in the database definition
00047  * files, but the database itself supports configuration for these values
00048  * only. To increase capabilities, modifications in the class definition
00049  * files are needed as well, in particular ccdDETECTOR and ccdEXPOSURES
00050  */
00051 #define ccdMAXCHIPS   1       /* maximum number of chips in one mosaic      */
00052 #define ccdMAXWINDOW  2       /* maximum number of windows for one readout  */
00053 #define ccdMAXCLOCKS  10      /* maximum number of clock patterns           */
00054 #define ccdMAXEXP     2       /* maximum number of expositions              */
00055 
00056 /* These constants are used directly in the database definition files */
00057 #define ccdMAXLINKS   15      /* maximum number of transputer links to ACE  */
00058 #define ccdMAXLENMSG  32      /* maximum length of message to/from ACE      */
00059 #define ccdMAXGAIN    8       /* maximum number of possible gains           */
00060 #define ccdMAXOUTCHIP 4       /* maximum number of outputs in one chip      */
00061 #define ccdMAXOUTPUT  4       /* maximum number of outputs in mosaic        */
00062 #define ccdMAXOBJECTS 100     /* maximum number of objects in image proc.   */
00063 #define ccdMAXINTEGR  10      /* maximum number of integrations in one exp. */
00064 #define ccdMAXIMAGES  100     /* maximum number of images in memory         */
00065 #define ccdMAXTELSRC  100     /* maximum number of telemetry sources        */
00066 #define ccdMAXTMPSRC  10      /* maximum number of temperature sensors      */
00067 
00068 /* Public part of the CCD database */
00069 
00070 /* operational mode */
00071 #define ccdDB_CON_OPMODE      ".opMode"
00072 
00073 /* system state */
00074 #define ccdDB_STA_SYSTEM      ".opState"
00075 
00076 /* system errors */
00077 #define ccdDB_STA_FAILURE_WS  ".failureWs"
00078 #define ccdDB_STA_FAILURE_LCU ".failureLcu"
00079 
00080 /* default image file directory  */
00081 #define ccdDB_CON_IMGPATH     "images.imageDirectory"
00082 
00083 /* running exposures prefix  */
00084 #define ccdDB_EXP_POINT       "exposures:exposure"
00085 #define ccdDB_EXP_POINT1      "exposures:exposure_1"
00086 
00087 /* exposure status - under ccdDB_EXP_POINT_<expIndex> */
00088 #define ccdDB_STA_EXPOSURE    "expStatus"
00089 #define ccdDB_STA_EXPOSURE1   "exposures:exposure_1.expStatus"
00090 
00091 /* exposure ID - under ccdDB_EXP_POINT_<expIndex> */
00092 #define ccdDB_STA_EXPID       "expId"
00093 #define ccdDB_STA_EXPID1      "exposures:exposure_1.expId"
00094 
00095 /* name of uncompressed FITS file */
00096 #define ccdDB_EXP_FILEUNC     "transfer.fileNameUnComp"
00097 #define ccdDB_EXP_FILEUNC1    "exposures:exposure_1:transfer.fileNameUnComp"
00098 
00099 /* Shared Memory Id associated to the Frame (with rtdServer) */
00100 #define ccdDB_EXP_SHMID       "display.shmId"
00101 #define ccdDB_EXP_SHMID1      "exposures:exposure_1:display.shmId"
00102 
00103 /* Extrema */
00104 #define ccdDB_IP_XMIN         "images:process:window_1.ipXMin"
00105 #define ccdDB_IP1_XMIN        ccdDB_IP_XMIN
00106 #define ccdDB_IP2_XMIN        "images:process:window_2.ipXMin"
00107 
00108 #define ccdDB_IP_YMIN         "images:process:window_1.ipYMin"
00109 #define ccdDB_IP1_YMIN        ccdDB_IP_YMIN
00110 #define ccdDB_IP2_YMIN        "images:process:window_2.ipYMin"
00111 
00112 #define ccdDB_IP_MINVAL       "images:process:window_1.ipMinVal"
00113 #define ccdDB_IP1_MINVAL      ccdDB_IP_MINVAL
00114 #define ccdDB_IP2_MINVAL      "images:process:window_2.ipMinVal"
00115 
00116 #define ccdDB_IP_XMAX         "images:process:window_1.ipXMax"
00117 #define ccdDB_IP1_XMAX        ccdDB_IP_XMAX
00118 #define ccdDB_IP2_XMAX        "images:process:window_2.ipXMax"
00119 
00120 #define ccdDB_IP_YMAX         "images:process:window_1.ipYMax"
00121 #define ccdDB_IP1_YMAX        ccdDB_IP_YMAX
00122 #define ccdDB_IP2_YMAX        "images:process:window_2.ipYMax"
00123 
00124 #define ccdDB_IP_MAXVAL       "images:process:window_1.ipMaxVal"
00125 #define ccdDB_IP1_MAXVAL      ccdDB_IP_MAXVAL
00126 #define ccdDB_IP2_MAXVAL      "images:process:window_2.ipMaxVal"
00127 
00128 /* Centroiding Error vector */
00129 #define ccdDB_IP_XCEN         "images:process:window_1.ipXCen"
00130 #define ccdDB_IP1_XCEN        ccdDB_IP_XCEN
00131 #define ccdDB_IP2_XCEN        "images:process:window_2.ipXCen"
00132 
00133 #define ccdDB_IP_YCEN         "images:process:window_1.ipYCen"
00134 #define ccdDB_IP1_YCEN        ccdDB_IP_YCEN
00135 #define ccdDB_IP2_YCEN        "images:process:window_2.ipYCen"
00136 
00137 /* Intensity of image center, as computed from centroiding algorythm */
00138 #define ccdDB_IP_CENVAL       "images:process:window_1.ipCenVal"
00139 #define ccdDB_IP1_CENVAL      ccdDB_IP_CENVAL 
00140 #define ccdDB_IP2_CENVAL      "images:process:window_2.ipCenVal"
00141 
00142 /* Average flux / pixel */
00143 #define ccdDB_IP_FLUX         "images:process:window_1.ipFlux"
00144 #define ccdDB_IP1_FLUX        ccdDB_IP_FLUX 
00145 #define ccdDB_IP2_FLUX        "images:process:window_2.ipFlux"
00146 
00147 /* Standard Deviation of Pixel Intensity */
00148 #define ccdDB_IP_STDDEV       "images:process:window_1.ipStdDev"
00149 #define ccdDB_IP1_STDDEV      ccdDB_IP_STDDEV 
00150 #define ccdDB_IP2_STDDEV      "images:process:window_2.ipStdDev"
00151 
00152 /* Signal-to-Noise Ratio */
00153 #define ccdDB_IP_SNR          "images:process:window_1.ipSNR"
00154 #define ccdDB_IP1_SNR         ccdDB_IP_SNR    
00155 #define ccdDB_IP2_SNR         "images:process:window_2.ipSNR"
00156 
00157 /* number of pixels between the thresholds */
00158 #define ccdDB_IP_NUMPIX       "images:process:window_1.ipNumPix"
00159 #define ccdDB_IP1_NUMPIX      ccdDB_IP_NUMPIX 
00160 #define ccdDB_IP2_NUMPIX      "images:process:window_2.ipNumPix"
00161 
00162 /* Background estimation */
00163 #define ccdDB_IP_BGND         "images:process:window_1.ipBGnd"
00164 #define ccdDB_IP1_BGND        ccdDB_IP_BGND 
00165 #define ccdDB_IP2_BGND        "images:process:window_2.ipBGnd"
00166 
00167 /* StdDev on Background */
00168 #define ccdDB_IP_BGND_SD      "images:process:window_1.ipBGnd_SD"
00169 #define ccdDB_IP1_BGND_SD     ccdDB_IP_BGND_SD 
00170 #define ccdDB_IP2_BGND_SD     "images:process:window_2.ipBGnd_SD"
00171 
00172 /* Object FWHM X estimation */
00173 #define ccdDB_IP_FWHM_X       "images:process:window_1.ipFWHM_X"
00174 #define ccdDB_IP1_FWHM_X      ccdDB_IP_FWHM_X 
00175 #define ccdDB_IP2_FWHM_X      "images:process:window_2.ipFWHM_X"
00176 
00177 /* Object FWHM Y estimation */
00178 #define ccdDB_IP_FWHM_Y       "images:process:window_1.ipFWHM_Y"
00179 #define ccdDB_IP1_FWHM_Y      ccdDB_IP_FWHM_Y 
00180 #define ccdDB_IP2_FWHM_Y      "images:process:window_2.ipFWHM_Y"
00181 
00182 /* attributes for WCS handling */
00183 #define ccdDB_WCS_RA          "wcs.ra"
00184 #define ccdDB_WCS_DEC         "wcs.dec"
00185 
00186 /* 
00187  * Attributes supposed to be used ONLY within GUI panels
00188  */
00189 
00190 /* remaining exposure time for each step - under ccdDB_EXP_POINT_<expIndex> */
00191 #define ccdDB_STA_TIMEREM     "timeRem"  
00192 #define ccdDB_STA_TIMEREM1    "exposures:exposure_1.timeRem"
00193 
00194 /* % of image transf. */
00195 #define ccdDB_IT_STA_PERC     "images:transfer.percent"
00196 
00197 /* last line transf. */
00198 #define ccdDB_IT_STA_LINE     "images:transfer.last"
00199 
00200 /* shutter status */
00201 #define ccdDB_STA_SHTSTATUS   "shutter.status"
00202 
00203 /* telemetry status message */
00204 #define ccdDB_STA_TELMESSAGE  "telemetry.message"
00205 
00206 /* temperature status message */
00207 #define ccdDB_STA_TMPMESSAGE  "temperature.message"
00208 
00209 #endif /* ! CCDDBPUBLIC_H */

Generated on Wed Dec 3 14:52:11 2003 for ATCS API by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001