diff options
author | Thomas White <taw@physics.org> | 2016-04-01 15:30:57 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2016-04-01 15:30:57 +0200 |
commit | b62b7f7356f529ab904dabefb4618afc8f2211ec (patch) | |
tree | 9ee95d5a86c0379c8d611789fea47c717510b803 /libcrystfel/src/integration.c | |
parent | 5ecd23cddcbb1b4eda422bf8351ea18c6997b7ce (diff) |
Add adu_per_photon (distinct from adu_per_eV)
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 |