def quaternion_imag(quaternion):
 return numpy.array(quaternion[1:4], dtype=numpy.float64, copy=True)

def quaternion_imag ( quaternion ) : return numpy . array ( quaternion [ 1 : 4 ] , dtype = numpy . float64 , copy = True )
return imaginary part of quaternion .