Index: trunk/psModules/src/imcombine/pmStack.h
===================================================================
--- trunk/psModules/src/imcombine/pmStack.h	(revision 27402)
+++ trunk/psModules/src/imcombine/pmStack.h	(revision 27427)
@@ -31,4 +31,5 @@
     psPixels *inspect;                  ///< Pixels to inspect
     float weight;                       ///< Relative weighting for image
+    float exp;                          ///< Exposure time
     float addVariance;                  ///< Additional variance when rejecting
 } pmStackData;
@@ -37,4 +38,5 @@
 pmStackData *pmStackDataAlloc(pmReadout *readout, ///< Warped readout (sky cell)
                               float weight, ///< Weight to apply
+                              float exp,    ///< Exposure time
                               float addVariance ///< Additional variance when rejecting
     );
@@ -42,4 +44,5 @@
 /// Stack input images
 bool pmStackCombine(pmReadout *combined,///< Combined readout (output)
+                    pmReadout *expmaps, ///< Exposure maps (output)
                     psArray *input,     ///< Input array of pmStackData
                     psImageMaskType maskVal, ///< Mask value of bad pixels
