-
Notifications
You must be signed in to change notification settings - Fork 57
Closed
Description
Running map_into_symmetry_reduced_zone() on sensible data (single crystal, all similar orientations) yields the following (just a few lines shown for illustration):
[-0.9681 0.0373 -0.0222 0.2467]
[-0.9685 0.0373 -0.0222 0.2452]
[-0.9685 0.0373 0.0222 -0.2451]
[-0.9686 0.0368 0.016 -0.2455]
[-0.9688 0.0373 0.0223 -0.2442]Fixing this manually in a quick for loop gets me to:
[-0.96812383, 0.03732545, 0.02216656, -0.24668136],
[-0.96849277, 0.03729216, 0.02222252, -0.2452289 ],
[-0.96851503, 0.03729006, 0.02222605, -0.24514094],
[-0.96856316, 0.03676689, 0.01601705, -0.24551387],
[-0.96875969, 0.03726781, 0.02226333, -0.24417231],(which is just a numpy array)
reimporting as an Orientation object, it then just transforms back to the first. Obviously, the constant sign flips in this data on index 2 and 3 in each quaternion play merry hell with any calculations!
Metadata
Metadata
Assignees
Labels
No labels