Index: trunk/ppImage/src/ppImageDetrendCell.c
===================================================================
--- trunk/ppImage/src/ppImageDetrendCell.c	(revision 6064)
+++ trunk/ppImage/src/ppImageDetrendCell.c	(revision 6079)
@@ -3,5 +3,4 @@
 
 // mask, bias, dark, flat are defined per Cell
-// pedestal is constructed for each readout, which may have different exposure times
 
 pmReadout *ppDetrendSelectFirst(pmCell *cell, char *name, bool doThis)
@@ -23,5 +22,4 @@
 bool ppDetrendCell(ppDetrend *detrend, ppOptions *options, ppConfig *config)
 {
-
     pmCellSetWeights(detrend->input);
 
@@ -30,4 +28,9 @@
     pmReadout *dark = ppDetrendSelectFirst(detrend->dark, "dark", options->doDark);
     pmReadout *flat = ppDetrendSelectFirst(detrend->flat, "flat", options->doFlat);
+
+#if 0
+    printf("Flat type: %x\n", flat->image->type.type);
+    printf("Flat value: %f\n", flat->image->data.F32[flat->image->numRows/2][flat->image->numCols/2]);
+#endif
 
     // Dark time for dark image
