aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/integration.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-03-21 21:22:12 +0100
committerThomas White <taw@physics.org>2014-03-21 21:22:12 +0100
commit8c40793e3b648d6c0709b0e080ab523db69fabe0 (patch)
tree5f006859c1c48db4e0e8d117c562deac3d40c96a /libcrystfel/src/integration.c
parent69f8ea5333dd39dc56961312950bf849e1082287 (diff)
Formatting
Diffstat (limited to 'libcrystfel/src/integration.c')
-rw-r--r--libcrystfel/src/integration.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libcrystfel/src/integration.c b/libcrystfel/src/integration.c
index 0a32c8a2..14d97a2e 100644
--- a/libcrystfel/src/integration.c
+++ b/libcrystfel/src/integration.c
@@ -1592,14 +1592,14 @@ static void integrate_rings_once(Reflection *refl, struct image *image,
sig2_poisson = aduph * intensity;
/* If intensity is within one photon of nothing, set the Poisson
- * error to be one photon */
+ * error to be one photon */
if ( fabs(intensity / aduph) < 1.0 ) {
sig2_poisson = aduph;
}
/* If intensity is negative by more than one photon, assume that
- * the peak is in the background and add a Poisson error of
- * appropriate size */
+ * the peak is in the background and add a Poisson error of
+ * appropriate size */
if ( intensity < -aduph ) {
sig2_poisson = -aduph*intensity;
}