Index: trunk/archive/modules/include/phase2.h
===================================================================
--- trunk/archive/modules/include/phase2.h	(revision 918)
+++ trunk/archive/modules/include/phase2.h	(revision 926)
@@ -25,5 +25,6 @@
 
 /** Returns the kernel of OT shifts made during the course of the exposure. */
-psImage *psPhase2GetKernel(psVector *shifts ///< List of OT shifts, from which the kernel will be calculated
+psImage *psPhase2GetKernel(psVector *xShifts, ///< List of OT shifts in x; integers
+			   psVector *yShifts ///< List of OT shifts in y; integers; xshifts->n == yShifts->n
 			   );
 
@@ -109,5 +110,5 @@
 			     );
 
-/** Subtracts the sky background. */
+/** Subtracts the sky background. Needs work. */
 psReadout *psPhase2SubtractSky(psReadout *in, ///< Input image to be sky-subtracted, and output
 			       psPolynomial2D *poly, ///< Polynomial specification, returns coeffcients
@@ -121,5 +122,7 @@
 /** Returns an image that has the bad pixels masked.  Also masks saturated pixels */
 psReadout *psPhase2MaskBadPixels(psReadout *in ///< Image to be masked, and output
-				 const psImage *mask ///< Bad pixel mask to apply
+				 const psImage *mask, ///< Bad pixel mask to apply
+				 int maskVal, ///< Mask the pixels for which mask & maskVal > 0.
+				 int grow ///< Radius to grow the bad pixels
 				 );
 
