aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/indexamajig.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c
index a742eb65..361d0514 100644
--- a/src/indexamajig.c
+++ b/src/indexamajig.c
@@ -358,9 +358,20 @@ static void process_image(void *pp, int cookie)
pargs->indexable = 1;
if ( image.reflections != NULL ) {
+
+ double min, max;
+
integrate_reflections(&image, config_polar,
pargs->static_args.config_closer,
pargs->static_args.config_bgsub);
+
+ estimate_resolution(image.reflections,
+ image.indexed_cell, &min, &max);
+ image.reflections = res_cutoff(image.reflections,
+ image.indexed_cell,
+ min, max);
+ image.diffracting_resolution = max;
+
}
} else {