SciPy

numpy.ma.MaskType.imag

MaskType.imag

imaginary part of scalar