aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-02-27 16:48:03 +0100
committerThomas White <taw@physics.org>2018-02-27 17:12:42 +0100
commit85cf27f7c91e452114171f113faaa5187bfb41ce (patch)
treedb51b5a7d59f4eed0e6138f0765ce10a3ae55792 /src
parent252cb54403ad00c3db52ed86eea2209cb1b992d2 (diff)
Add indices to spectrum graph
Diffstat (limited to 'src')
-rw-r--r--src/post-refinement.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/post-refinement.c b/src/post-refinement.c
index 5c6faeaa..60db4890 100644
--- a/src/post-refinement.c
+++ b/src/post-refinement.c
@@ -521,7 +521,7 @@ void write_specgraph(Crystal *crystal, const RefList *full,
if ( cycle == 0 ) {
fprintf(fh, "Image: %s %s\n",
image->filename, get_event_string(image->event));
- fprintf(fh, "khalf/m 1/d(m) pcalc pobs iteration\n");
+ fprintf(fh, "khalf/m 1/d(m) pcalc pobs iteration h k l\n");
}
cell = crystal_get_cell(crystal);
@@ -556,8 +556,8 @@ void write_specgraph(Crystal *crystal, const RefList *full,
pobs = Ipart / Ifull;
pcalc = get_partiality(refl);
- fprintf(fh, "%e %e %f %f %s\n", get_khalf(refl), 2.0*res,
- pcalc, pobs, ins);
+ fprintf(fh, "%e %e %f %f %s %4i %4i %4i\n",
+ get_khalf(refl), 2.0*res, pcalc, pobs, ins, h, k, l);
}