get_angle_cartesian_vec#
- diffsims.utils.vector_utils.get_angle_cartesian_vec(a, b)[source]#
Compute the angles between two lists of vectors in a cartesian coordinate system.
- Parameters:
a (np.array()) – The two lists of directions to compute the angle between in Nx3 float arrays.
b (np.array()) – The two lists of directions to compute the angle between in Nx3 float arrays.
- Returns:
angles – List of angles between a and b in radians.
- Return type:
np.array()