aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2012-07-26 16:14:42 -0700
committerThomas White <taw@bitwiz.org.uk>2012-07-26 16:14:42 -0700
commit86fa0c2abf6e1399e5c2751f64cf4c19c912aedf (patch)
tree1b35ce3539bbda36f4697de5a6586c9d6458bdaf /src
parent516dc9e50975ef245f7367b35eb038787f81708c (diff)
New parameter in beam description files: profile_radius
Diffstat (limited to 'src')
-rw-r--r--src/im-sandbox.c2
-rw-r--r--src/partial_sim.c2
-rw-r--r--src/partialator.c2
3 files changed, 3 insertions, 3 deletions
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 */