From b56be18e02570926e1cb56170556f4b0a3e2aec0 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 5 Oct 2010 18:54:44 +0200 Subject: compare_hkl: Use appropriate scaling factor for resolution shells graph --- src/compare_hkl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/compare_hkl.c') diff --git a/src/compare_hkl.c b/src/compare_hkl.c index eed177c4..00d15e9c 100644 --- a/src/compare_hkl.c +++ b/src/compare_hkl.c @@ -164,7 +164,7 @@ int main(int argc, char *argv[]) char *afile = NULL; char *bfile = NULL; char *sym = NULL; - double scale, scale_r2, R1, R2, R1i, Rdiff, pearson; + double scale, scale_r2, scale_rdig, R1, R2, R1i, Rdiff, pearson; int i, ncom; ReflItemList *i1, *i2, *icommon; int config_shells = 0; @@ -320,7 +320,7 @@ int main(int argc, char *argv[]) R1i = stat_r1_i(ref1, ref2_transformed, icommon, &scale); STATUS("R1(I) = %5.4f %% (scale=%5.2e)\n", R1i*100.0, scale); - Rdiff = stat_rdiff_ignore(ref1, ref2_transformed, icommon, &scale); + Rdiff = stat_rdiff_ignore(ref1, ref2_transformed, icommon, &scale_rdig); STATUS("Rdiff(F) = %5.4f %% (scale=%5.2e) (ignoring negative intensities)\n", Rdiff*100.0, scale); @@ -340,7 +340,7 @@ int main(int argc, char *argv[]) pearson); if ( config_shells ) { - plot_shells(ref1, ref2_transformed, icommon, scale_r2, cell); + plot_shells(ref1, ref2_transformed, icommon, scale_rdig, cell); } if ( outfile != NULL ) { -- cgit v1.2.3