Return the imaginary part of array.
val : array_like
Input array.
out : ndarray, real or int
Real part of each element, same shape as val.
numpy.real
numpy.conj