Index: trunk/psModules/src/camera/pmFPAMaskWeight.h
===================================================================
--- trunk/psModules/src/camera/pmFPAMaskWeight.h	(revision 19163)
+++ trunk/psModules/src/camera/pmFPAMaskWeight.h	(revision 20486)
@@ -5,6 +5,6 @@
  * @author Eugene Magnier, IfA
  *
- * @version $Revision: 1.15 $ $Name: not supported by cvs2svn $
- * @date $Date: 2008-08-22 22:25:22 $
+ * @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
+ * @date $Date: 2008-10-31 21:50:16 $
  * Copyright 2005-2006 Institute for Astronomy, University of Hawaii
  */
@@ -93,4 +93,29 @@
                              );
 
+/// Renormalise the weight map to match the actual pixel variance
+///
+/// The weight (variance) map is adjusted so that the mean matches the actual pixel variance in the image
+bool pmReadoutWeightRenormPixels(
+    const pmReadout *readout,           ///< Readout to normalise
+    psMaskType maskVal,                 ///< Value to mask
+    psStatsOptions meanStat,            ///< Statistic to measure the mean (of the variance map)
+    psStatsOptions stdevStat,           ///< Statistic to measure the stdev (of the image)
+    psRandom *rng                       ///< Random number generator
+    );
+
+/// Renormalise the weight map to match the actual photometry variance
+///
+/// The weight (variance) map is adjusted so that the actual significance of fake sources matches the
+/// guestimated significance
+bool pmReadoutWeightRenormPhot(
+    const pmReadout *readout,           ///< Readout to normalise
+    psMaskType maskVal,                 ///< Value to mask
+    int num,                            ///< Number of instances to measure over the image
+    float width,                        ///< Photometry width
+    psStatsOptions meanStat,            ///< Statistic to measure the mean
+    psStatsOptions stdevStat,           ///< Statistic to measure the stdev
+    psRandom *rng                       ///< Random number generator
+    );
+
 /// Renormalise the weight map to match the actual variance
 ///
