aboutsummaryrefslogtreecommitdiff
path: root/src/get_hkl.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-09-22 17:35:06 +0200
committerThomas White <taw@physics.org>2012-02-22 15:26:59 +0100
commitc68ee0a5c446023b7f550d723c8f3e8b109b9bc5 (patch)
tree49412bb958e032703f63e82ff54c8e66d321a191 /src/get_hkl.c
parent0c5b842c2f991e57df4e8acc2438ffe7ee25e410 (diff)
compare_hkl: Reject reflections with low SNR
Diffstat (limited to 'src/get_hkl.c')
-rw-r--r--src/get_hkl.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/get_hkl.c b/src/get_hkl.c
index 8c7db771..a86b1450 100644
--- a/src/get_hkl.c
+++ b/src/get_hkl.c
@@ -238,7 +238,8 @@ int main(int argc, char *argv[])
phases, input_items);
} else {
ideal_ref = new_list_intensity();
- input_items = read_reflections(input, ideal_ref, phases, NULL);
+ input_items = read_reflections(input, ideal_ref, phases,
+ NULL, NULL);
free(input);
}
@@ -275,7 +276,8 @@ int main(int argc, char *argv[])
/* Write out only reflections which are in the template
* (and which we have in the input) */
ReflItemList *template_items;
- template_items = read_reflections(template, NULL, NULL, NULL);
+ template_items = read_reflections(template,
+ NULL, NULL, NULL, NULL);
write_items = intersection_items(input_items, template_items);
delete_items(template_items);
} else {