Index: trunk/Ohana/src/libohana/include/elixir.h
===================================================================
--- trunk/Ohana/src/libohana/include/elixir.h	(revision 3609)
+++ trunk/Ohana/src/libohana/include/elixir.h	(revision 4026)
@@ -15,55 +15,4 @@
 
 # if (0)
-/* structure for Image Registration Database */
-typedef struct {
-  char filename[64];
-  char pathname[128];
-  char filter[32];
-  char instrument[32];
-  char ccd;                        /* an identifier for CCD in mosaic (0 for single ccd) */
-  char mode;                       /* MEF, SINGLE, SPLIT */
-  char type;                       /* image type */
-  char flag;                       /* image status flags */
-  char seq;                        /* cube sequence number */
-  char junk[23];
- 
-  float exptime;
-  float airmass;
-  float sky;
-  float bias;
-  float fwhm;
-
-  float telfocus;
-  float xprobe, yprobe, zprobe;
-  float dettemp;
-  float teltemp[4];
-  float rotangle;
-  float ra, dec;
-
-  e_time obstime;
-  e_time regtime;
-} RegImage;  /* 360 bytes / image */
-# endif 
-
-# if (0)
-/* Detrend Database structure */
-typedef struct {
-  e_time tstart;
-  e_time tstop;
-  e_time treg;
-  float exptime;
-  int type;
-  int filter;
-  int ccd;
-  int Nentry;
-  int Norder;
-  char mode;
-  char altpath;   /* true: data on alt db paths */
-  char dummy[58]; /* for future expansion */
-  char label[64];
-  char filename[256];
-} DetReg;    /* 416 bytes */
-# endif
-
 /* average data as stored in the LONEOS database */
 typedef struct {
@@ -111,45 +60,4 @@
 } SecFilt; /* 6 byte / SecFilt */
 
-/* image structure for binary data storage of image data */
-typedef struct {
-  Coords         coords;            /* 120 bytes */
-  unsigned int   tzero;             /* readout time row 0 in sec (0 - 142 years valid range) */
-  unsigned int   nstar;             /* number of stars on image */
-  short int      secz;              /* thousanths of airmass (valid range -32.000 -- 32.000) */
-  short int      NX, NY;            /* dimensions of image */
-  short int      apmifit, dapmifit; /* aperture correction and error in thousandths of mag */
-  short int      source;            /* identifier for CCD (each ever used will have a unique letter) */
-  short int      Mcal;              /* thousandths of mag (-32.000 -- 32.000 valid range) */
-  short int      dMcal;             /* thousandths of mag (-32.000 -- 32.000 valid range) */
-  short int      Xm;                /* 10*log(image chi-square) */
-  char           name[32];          /* name of original image */
-  unsigned char  detection_limit;   /* tenths of mag (0.0 - 25.6 valid range) */
-  unsigned char  saturation_limit;  /* tenths of mag (0.0 - 25.6 valid range) */
-  unsigned char  cerror;            /* astrometric error: 1/50 of arcsec (0 -- 5.12 valid range) */
-  unsigned char  fwhm_x, fwhm_y;    /* PSF terms in 25*arcsec (valid range 0.0 -- 10.2" ") */
-  unsigned char  trate;             /* 10000 * scan rate in sec/pix (0 -- 0.0256 valid range, 
-				       typically 0.0146. this is used only to determine the time
-				       of the observation, not to find the coordinates.  1 byte
-				       gives 0.11 sec accuracy */
-  float          exptime;           /* exposure time, seconds */
-  char           code;              /* flag to mark an image as bad or whatever */
-  unsigned char  ccdnum;            /* mosaic CCD ID number (IMAGEID) */ 
-  char           dummy[20];         /* extra space for the future */
-  short int      order;             /* number of terms used for Mrel */
-  short int      Mx, My;
-  short int      Mxx, Mxy, Myy;
-  short int      Mxxx, Mxxy, Mxyy, Myyy;
-  short int      Mxxxx, Mxxxy, Mxxyy, Mxyyy, Myyyy;
-} Image;  /* 240 bytes / Image */
-/* Image needs to be aligned with 8-byte boundaries on Suns */
-
-/************  end of database structures ************************************/
-
-/* structure for data on a catalog region */
-typedef struct {
-  char filename[256];
-  double DEC[2], RA[2];
-} GSCRegion;
-
 typedef struct {
   unsigned short int code;   /* code number (stored in Measure.source) */
@@ -163,4 +71,13 @@
   float X[4];                /* color terms X[0]*mc + X[1]*mc^2 + X[2]*mc^3, etc */
 } PhotCode;
+# endif
+
+/************  end of database structures ************************************/
+
+/* structure for data on a catalog region */
+typedef struct {
+  char filename[256];
+  double DEC[2], RA[2];
+} GSCRegion;
 
 typedef struct {
