aboutsummaryrefslogtreecommitdiff
path: root/src/geometry.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-07-05 11:57:41 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:31 +0100
commite26edd4e367c5425ee368d68e3c40e598e1e510f (patch)
tree23299d2727ff9b04bf9fa8abcea540779fa722d8 /src/geometry.c
parentefd6562f9156ddff2fe073c97b2ddbf25c45688e (diff)
Predict reflections with p<0.1
Diffstat (limited to 'src/geometry.c')
-rw-r--r--src/geometry.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/geometry.c b/src/geometry.c
index 7a11b110..df1e8ac4 100644
--- a/src/geometry.c
+++ b/src/geometry.c
@@ -206,9 +206,8 @@ static int check_reflection(struct image *image, double mres,
* zero) correspond to the six situations in Table 3 of Rossmann
* et al. (1979). */
- /* Calculate partiality and reject if too small */
+ /* Calculate partiality */
part = partiality(rlow, rhigh, image->profile_radius);
- if ( part < 0.1 ) return 0;
/* Locate peak on detector. */
p = locate_peak(xl, yl, zl, kcen, image->det, &xda, &yda);