Index: /branches/eam_branches/ipp-20230313/dvoTools/src/dvoMakeCorrUnbin.c
===================================================================
--- /branches/eam_branches/ipp-20230313/dvoTools/src/dvoMakeCorrUnbin.c	(revision 42566)
+++ /branches/eam_branches/ipp-20230313/dvoTools/src/dvoMakeCorrUnbin.c	(revision 42567)
@@ -64,8 +64,11 @@
 
     // the input image is in magnitudes.  convert here to a multiplicative factor...
+    // the calculation here must be consistent with the calculation of the grid correction
+    // in relphot GridOps.c:259 (setMgrid)
     for (int j = 0; j < outData->image->numRows; j++) {
 	for (int i = 0; i < outData->image->numCols; i++) {
 	    float value = outData->image->data.F32[j][i]; 
 	    outData->image->data.F32[j][i] = pow(10.0, -0.4*value);
+	    // outData->image->data.F32[j][i] = pow(10.0, 0.4*value);
 	}
     }
