resqpy.olio.vector_utilities.rotation_matrix_3d_vector

resqpy.olio.vector_utilities.rotation_matrix_3d_vector(v)[source]

Returns a rotation matrix which will rotate points by inclination and azimuth of vector.

Note

the returned matrix will map a positive z axis vector onto v