diff options
Diffstat (limited to 'libcrystfel/src/integration.c')
-rw-r--r-- | libcrystfel/src/integration.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/integration.c b/libcrystfel/src/integration.c index ce996db7..7380f836 100644 --- a/libcrystfel/src/integration.c +++ b/libcrystfel/src/integration.c @@ -1463,7 +1463,7 @@ static void integrate_rings_once(Reflection *refl, struct image *image, intensity = tentative_intensity(ic, bx); mean_var_area(ic, bx, BM_BG, &bgmean, &sig2_bg); - aduph = bx->p->adu_per_eV * ph_lambda_to_eV(ic->image->lambda); + aduph = bx->p->adu_per_photon; sig2_poisson = aduph * intensity; /* If intensity is within one photon of nothing, set the Poisson |