def euler_from_quaternion(quaternion, axes='sxyz'):
 return euler_from_matrix(quaternion_matrix(quaternion), axes)

def euler_from_quaternion ( quaternion , axes = 'sxyz' ) : return euler_from_matrix ( quaternion_matrix ( quaternion ) , axes )
return euler angles from quaternion for specified axis sequence .