Index: branches/pap/psModules/src/imcombine/pmSubtractionVisual.c
===================================================================
--- branches/pap/psModules/src/imcombine/pmSubtractionVisual.c	(revision 26321)
+++ branches/pap/psModules/src/imcombine/pmSubtractionVisual.c	(revision 26322)
@@ -30,8 +30,8 @@
 
 //variables to determine when things are plotted
-static bool plotConvKernels      = true;
-static bool plotStamps           = true;
-static bool plotLeastSquares     = true;
-static bool plotImage            = true;
+static bool plotConvKernels      = false;
+static bool plotStamps           = false;
+static bool plotLeastSquares     = false;
+static bool plotImage            = false;
 
 // variables to store plotting window indices
@@ -276,5 +276,5 @@
     float NXf = sqrt(stamps->num);
     NX = (int) NXf == NXf ? NXf : NXf + 1.0;
-    
+
     float NYf = stamps->num / NX;
     NY = (int) NYf == NY ? NYf : NYf + 1.0;
@@ -291,5 +291,5 @@
     differenceImage  = psImageAlloc (NXpix, NYpix, PS_TYPE_F32);
     convolutionImage = psImageAlloc (NXpix, NYpix, PS_TYPE_F32);
-    
+
     psImageInit (sourceImage,      0.0);
     psImageInit (targetImage,      0.0);
@@ -313,35 +313,35 @@
     // insert the (target) kernel into the (target) image:
     for (int y = -footprint; y <= footprint; y++) {
-	for (int x = -footprint; x <= footprint; x++) {
-	    targetImage->data.F32[y + NYpix][x + NXpix] = target->kernel[y][x];
-	}
+        for (int x = -footprint; x <= footprint; x++) {
+            targetImage->data.F32[y + NYpix][x + NXpix] = target->kernel[y][x];
+        }
     }
 
     // insert the (source) kernel into the (source) image:
     for (int y = -footprint; y <= footprint; y++) {
-	for (int x = -footprint; x <= footprint; x++) {
-	    sourceImage->data.F32[y + NYpix][x + NXpix] = source->kernel[y][x];
-	}
-    }
-    
+        for (int x = -footprint; x <= footprint; x++) {
+            sourceImage->data.F32[y + NYpix][x + NXpix] = source->kernel[y][x];
+        }
+    }
+
     // insert the (convolution) kernel into the (convolution) image:
     for (int y = -footprint; y <= footprint; y++) {
-	for (int x = -footprint; x <= footprint; x++) {
-	    convolutionImage->data.F32[y + NYpix][x + NXpix] = -convolution->kernel[y][x];
-	}
-    }
-    
+        for (int x = -footprint; x <= footprint; x++) {
+            convolutionImage->data.F32[y + NYpix][x + NXpix] = -convolution->kernel[y][x];
+        }
+    }
+
     // insert the (difference) kernel into the (difference) image:
     for (int y = -footprint; y <= footprint; y++) {
-	for (int x = -footprint; x <= footprint; x++) {
-	    differenceImage->data.F32[y + NYpix][x + NXpix] = target->kernel[y][x] - background - source->kernel[y][x] * norm;
-	}
+        for (int x = -footprint; x <= footprint; x++) {
+            differenceImage->data.F32[y + NYpix][x + NXpix] = target->kernel[y][x] - background - source->kernel[y][x] * norm;
+        }
     }
 
     // insert the (residual) kernel into the (residual) image:
     for (int y = -footprint; y <= footprint; y++) {
-	for (int x = -footprint; x <= footprint; x++) {
-	    residualImage->data.F32[y + NYpix][x + NXpix] = target->kernel[y][x] - background - source->kernel[y][x] * norm + convolution->kernel[y][x];
-	}
+        for (int x = -footprint; x <= footprint; x++) {
+            residualImage->data.F32[y + NYpix][x + NXpix] = target->kernel[y][x] - background - source->kernel[y][x] * norm + convolution->kernel[y][x];
+        }
     }
     return true;
@@ -400,5 +400,5 @@
     for (int i = 0; i < kernels->num; i++) {
         x->data.F32[i] = i;
-	y->data.F32[i] = p_pmSubtractionSolutionCoeff(kernels, polyValues, i, false);
+        y->data.F32[i] = p_pmSubtractionSolutionCoeff(kernels, polyValues, i, false);
         graphdata.ymin = PS_MIN(graphdata.ymin, y->data.F32[i]);
         graphdata.ymax = PS_MAX(graphdata.ymax, y->data.F32[i]);
