src/bvhtoolbox/convert/bvh2xaf_helpers.py
def quat2string(quat):
    """Takes quaternion (wxyz) and outputs string in xyzw order.
    
    :param quat: quaternion in wxyz order.
    :type quat: numpy.ndarray
    :return: string representation
    :rtype: str
    """
    quat = np.roll(quat, shift=-1)
    s = np.array_str(quat)[1:-1]
    return s
Takes quaternion (wxyz) and outputs string in xyzw order.
    
    :param quat: quaternion in wxyz order.
    :type quat: numpy.ndarray
    :return: string representation
    :rtype: str
    
Takes quaternion (wxyz) and outputs string in xyzw order.
Takes quaternion ( wxyz ) and outputs string in xyzw order .
def quat2string(quat):
    quat = np.roll(quat, shift=-1)
    s = np.array_str(quat)[1:-1]
    return s
def quat2string ( quat ) : quat = np . roll ( quat , shift = - 1 ) s = np . array_str ( quat ) [ 1 : - 1 ] return s
Takes quaternion (wxyz) and outputs string in xyzw order.
Takes quaternion ( wxyz ) and outputs string in xyzw order .
"""Takes quaternion (wxyz) and outputs string in xyzw order.
    
    :param quat: quaternion in wxyz order.
    :type quat: numpy.ndarray
    :return: string representation
    :rtype: str
    """
None
str
quat
quaternion in wxyz order.
quaternion in wxyz order .