aboutsummaryrefslogtreecommitdiff
path: root/src/partialator.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-11-09 14:45:58 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:39 +0100
commit667c06f12ca19986acfc00b0bc3adc2ca7f58f58 (patch)
tree6c0bc218370124d7936d2b25faa1f4d9cb35eb13 /src/partialator.c
parent22d4f329abdcc91d04ac9cff67112eeeab1509a3 (diff)
partialator: Use all reflections (not just the ones found the first time around)
Diffstat (limited to 'src/partialator.c')
-rw-r--r--src/partialator.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/partialator.c b/src/partialator.c
index 6b4719eb..4edf7bf4 100644
--- a/src/partialator.c
+++ b/src/partialator.c
@@ -269,9 +269,6 @@ int main(int argc, char *argv[])
int n_iter = 10;
struct beam_params *beam = NULL;
RefList *full;
- int n_found = 0;
- int n_expected = 0;
- int n_notfound = 0;
int n_usable_patterns = 0;
int nobs;
char *reference_file = NULL;
@@ -435,7 +432,6 @@ int main(int argc, char *argv[])
RefList *as;
struct image *cur;
- int nn_expected, nn_found, nn_notfound;
cur = &images[n_usable_patterns];
@@ -474,10 +470,7 @@ int main(int argc, char *argv[])
reflist_free(cur->reflections);
cur->reflections = as;
- update_partialities(cur, &nn_expected, &nn_found, &nn_notfound);
- n_expected += nn_expected;
- n_found += nn_found;
- n_notfound += nn_notfound;
+ update_partialities(cur);
nobs += select_scalable_reflections(cur->reflections,
reference);
@@ -487,8 +480,6 @@ int main(int argc, char *argv[])
}
fclose(fh);
- STATUS("Found %5.2f%% of the expected peaks (missed %i of %i).\n",
- 100.0 * (double)n_found / n_expected, n_notfound, n_expected);
/* Make initial estimates */
STATUS("Performing initial scaling.\n");