Index: /branches/eam_branches/20090715/psphot/src/psphotRadialProfileByAngle.c
===================================================================
--- /branches/eam_branches/20090715/psphot/src/psphotRadialProfileByAngle.c	(revision 25360)
+++ /branches/eam_branches/20090715/psphot/src/psphotRadialProfileByAngle.c	(revision 25361)
@@ -4,5 +4,5 @@
 // separations
 
-float psphotMeanSectorValue (psImage *image, int x, int y, float dL, float dW, float theta);
+float psphotMeanSectorValue (psImage *image, float x, float y, float dL, float dW, float theta);
 psVector *psphotBoxValues (psImage *image, float x0, float y0, float dL, float dW, float theta);
 psVector *psphotLineValues (psImage *image, double x1, double y1, double x2, double y2, int dW);
@@ -38,6 +38,6 @@
 	for (float r = 0; r < Rmax; r += dR) {
 
-	    float Xo = source->peak->xf + 0.5;
-	    float Yo = source->peak->yf + 0.5;
+	    float Xo = source->peak->xf;
+	    float Yo = source->peak->yf;
 
 	    // Xo,Yo are referenced to pixels with bounds i+0.0, i+1.0
@@ -54,6 +54,8 @@
 	    if (dR < 2) {
 		// value is NAN if we run off the image
+		// 0.5 PIX: this function takes pixel coords; source peak is in pixel coords
 		value = psImageInterpolatePixelBilinear(x, y, source->pixels);
 	    } else {
+		// 0.5 PIX: this function takes pixel coords; source peak is in pixel coords
 		value = psphotMeanSectorValue(source->pixels, x, y, dR, dR, theta);
 	    }
@@ -119,5 +121,5 @@
 }
 
-float psphotMeanSectorValue (psImage *image, int x, int y, float dL, float dW, float theta) {
+float psphotMeanSectorValue (psImage *image, float x, float y, float dL, float dW, float theta) {
 
     psVector *values = psphotBoxValues (image, x, y, dL, dW, theta);
