get_angle_cartesian#

diffsims.utils.vector_utils.get_angle_cartesian(a, b)[source]#

Compute the angle between two vectors in a cartesian coordinate system.

Parameters:
a, barray_like with 3 floats

The two directions to compute the angle between.

Returns:
anglefloat

Angle between a and b in radians.