aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2012-04-03 14:36:58 +0200
committerThomas White <taw@physics.org>2012-04-03 14:36:58 +0200
commit902378fa6beb49b171834ab2c9357f281824be30 (patch)
tree390c66056af64c5f2f07f7832be7fa3fabe10dc1 /src
parentc876a962ba6ffa84233429928ec55f7326d8e5e5 (diff)
partial_sim: Document --pgraph
Diffstat (limited to 'src')
-rw-r--r--src/partial_sim.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/partial_sim.c b/src/partial_sim.c
index 31822eca..39621a6c 100644
--- a/src/partial_sim.c
+++ b/src/partial_sim.c
@@ -178,6 +178,8 @@ static void show_help(const char *s)
" -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"
+" --pgraph=<file> Write reflection counts and partiality statistics\n"
+" to <file>.\n"
"\n"
);
}
@@ -538,6 +540,8 @@ int main(int argc, char *argv[])
if ( fh != NULL ) {
+ fprintf(fh, "1/d_nm #refl pmean pmax\n");
+
for ( i=0; i<NBINS; i++ ) {
double rcen;