Commit 23295e40 authored by Thomas White's avatar Thomas White
Browse files

Update the peak coordinates when doing --closer-peak

This should make it much more obvious (via check-near-bragg) when the peak positions are wrong.
parent 817ce635
......@@ -636,9 +636,15 @@ void integrate_reflections(struct image *image, int use_closer, int bgsub,
/* FIXME: Horrible hardcoded value */
if ( (f != NULL) && (d < 10.0) ) {
double exe;
exe = get_excitation_error(refl);
pfs = f->fs;
pss = f->ss;
set_detector_pos(refl, exe, pfs, pss);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment