aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/geometry.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-02-14 16:11:47 +0100
committerThomas White <taw@physics.org>2014-02-17 16:03:31 +0100
commit653cac3b7dd684a1b913b0007417762653d25a5a (patch)
treead1e07aaacdd7d49524b37f28481946471b7995a /libcrystfel/src/geometry.c
parentb2d65cb9b307a321e88fb5ff88197580ca0c59e4 (diff)
Lorentz factor should not depend on profile radius
Diffstat (limited to 'libcrystfel/src/geometry.c')
-rw-r--r--libcrystfel/src/geometry.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcrystfel/src/geometry.c b/libcrystfel/src/geometry.c
index e9712b0a..4e43d3c7 100644
--- a/libcrystfel/src/geometry.c
+++ b/libcrystfel/src/geometry.c
@@ -175,9 +175,9 @@ static Reflection *check_reflection(struct image *image, Crystal *cryst,
}
/* Lorentz factor is determined direction from the r values, before
- * clamping. The multiplication by the profile radius is to make the
+ * clamping. The multiplication by 0.01e9 to make the
* correction factor vaguely near 1. */
- L = pr / (rlow - rhigh);
+ L = LORENTZ_SCALE / (rlow - rhigh);
/* If the "lower" Ewald sphere is a long way away, use the
* position at which the Ewald sphere would just touch the