surfa.transform.orientation.orientation_to_rotation_matrix#

surfa.transform.orientation.orientation_to_rotation_matrix(orientation)#

Computes the direction cosine matrix corresponding to an orientation.

Parameters

orientation (str) – Case-insensitive orientation string.

Returns

4x4 direction cosine matrix.

Return type

np.ndarray