aboutsummaryrefslogtreecommitdiff
path: root/src/partial_sim.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-08-15 15:59:16 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:36 +0100
commit802ba6d8d99ed9fc473cdda9172da83be654a150 (patch)
tree2c5aba8ca2fd9c2f95a67fba314a29db7938d2e4 /src/partial_sim.c
parentc2721f91a4ea2ba24b28480946321d790898e262 (diff)
partial_sim: Use Gaussian OSF distribution
Diffstat (limited to 'src/partial_sim.c')
-rw-r--r--src/partial_sim.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/partial_sim.c b/src/partial_sim.c
index 79c2f832..ea7be5e0 100644
--- a/src/partial_sim.c
+++ b/src/partial_sim.c
@@ -316,12 +316,13 @@ int main(int argc, char *argv[])
double osf;
- if ( random() > RAND_MAX/2 ) {
- osf = 1.0;
- } else {
- osf = 2.0;
- }
+ //if ( random() > RAND_MAX/2 ) {
+ // osf = 1.0;
+ //} else {
+ // osf = 2.0;
+ //}
//STATUS("Image %i scale factor %f\n", i, osf);
+ osf = gaussian_noise(1.0, 0.3);
/* Set up a random orientation */
orientation = random_quaternion();