diff options
author | Thomas White <taw@physics.org> | 2014-05-23 21:13:39 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2014-05-23 21:13:39 +0200 |
commit | 8000b4dab8172663b44538d098d6bd8ccf1aa006 (patch) | |
tree | 6c7dd886fce7ecb5260320518d317aa06094867e | |
parent | a58e6c20bc8bd5f9b03662f21fcc378657948627 (diff) |
Scale against strong reflections only
-rw-r--r-- | src/hrs-scaling.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/hrs-scaling.c b/src/hrs-scaling.c index b616b675..9602836b 100644 --- a/src/hrs-scaling.c +++ b/src/hrs-scaling.c @@ -108,7 +108,10 @@ static void run_scale_job(void *vwargs, int cookie) double Ih, Ihl, corr; Reflection *r; - if ( get_partiality(refl) < MIN_PART_SCALE ) continue; + if ( (get_partiality(refl) < MIN_PART_SCALE) + || (get_intensity(refl) < 3.0*get_esd_intensity(refl)) ) { + continue; + } /* Look up by asymmetric indices */ get_indices(refl, &h, &k, &l); |