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/partialator.c | 1 - src/post-refinement.c | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/partialator.c b/src/partialator.c index 082b9fec..f5d1a210 100644 --- a/src/partialator.c +++ b/src/partialator.c @@ -649,7 +649,6 @@ static void write_to_pgraph(FILE *fh, RefList *list, RefList *full, Crystal *cr, get_indices(refl, &h, &k, &l); res = resolution(cell, h, k, l); - if ( 2.0*res > crystal_get_resolution_limit(cr) ) continue; match = find_refl(full, h, k, l); if ( match == NULL ) continue; 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