aboutsummaryrefslogtreecommitdiff
path: root/src/indexamajig.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2011-08-29 03:13:34 -0700
committerThomas White <taw@physics.org>2012-02-22 15:27:37 +0100
commit7928d36dd3c0f0a2e628d865192511fd655f973e (patch)
tree65084a380433875c9b8ccf50837cf1951688fad4 /src/indexamajig.c
parentb1a4789edce25cf267f64e539e8085bda9c91d61 (diff)
Change the sanity check so that it does what we say it does
Diffstat (limited to 'src/indexamajig.c')
-rw-r--r--src/indexamajig.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c
index 384195ac..d27ff4d4 100644
--- a/src/indexamajig.c
+++ b/src/indexamajig.c
@@ -314,20 +314,16 @@ static void process_image(void *pp, int cookie)
image.data = data_for_measurement;
/* Calculate orientation matrix (by magic) */
+ image.div = beam->divergence;
+ image.bw = beam->bandwidth;
+ image.profile_radius = 0.0001e9;
index_pattern(&image, cell, indm, pargs->static_args.cellr,
config_verbose, pargs->static_args.ipriv,
pargs->static_args.config_insane);
- if ( image.indexed_cell != NULL ) pargs->indexable = 1;
-
- /* Measure intensities */
if ( image.indexed_cell != NULL ) {
- image.div = beam->divergence;
- image.bw = beam->bandwidth;
- image.profile_radius = 0.0001e9;
- image.reflections = find_intersections(&image,
- image.indexed_cell);
+ pargs->indexable = 1;
if ( image.reflections != NULL ) {
integrate_reflections(&image, config_polar,