aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/peaks.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2016-04-01 15:30:57 +0200
committerThomas White <taw@physics.org>2016-04-01 15:30:57 +0200
commitb62b7f7356f529ab904dabefb4618afc8f2211ec (patch)
tree9ee95d5a86c0379c8d611789fea47c717510b803 /libcrystfel/src/peaks.c
parent5ecd23cddcbb1b4eda422bf8351ea18c6997b7ce (diff)
Add adu_per_photon (distinct from adu_per_eV)
Diffstat (limited to 'libcrystfel/src/peaks.c')
-rw-r--r--libcrystfel/src/peaks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/peaks.c b/libcrystfel/src/peaks.c
index eda43a23..6f67255b 100644
--- a/libcrystfel/src/peaks.c
+++ b/libcrystfel/src/peaks.c
@@ -252,7 +252,7 @@ static int integrate_peak(struct image *image, int cfs, int css,
p_cfs = cfs - p->min_fs;
p_css = css - p->min_ss; /* Panel-relative coordinates */
- aduph = p->adu_per_eV * ph_lambda_to_eV(image->lambda);
+ aduph = p->adu_per_photon;
lim_sq = pow(ir_inn, 2.0);
mid_lim_sq = pow(ir_mid, 2.0);