SciPy

numpy.ma.MaskType.imag

attribute

MaskType.imag

imaginary part of scalar