Skip to content

Commit

Permalink
added verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
BM32ESRF committed May 3, 2024
1 parent 3e33230 commit 3ec0d94
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions LaueTools/lauecore.py
Original file line number Diff line number Diff line change
Expand Up @@ -1164,8 +1164,9 @@ def filterLaueSpots(vec_and_indices, HarmonicsRemoval=1,
#print('oncam_2theta',oncam_2theta)
# be careful of the of sign
oncam_chi = np.arctan2(1.0 * oncam_Qy , oncam_Qz)
print('oncam_chi',oncam_chi/DEG)
print('Qx Qy Qz', np.array([Qx,Qy,Qz]).T)
if verbose:
print('oncam_chi',oncam_chi/DEG)
print('Qx Qy Qz', np.array([Qx,Qy,Qz]).T)
# oncam_chi = np.arctan2(1. * oncam_Qy, oncam_Qz)
# TODO: replace by arctan2(1. * oncam_Qy ,oncam_Qz) ??

Expand Down

0 comments on commit 3ec0d94

Please sign in to comment.