From efd6562f9156ddff2fe073c97b2ddbf25c45688e Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 4 Jul 2011 17:50:56 +0200 Subject: Separate "refinable" and "scalable" concepts --- src/partialator.c | 45 +++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 41 insertions(+), 4 deletions(-) (limited to 'src/partialator.c') diff --git a/src/partialator.c b/src/partialator.c index 167f736d..43c4bda0 100644 --- a/src/partialator.c +++ b/src/partialator.c @@ -191,6 +191,35 @@ static int select_scalable_reflections(RefList *list, ReflItemList *sc_l) } +static void select_reflections_for_refinement(struct image *images, int n, + ReflItemList *scalable) +{ + int i; + + for ( i=0; ireflections); cur->reflections = as; - update_partialities(cur, sym, - &n_expected, &n_found, &n_notfound); + predict_corresponding_reflections(cur, sym, &n_expected, + &n_found, &n_notfound); nobs += select_scalable_reflections(cur->reflections, scalable); @@ -419,6 +448,8 @@ int main(int argc, char *argv[]) full = scale_intensities(images, n_usable_patterns, sym, scalable, cref, reference); + select_reflections_for_refinement(images, n_usable_patterns, scalable); + for ( i=0; ireflections, scalable); -- cgit v1.2.3