aboutsummaryrefslogtreecommitdiff
path: root/tests/centering_check.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2016-11-10 10:47:55 +0100
committerThomas White <taw@physics.org>2016-11-10 10:50:25 +0100
commit6f2696f7a15a3b2f0a8ed39ce23e77123b85d904 (patch)
tree63b04018ceb794e311327f3b7d3c4c824e7824b8 /tests/centering_check.c
parent3a5eacd9262964210d44118a407e30b21157dfa2 (diff)
Fix 2theta calculation in locate_peak_on_panel()
The "improved" version of this, added by 9b1374999 along with the new spot position calculation for out-of-plane panels, actually assumes that the reflection is at the exact Bragg condition. This is not a valid assumption here. The difference is small (<0.5 px), but made the prediction refinement gradients completely wrong.
Diffstat (limited to 'tests/centering_check.c')
0 files changed, 0 insertions, 0 deletions