aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/partial_sim.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/partial_sim.c b/src/partial_sim.c
index 96aa0c7c..b0d121be 100644
--- a/src/partial_sim.c
+++ b/src/partial_sim.c
@@ -99,6 +99,9 @@ static void calculate_partials(RefList *partial, double osf,
}
Ip = osf * p * If;
+
+ Ip = gaussian_noise(Ip, Ip/10.0);
+
set_int(refl, Ip);
set_esd_intensity(refl, Ip/10.0);