diff options
author | Thomas White <taw@bitwiz.org.uk> | 2011-08-28 04:29:43 -0700 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:42 +0100 |
commit | 2318ae07fa5baaead4c1bc55bc4e63694c1942dc (patch) | |
tree | 85a7397ad3f58e4d2d58a91eac0e5cc682e02282 /src | |
parent | 0f7fc1d4d2e8022a1166e17ccd694f1d1b855d67 (diff) |
Hooks for estimation of maximum resolution for each image
Diffstat (limited to 'src')
-rw-r--r-- | src/indexamajig.c | 11 |
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 { |