From 86fa0c2abf6e1399e5c2751f64cf4c19c912aedf Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 26 Jul 2012 16:14:42 -0700 Subject: New parameter in beam description files: profile_radius --- src/im-sandbox.c | 2 +- src/partial_sim.c | 2 +- src/partialator.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/im-sandbox.c b/src/im-sandbox.c index d7cce8fa..97dd3dfe 100644 --- a/src/im-sandbox.c +++ b/src/im-sandbox.c @@ -276,7 +276,7 @@ static void process_image(const struct index_args *iargs, /* Calculate orientation matrix (by magic) */ image.div = beam->divergence; image.bw = beam->bandwidth; - image.profile_radius = 0.0001e9; + image.profile_radius = beam->profile_radius; index_pattern(&image, cell, indm, iargs->cellr, config_verbose, iargs->ipriv, diff --git a/src/partial_sim.c b/src/partial_sim.c index 3cfb94a2..cdddf6a3 100644 --- a/src/partial_sim.c +++ b/src/partial_sim.c @@ -506,7 +506,7 @@ int main(int argc, char *argv[]) image.lambda = ph_en_to_lambda(eV_to_J(beam->photon_energy)); image.div = beam->divergence; image.bw = beam->bandwidth; - image.profile_radius = 0.003e9; + image.profile_radius = beam->profile_radius; image.filename = malloc(256); image.copyme = NULL; diff --git a/src/partialator.c b/src/partialator.c index 4fa8c2bd..ec8a7410 100644 --- a/src/partialator.c +++ b/src/partialator.c @@ -481,7 +481,7 @@ int main(int argc, char *argv[]) cur->width = det->max_fs; cur->height = det->max_ss; cur->osf = 1.0; - cur->profile_radius = 0.003e9; + cur->profile_radius = beam->profile_radius; cur->pr_dud = 0; /* Muppet proofing */ -- cgit v1.2.3