From c1006299fc36d89b12fa1ab52d013858a862a830 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 20 Jan 2012 11:42:56 -0800 Subject: Sanity check no longer requires the predicted peaks Also comment out the old resolution estimation stuff --- src/indexamajig.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'src') diff --git a/src/indexamajig.c b/src/indexamajig.c index 5a10fce8..ab0ee5a1 100644 --- a/src/indexamajig.c +++ b/src/indexamajig.c @@ -360,22 +360,16 @@ static void process_image(void *pp, int cookie) pargs->indexable = 1; - if ( image.reflections != NULL ) { + image.reflections = find_intersections(&image, + image.indexed_cell); - double min, max; + if ( image.reflections != NULL ) { integrate_reflections(&image, config_polar, pargs->static_args.config_closer, pargs->static_args.config_bgsub, pargs->static_args.min_int_snr); - 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 { -- cgit v1.2.3