tomodrgn.so3_grid.hopf_to_quat#
- hopf_to_quat(theta: ndarray, phi: ndarray, psi: ndarray) ndarray [source]#
Transform Hopf coordinates to quaternions
- Parameters:
theta – [0, pi), parameterizes spherical coordinates on S2 together with phi
phi – [0, 2pi), parameterizes spherical coordinates on S2 together with theta
psi – [0, 2pi), parameterizes circle S1
- Returns:
quaternions