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/peaks.c | |
parent | 5ecd23cddcbb1b4eda422bf8351ea18c6997b7ce (diff) |
Add adu_per_photon (distinct from adu_per_eV)
Diffstat (limited to 'libcrystfel/src/peaks.c')
-rw-r--r-- | libcrystfel/src/peaks.c | 2 |
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); |