Index: /trunk/psModules/src/objects/pmPeaks.c
===================================================================
--- /trunk/psModules/src/objects/pmPeaks.c	(revision 9880)
+++ /trunk/psModules/src/objects/pmPeaks.c	(revision 9881)
@@ -6,6 +6,6 @@
  *  @author EAM, IfA: significant modifications.
  *
- *  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-10-24 22:55:05 $
+ *  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-11-07 09:07:42 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -286,4 +286,6 @@
 XXX: Merge with CVS 1.20.  This had the proper code for images with a single
 row or column.
+ 
+XXX this does not use the weight or mask information
  
 *****************************************************************************/
@@ -420,4 +422,13 @@
 
                         list = myListAddPeak(list, row + row0, col + col0, image->data.F32[row][col], myType);
+
+                        # if (0)
+
+                            psPolynomial2D *bicube = psImageBicubeFit (inSource->pixels, ix, iy);
+                        psPlane min = psImageBicubeMin (bicube);
+                        peak->xf = min.x;
+                        peak->yf = min.y;
+                        # endif
+
                     }
                 }
Index: /trunk/psModules/src/objects/pmPeaks.h
===================================================================
--- /trunk/psModules/src/objects/pmPeaks.h	(revision 9880)
+++ /trunk/psModules/src/objects/pmPeaks.h	(revision 9881)
@@ -10,6 +10,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-06-03 01:02:08 $
+ *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-11-07 09:07:42 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -50,4 +50,6 @@
     int x;                              ///< X-coordinate of peak pixel.
     int y;                              ///< Y-coordinate of peak pixel.
+    float xf;                           ///< bicube fit to peak coord (x)
+    float yf;                           ///< bicube fit to peak coord (y)
     float counts;                       ///< Value of peak pixel (above sky?).
     pmPeakType type;                   ///< Description of peak.
