aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-04-11 16:36:54 +0200
committerThomas White <taw@physics.org>2013-04-11 16:37:45 +0200
commit3370cfe58ce32e67a092c7c3d130232410178088 (patch)
treec8ee4f95dece4b1c43894851e9616923ff482982
parente27da1bd5af8c10fcc17c024d5c9ae2988caf55c (diff)
partial_sim: Document --pgraph
Conflicts: doc/man/partial_sim.1
-rw-r--r--doc/man/partial_sim.16
-rw-r--r--src/partial_sim.c1
2 files changed, 7 insertions, 0 deletions
diff --git a/doc/man/partial_sim.1 b/doc/man/partial_sim.1
index 5b44d34f..5b417978 100644
--- a/doc/man/partial_sim.1
+++ b/doc/man/partial_sim.1
@@ -71,6 +71,12 @@ When combined with with \fB-i\fR, specifies the symmetry of the input reflection
.PD
Add random values with a flat distribution to the components of the reciprocal lattice vectors written to the stream, simulating indexing errors. The maximum value that will be added is +/- \fIval\fR percent.
+.PD 0
+.B
+.IP "\fB--pgraph=\fR\fIfilename\fR
+.PD
+Save a table of values to \fIfilename\fR containing, in resolution shells, the following columns: resolution shell centre in nm^-1, number of reflections in shell, mean partiality, maximum partiality.
+
.SH AUTHOR
This page was written by Thomas White.
diff --git a/src/partial_sim.c b/src/partial_sim.c
index a4a2f875..7c93da1b 100644
--- a/src/partial_sim.c
+++ b/src/partial_sim.c
@@ -179,6 +179,7 @@ static void show_help(const char *s)
" -y, --symmetry=<sym> Symmetry of the input reflection list.\n"
" -n <n> Simulate <n> patterns. Default: 2.\n"
" -r, --save-random=<file> Save randomly generated intensities to file.\n"
+" --pgraph=<file> Save a histogram of partiality values to file.\n"
" -c, --cnoise=<val> Add random noise, with a flat distribution, to the\n"
" reciprocal lattice vector components given in the\n"
" stream, with maximum error +/- <val> percent.\n"