From c411f89749adabe3406d516052394983434c17dd Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 13 Jun 2019 11:19:25 +0200 Subject: partialator: Only strong reflections in specgraph, and remove resolution limit for pgraph Rationale for pgraph: the viewer already has a resolution selector. --- src/post-refinement.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/post-refinement.c') 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); -- cgit v1.2.3