NumPy

numpy.ma.MaskType.real

attribute

MaskType.real

The real part of the scalar.