Index: trunk/Ohana/src/relastro/src/BrightCatalog.c
===================================================================
--- trunk/Ohana/src/relastro/src/BrightCatalog.c	(revision 39382)
+++ trunk/Ohana/src/relastro/src/BrightCatalog.c	(revision 39383)
@@ -76,4 +76,5 @@
     GET_COLUMN(Yfix,      "Y_FIX",    	float);
     GET_COLUMN(dt,        "EXPTIME",  	float);
+    GET_COLUMN(psfQF,     "PSF_QF",  	float);
     GET_COLUMN(t,         "TIME",     	int);
     GET_COLUMN(averef,    "AVE_REF",  	int); // XXX signed vs unsigned?
@@ -101,4 +102,5 @@
       measure[i].Yfix      = Yfix[i];
       measure[i].dt        = dt[i];
+      measure[i].psfQF     = psfQF[i];
       measure[i].t         = t[i];
       measure[i].averef    = averef[i];
@@ -126,4 +128,5 @@
     free (Yfix    );
     free (dt      );
+    free (psfQF   );
     free (t       );
     free (averef  );
@@ -365,4 +368,5 @@
     gfits_define_bintable_column (&theader, "E", "Y_FIX",    "ccd y fiex coord",       	   "pix",    1.0, 0.0);
     gfits_define_bintable_column (&theader, "E", "EXPTIME",  "-2.5 * log (exposure time)", "sec",    1.0, 0.0);
+    gfits_define_bintable_column (&theader, "E", "PSF_QF",   "psf quality factor",          NULL,    1.0, 0.0);
     gfits_define_bintable_column (&theader, "J", "TIME",     "time of exp",                "sec",    1.0, 0.0);
     gfits_define_bintable_column (&theader, "J", "AVE_REF",  "pointer to average table",    NULL,    1.0, 0.0);
@@ -388,4 +392,5 @@
     float  *Yfix      ; ALLOCATE (Yfix     ,  float,  catalog->Nmeasure);
     float  *dt        ; ALLOCATE (dt       ,  float,  catalog->Nmeasure);
+    float  *psfQF     ; ALLOCATE (psfQF    ,  float,  catalog->Nmeasure);
     int    *t         ; ALLOCATE (t        ,  int  ,  catalog->Nmeasure);
     int    *averef    ; ALLOCATE (averef   ,  int  ,  catalog->Nmeasure);
@@ -410,4 +415,5 @@
       Yfix[i]     = measure[i].Yfix     ;
       dt[i]       = measure[i].dt       ;
+      psfQF[i]    = measure[i].psfQF    ;
       t[i] 	  = measure[i].t        ;
       averef[i]   = measure[i].averef   ;
@@ -431,4 +437,5 @@
     gfits_set_bintable_column (&theader, &ftable, "Y_FIX",    	Yfix,      catalog->Nmeasure);
     gfits_set_bintable_column (&theader, &ftable, "EXPTIME",  	dt,        catalog->Nmeasure);
+    gfits_set_bintable_column (&theader, &ftable, "PSF_QF",  	psfQF,     catalog->Nmeasure);
     gfits_set_bintable_column (&theader, &ftable, "TIME",     	t,         catalog->Nmeasure);
     gfits_set_bintable_column (&theader, &ftable, "AVE_REF",  	averef,    catalog->Nmeasure);
@@ -450,4 +457,5 @@
     free (Yfix    );
     free (dt      );
+    free (psfQF   );
     free (t       );
     free (averef  );
