aboutsummaryrefslogtreecommitdiff
path: root/src/post-refinement.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-02-27 16:03:33 +0100
committerThomas White <taw@physics.org>2018-02-27 17:12:41 +0100
commit24c9345dbab2bd51e91f00a229c6b5b8b712c86e (patch)
tree26ab1a6a46d228b61f130b80a1dbfff0e73ef57e /src/post-refinement.c
parentf61a2210c6afd5ff222e271c450fdc08cf2b4475 (diff)
Tweak reflection inclusion criteria
Diffstat (limited to 'src/post-refinement.c')
-rw-r--r--src/post-refinement.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/post-refinement.c b/src/post-refinement.c
index da3f6683..c57073c4 100644
--- a/src/post-refinement.c
+++ b/src/post-refinement.c
@@ -118,12 +118,14 @@ double residual(Crystal *cr, const RefList *full, int free,
if ( get_redundancy(match) < 2 ) continue;
p = get_partiality(refl);
- L = get_lorentz(refl);
+ //if ( p < 0.2 ) continue;
+
I_partial = get_intensity(refl);
esd = get_esd_intensity(refl);
- s = resolution(crystal_get_cell(cr), h, k, l);
+ //if ( I_partial < 3.0*esd ) continue;
- if ( I_partial < 3.0*esd ) continue;
+ L = get_lorentz(refl);
+ s = resolution(crystal_get_cell(cr), h, k, l);
fx = exp(G)*p*exp(-B*s*s)*I_full/L;
dc = I_partial - fx;