aboutsummaryrefslogtreecommitdiff
path: root/src/process_image.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-09-24 14:58:23 +0200
committerThomas White <taw@physics.org>2014-09-24 14:58:23 +0200
commitac917e9fb67bf01b0264e1ce60b5d911f03984b5 (patch)
treeef5b282c79a0181715c230c49d3199a6f7ce4005 /src/process_image.c
parent23de8849e8faca0dd977996ede9832a9b07557bf (diff)
Set (hardcoded) "beam" parameters
Diffstat (limited to 'src/process_image.c')
-rw-r--r--src/process_image.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/process_image.c b/src/process_image.c
index b78833af..83973e50 100644
--- a/src/process_image.c
+++ b/src/process_image.c
@@ -168,11 +168,11 @@ void process_image(const struct index_args *iargs, struct pattern_args *pargs,
}
/* Default parameters */
- image.div = image.beam->divergence;
- image.bw = image.beam->bandwidth;
+ image.div = 0.0;
+ image.bw = 0.001;
+ STATUS("Warning: div, bw and pr are hardcoded in this version.\n");
for ( i=0; i<image.n_crystals; i++ ) {
- crystal_set_profile_radius(image.crystals[i],
- image.beam->profile_radius);
+ crystal_set_profile_radius(image.crystals[i], 0.01e9);
crystal_set_mosaicity(image.crystals[i], 0.0); /* radians */
}