src/bvhtoolbox/convert/bvh2xaf_helpers.py
def reorder_axes(xyz, axes='xyz'):
    """Takes an input array in xyz order and re-arranges it to given axes order.
    
    :param xyz: array with x,y,z order.
    :param axes: output order for Euler conversions respective to axes.
    :return: array in axes order.
    :rtype: numpy.ndarray
    """
    firstaxis, parity = _AXES2TUPLE[axes]
    i = firstaxis
    j = _NEXT_AXIS[i + parity]
    k = _NEXT_AXIS[i - parity + 1]
    return np.array([xyz[i], xyz[j], xyz[k]])
Takes an input array in xyz order and re-arranges it to given axes order.
    
    :param xyz: array with x,y,z order.
    :param axes: output order for Euler conversions respective to axes.
    :return: array in axes order.
    :rtype: numpy.ndarray
    
Takes an input array in xyz order and re-arranges it to given axes order.
Takes an input array in xyz order and re - arranges it to given axes order .
def reorder_axes(xyz, axes='xyz'):
    firstaxis, parity = _AXES2TUPLE[axes]
    i = firstaxis
    j = _NEXT_AXIS[i + parity]
    k = _NEXT_AXIS[i - parity + 1]
    return np.array([xyz[i], xyz[j], xyz[k]])
def reorder_axes ( xyz , axes = 'xyz' ) : firstaxis , parity = _AXES2TUPLE [ axes ] i = firstaxis j = _NEXT_AXIS [ i + parity ] k = _NEXT_AXIS [ i - parity + 1 ] return np . array ( [ xyz [ i ] , xyz [ j ] , xyz [ k ] ] )
Takes an input array in xyz order and re-arranges it to given axes order.
Takes an input array in xyz order and re - arranges it to given axes order .
"""Takes an input array in xyz order and re-arranges it to given axes order.
    
    :param xyz: array with x,y,z order.
    :param axes: output order for Euler conversions respective to axes.
    :return: array in axes order.
    :rtype: numpy.ndarray
    """
array in axes order.
array in axes order .
numpy.ndarray
xyz
array with x,y,z order.
array with x y z order .
axes
output order for Euler conversions respective to axes.
output order for Euler conversions respective to axes .