diff options
author | Thomas White <taw@bitwiz.org.uk> | 2010-04-10 18:22:21 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2010-04-10 18:22:21 +0100 |
commit | b925bc42dd86073b06dc5f8146ad1babc27741ef (patch) | |
tree | 6263940b4b899b47267361fb640f6773fa5e320e /src/process_hkl.c | |
parent | d554760847b4beb9ee5e8e187168971e15239e38 (diff) |
process_hkl: Minimum ten counts before writing a reflection
Diffstat (limited to 'src/process_hkl.c')
-rw-r--r-- | src/process_hkl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/process_hkl.c b/src/process_hkl.c index 78c6b1fc..4982961d 100644 --- a/src/process_hkl.c +++ b/src/process_hkl.c @@ -168,7 +168,7 @@ static void process_reflections(double *ref, double *trueref, if ( do_zoneaxis ) { char name[64]; snprintf(name, 63, "ZA-%u.dat", n_patterns); - write_reflections(name, counts, ref, 1, cell); + write_reflections(name, counts, ref, 1, cell, 1); } fh = fopen("results/convergence.dat", "a"); @@ -346,13 +346,13 @@ int main(int argc, char *argv[]) } if ( output != NULL ) { - write_reflections(output, counts, ref, 0, cell); + write_reflections(output, counts, ref, 0, cell, 1); } if ( config_zoneaxis ) { char name[64]; snprintf(name, 63, "ZA-%u.dat", n_patterns); - write_reflections(name, counts, ref, 1, cell); + write_reflections(name, counts, ref, 1, cell, 10); } STATUS("There were %u patterns.\n", n_patterns); |