core.sphericalΒΆ
Documentation
Defines functions to work with spherical coordinates
Functions
cart2spherical(x, y, z) |
Converts to spherical coordinates |
clean_euler(phi, theta, psi) |
Finds a set of angles matching the same orientation with |
euler2mat(phi, theta, psi) |
Computes a rotation matrix based on the Euler angles |
mat2euler(rot_mat) |
Converts a rotation matrix to spherical coordinates |
single_rotmat(theta, axis) |
Rotate around the axis with theta radians |
spherical2cart(r, phi, theta) |
Converts from spherical coordinates |