src/bvhtoolbox/convert/bvh2xaf_helpers.py
def string2euler(xaf_string, axes='rzxz'):
    """Convert XAF quaternion string to Euler angles.
    
    :param xaf_string: space delimited xyzw quaternion
    :type xaf_string: str
    :param axes: The order in which to return the angles. Usually that's the joint's channel order.
    :type axes: str
    :return: Euler angles
    :rtype: numpy.ndarray
    """
    mat = string2mat(xaf_string)
    euler = mat2euler(mat, axes)
    return euler
Convert XAF quaternion string to Euler angles.
    
    :param xaf_string: space delimited xyzw quaternion
    :type xaf_string: str
    :param axes: The order in which to return the angles. Usually that's the joint's channel order.
    :type axes: str
    :return: Euler angles
    :rtype: numpy.ndarray
    
Convert XAF quaternion string to Euler angles.
Convert XAF quaternion string to Euler angles .
def string2euler(xaf_string, axes='rzxz'):
    mat = string2mat(xaf_string)
    euler = mat2euler(mat, axes)
    return euler
def string2euler ( xaf_string , axes = 'rzxz' ) : mat = string2mat ( xaf_string ) euler = mat2euler ( mat , axes ) return euler
Convert XAF quaternion string to Euler angles.
Convert XAF quaternion string to Euler angles .
"""Convert XAF quaternion string to Euler angles.
    
    :param xaf_string: space delimited xyzw quaternion
    :type xaf_string: str
    :param axes: The order in which to return the angles. Usually that's the joint's channel order.
    :type axes: str
    :return: Euler angles
    :rtype: numpy.ndarray
    """
None
numpy.ndarray
xaf_string
space delimited xyzw quaternion
space delimited xyzw quaternion
axes
The order in which to return the angles. Usually that's the joint's channel order.
The order in which to return the angles . Usually that ' s the joint ' s channel order .