SciPy

numpy.ma.MaskedArray.imag

MaskedArray.imag

Imaginary part.