scipion-em / scipion-em-susantomo

Plugin to use SUSAN within the Scipion framework
GNU General Public License v3.0
2 stars 0 forks source link

todo list #2

Open azazellochg opened 2 years ago

azazellochg commented 2 years ago
MohamadHarastani commented 1 year ago

Hi @azazellochg By chance I saw you linked the issue with matrix2eulerAngles. Give a try this solution:

from scipy.spatial.transform import Rotation
rot, tilt, psi = Rotation.from_matrix(T).inv().as_euler('ZYZ', degrees=True)

Cheers