SciPy

numpy.ma.masked_array.real

attribute

masked_array.real

Real part