diff options
author | Thomas White <taw@physics.org> | 2012-04-26 14:51:58 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-04-26 14:57:43 +0200 |
commit | 23295e405b524d86475e22eb21a56fd1ada3e530 (patch) | |
tree | 1eb132d21d25e420c50835a054bc637a64078926 /libcrystfel/src/peaks.c | |
parent | 817ce63505c93f00117439eee6b11934f6cd4b1d (diff) |
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.
Diffstat (limited to 'libcrystfel/src/peaks.c')
-rw-r--r-- | libcrystfel/src/peaks.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libcrystfel/src/peaks.c b/libcrystfel/src/peaks.c index 4b146eb6..78a68185 100644 --- a/libcrystfel/src/peaks.c +++ b/libcrystfel/src/peaks.c @@ -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); + } } |