Commit c44913f2 authored by Nicola Vigano's avatar Nicola Vigano
Browse files

Alignment: fixed logic error



Signed-off-by: Nicola Vigano's avatarNicola VIGANÒ <nicola.vigano@esrf.fr>
parent e96b2709
......@@ -584,7 +584,7 @@ class DetectorTranslationAlongBeam(AlignmentBase):
if equispaced_increments:
img_pos_increments = img_pos[1:] - img_pos[0]
else:
img_pos_increments = - np.diff(img_pos)
img_pos_increments = np.diff(img_pos)
# Polynomial.fit is supposed to be more numerically stable than polyfit
# (according to numpy)
......
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