Index: trunk/ppImage/src/ppImageDetrendMask.c
===================================================================
--- trunk/ppImage/src/ppImageDetrendMask.c	(revision 6817)
+++ trunk/ppImage/src/ppImageDetrendMask.c	(revision 7508)
@@ -32,2 +32,8 @@
 // by identifying the image type as a mask (in pmFPAfile).
 // currently, pmFPAfileReadImage converts the image to F32
+
+
+// XXX this function needs to use pmReadoutSetMask to construct the initial mask
+// then the pixels will correspond and pmMaskBadPixels can be correctly applied.
+// this function should not have to lookup the value of CELL.SATURATION, nor should it have to 
+// apply it.  
