src/bvhtoolbox/convert/bvh2xaf_helpers.py
def string2mat(xaf_string):
    """Returns rotation matrix for a string of quaternions (xyzw).
    
    :param xaf_string: space delimited xyzw quaternion
    :type xaf_string: str
    :return: rotation matrix (3x3)
    :rtype: numpy.ndarray
    """
    quat = string2quat(xaf_string)
    rot_mat = t3d.quaternions.quat2mat(quat)
    return rot_mat
Returns rotation matrix for a string of quaternions (xyzw).
    
    :param xaf_string: space delimited xyzw quaternion
    :type xaf_string: str
    :return: rotation matrix (3x3)
    :rtype: numpy.ndarray
    
Returns rotation matrix for a string of quaternions (xyzw).
Returns rotation matrix for a string of quaternions ( xyzw ) .
def string2mat(xaf_string):
    quat = string2quat(xaf_string)
    rot_mat = t3d.quaternions.quat2mat(quat)
    return rot_mat
def string2mat ( xaf_string ) : quat = string2quat ( xaf_string ) rot_mat = t3d . quaternions . quat2mat ( quat ) return rot_mat
Returns rotation matrix for a string of quaternions (xyzw).
Returns rotation matrix for a string of quaternions ( xyzw ) .
"""Returns rotation matrix for a string of quaternions (xyzw).
    
    :param xaf_string: space delimited xyzw quaternion
    :type xaf_string: str
    :return: rotation matrix (3x3)
    :rtype: numpy.ndarray
    """
rotation matrix (3x3)
rotation matrix ( 3x3 )
numpy.ndarray
xaf_string
space delimited xyzw quaternion
space delimited xyzw quaternion