Index: /branches/sj_ippTests_branch_20080929/ippconfig/recipes/ppSim.config
===================================================================
--- /branches/sj_ippTests_branch_20080929/ippconfig/recipes/ppSim.config	(revision 20348)
+++ /branches/sj_ippTests_branch_20080929/ippconfig/recipes/ppSim.config	(revision 20349)
@@ -71,4 +71,6 @@
 BADPIX.SEED	U64	123456789	# Seed for RNG in creating deterministic bad pixels
 BADPIX.FRAC	F32	0.0001		# Fraction of bad pixels
+
+NOISE.ADD	BOOL	TRUE		# Add noise to image?
 
 ### The following options are used if not defined by the concepts (e.g., usually read from headers)
Index: /branches/sj_ippTests_branch_20080929/ppSim/src/ppSimAddNoise.c
===================================================================
--- /branches/sj_ippTests_branch_20080929/ppSim/src/ppSimAddNoise.c	(revision 20348)
+++ /branches/sj_ippTests_branch_20080929/ppSim/src/ppSimAddNoise.c	(revision 20349)
@@ -32,5 +32,7 @@
 	    // (generate a static array with the cumulative distribution, use the
 	    // random number to select a bin from the histogram)
-            signal->data.F32[y][x] += sqrtf(variance->data.F32[y][x]) * ppSimRandomGaussianNorm(rng);
+	    if (psMetadataLookupBool(NULL, recipe, "NOISE.ADD")) { // add noise?
+	      signal->data.F32[y][x] += sqrtf(variance->data.F32[y][x]) * ppSimRandomGaussianNorm(rng);
+	    }
             signal->data.F32[y][x] /= gain; // Converting to ADU
         }
