Skip to content

Commit

Permalink
Merge pull request #1097 from HEXRD/joelvbernier-cropping-patch
Browse files Browse the repository at this point in the history
Update llnl_import_tool_dialog.py
  • Loading branch information
joelvbernier authored Dec 14, 2021
2 parents 6102f90 + 8eb68ff commit 023ef63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hexrd/ui/llnl_import_tool_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ def completed(self):
# first need the zxz Euler angles from the panel rotation matrix.
*zx, z = angles_from_rmat_zxz(panel.rmat)
# convert updated zxz angles to rmat
tilts = [*zx, (z + float(self.edited_images[det]['tilt']))]
tilts = [*zx, (z - float(self.edited_images[det]['tilt']))]
rmat_updated = make_rmat_euler(tilts, 'zxz', extrinsic=False)
# convert to angle-axis parameters
rang, raxs = angleAxisOfRotMat(rmat_updated)
Expand Down

0 comments on commit 023ef63

Please sign in to comment.