Index: trunk/Ohana/src/libautocode/def/Stars.d
===================================================================
--- trunk/Ohana/src/libautocode/def/Stars.d	(revision 10933)
+++ trunk/Ohana/src/libautocode/def/Stars.d	(revision 12461)
@@ -2,8 +2,10 @@
 EXTNAME STARS
 TYPE    BINTABLE
-SIZE    188
+SIZE    232
 
 FIELD     X,                X,          double,    x coordinate on image,	     pixels
 FIELD     Y,                Y,          double,    y coordinate on image,	     pixels
+FIELD     dX,               dX,         double,    x coordinate error,	             pixels
+FIELD     dY,               dY,         double,    y coordinate error,  	     pixels
 FIELD     R,                R,          double,    ra coordinate on sky,	     decimal degrees
 FIELD     D,                D,          double,    dec coordinate on sky,	     decimal degrees
@@ -19,4 +21,5 @@
 FIELD     dM,               DM,         double,    error on mag
 FIELD     sky,              SKY,        double,    local sky counts
+FIELD     dsky,             dSKY,       double,    local sky error counts
 FIELD     fx,               FX,         double,    object FWHM x-dir,		     pixels?
 FIELD     fy,               FY,         double,    object FWHM y-dir,		     pixels?
@@ -24,12 +27,24 @@
 FIELD     Mgal,             MGAL,       double,    alternative (galaxy) magnitude
 FIELD     Map,              MAP,        double,    alternative (aperture) magnitude
+FIELD     Mpeak,            MPEAK,      double,    alternative (peak) magnitude
+FIELD     detID,            ID,         int,       detection identifier
 FIELD     found,            FOUND,      int,       found in database catalog?
 FIELD     t,                T,          e_time,    date/time of exposure (UNIX)
 FIELD     dt,               EXPTIME,    float,     exposure time,                    2.5*log(exptime)
-FIELD     code,             CODE,       short,     .
-FIELD     dophot,           DOPHOT,     char,      dophot type code
-FIELD     dummy,            DUMMY,      char[5],   .
+FIELD     psfProb,          PSF_PROB,   float
+FIELD     psfQual,          PSF_QUAL,   float
 FIELD     Mcal,             MCAL,       float,     image cal mag,	             mag
 FIELD     airmass,          AIRMASS,    float,     (airmass - 1),		     airmass
+FIELD     code,             CODE,       short
+FIELD     nFrames,          N_FRAMES,   short
+FIELD     dophot,           DOPHOT,     char,      dophot type code
+FIELD     dummy,            DUMMY,      char[3]
+
+# XXX I'm going to need azimuth (or load from image header?)
+
+# double:   24 * 8 : 192
+# int/float: 8 * 4 :  32
+# short:     2 * 2 :   4
+# char:      4 * 1 :   4
 
 # this structure is only used internally and for interprocess communication (addstar)
