aboutsummaryrefslogtreecommitdiff
path: root/src/compare_hkl.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-10-05 18:54:44 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:01 +0100
commitb56be18e02570926e1cb56170556f4b0a3e2aec0 (patch)
tree91701be204694b5f1809a3bb44710cade36cd69f /src/compare_hkl.c
parent0cb609aa2c75e5d0e99b355fe176ed682ee0b05d (diff)
compare_hkl: Use appropriate scaling factor for resolution shells graph
Diffstat (limited to 'src/compare_hkl.c')
-rw-r--r--src/compare_hkl.c6
1 files changed, 3 insertions, 3 deletions
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 ) {