aboutsummaryrefslogtreecommitdiff
path: root/src/post-refinement.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2019-06-13 11:19:25 +0200
committerThomas White <taw@physics.org>2019-07-17 09:22:23 +0200
commitc411f89749adabe3406d516052394983434c17dd (patch)
treee630a12ad4723274201970eb6a4b66601c41cb0e /src/post-refinement.c
parent08467883ed89a48cbc664435f5078a80bd6dfdba (diff)
partialator: Only strong reflections in specgraph, and remove resolution limit for pgraph
Rationale for pgraph: the viewer already has a resolution selector.
Diffstat (limited to 'src/post-refinement.c')
-rw-r--r--src/post-refinement.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/post-refinement.c b/src/post-refinement.c
index bcef016c..01ba8b14 100644
--- a/src/post-refinement.c
+++ b/src/post-refinement.c
@@ -561,6 +561,9 @@ void write_specgraph(Crystal *crystal, const RefList *full,
signed int h, k, l;
Reflection *match;
+ /* Strong reflections only */
+ if ( get_intensity(refl) < 3.0*get_esd_intensity(refl) ) continue;
+
get_indices(refl, &h, &k, &l);
res = resolution(cell, h, k, l);