Index: trunk/psModules/src/detrend/pmFlatNormalize.h
===================================================================
--- trunk/psModules/src/detrend/pmFlatNormalize.h	(revision 7179)
+++ trunk/psModules/src/detrend/pmFlatNormalize.h	(revision 8397)
@@ -6,11 +6,8 @@
 // Normalise the flat-field measurements (f_ij = g_i s_j where f_ij is the flux recorded for chip i and
 // integration j, g_i is the gain for the i-th chip, s_j is the flux of the source in the j-th integration).
-// Return the source flux in each integration.
-psVector *pmFlatNormalize(bool *converge, // Did we converge?
-                          psVector *chipGains, // Initial guess of the chip gains; modified for return
-                          const psImage *fluxLevels, // Fluxes for each integration (row) and chip (col)
-                          unsigned int maxIter, // Maximum number of iterations
-                          float tolerance // Tolerance level before dying
-                         );
+bool pmFlatNormalize(psVector **expFluxesPtr, // Flux in each exposure; modified for return
+                     psVector **chipGainsPtr, // Initial guess of the chip gains; modified for return
+                     const psImage *bgMatrix
+                    );
 
 #endif
