diff options
author | Thomas White <taw@physics.org> | 2011-07-11 16:55:35 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:32 +0100 |
commit | 623939fb6bd9475935546b9539f404eaaff41a3f (patch) | |
tree | 8d8e77b07903bbb36df60646b4127dec18397d3f /src/process_hkl.c | |
parent | 1bd043203f25a26d5d806ed847f87a4fd7df5f22 (diff) |
Use new Kabsch algorithm for faster scaling
Diffstat (limited to 'src/process_hkl.c')
-rw-r--r-- | src/process_hkl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/process_hkl.c b/src/process_hkl.c index b3722ad9..731344cb 100644 --- a/src/process_hkl.c +++ b/src/process_hkl.c @@ -170,7 +170,7 @@ static void merge_pattern(RefList *model, RefList *new, int max_only, } else if ( pass == 2 ) { - double dev = get_sum_squared_dev(model_version); + double dev = get_temp1(model_version); /* Other ways of estimating the sigma are possible, * choose from: @@ -180,7 +180,7 @@ static void merge_pattern(RefList *model, RefList *new, int max_only, * as well. */ dev += pow(intensity - model_int, 2.0); - set_sum_squared_dev(model_version, dev); + set_temp1(model_version, dev); if ( hist_vals != NULL ) { int p = *hist_n; @@ -374,7 +374,7 @@ static void merge_all(FILE *fh, RefList *model, refl != NULL; refl = next_refl(refl, iter) ) { - double sum_squared_dev = get_sum_squared_dev(refl); + double sum_squared_dev = get_temp1(refl); int red = get_redundancy(refl); int h, k, l; double esd; |