Commit 04736476 authored by Thomas White's avatar Thomas White
Browse files

partial_sim: Add 10% noise to the results

parent 8ac0fea5
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment