aboutsummaryrefslogtreecommitdiff
path: root/src/check_hkl.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2012-07-03 18:03:13 +0200
committerThomas White <taw@physics.org>2012-07-03 18:03:13 +0200
commitbb0cd5c3603f815183e03d5e2dad76c51c449864 (patch)
tree5d2f15339a5cf8ac18cafeabd61c2e55e0cb5b1b /src/check_hkl.c
parent6734aced8a8b2a94e707e9e243e02675bd4c8c76 (diff)
check_hkl: Add Angstrom column as well
Diffstat (limited to 'src/check_hkl.c')
-rw-r--r--src/check_hkl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/check_hkl.c b/src/check_hkl.c
index 4927e60e..32f41cfd 100644
--- a/src/check_hkl.c
+++ b/src/check_hkl.c
@@ -282,13 +282,13 @@ static void plot_shells(RefList *list, UnitCell *cell, const SymOpList *sym,
fprintf(fh, "1/d centre # refs Possible Compl "
- "Meas Red SNR Std dev Mean\n");
+ "Meas Red SNR Std dev Mean d(A)\n");
for ( i=0; i<NBINS; i++ ) {
double cen;
cen = rmins[i] + (rmaxs[i] - rmins[i])/2.0;
fprintf(fh, "%10.3f %8i %8i %6.2f %10i %5.1f"
- " %5.2f %10.2f %10.2f\n",
+ " %5.2f %10.2f %10.2f %8.2f\n",
cen*1.0e-9,
measured[i],
possible[i],
@@ -297,7 +297,7 @@ static void plot_shells(RefList *list, UnitCell *cell, const SymOpList *sym,
(double)measurements[i]/measured[i],
snr[i]/(double)measured[i],
sqrt(var[i]/measured[i]),
- mean[i]);
+ mean[i], (1.0/cen)*1e10);
}