bundles / numpy 2.5.0.dev0+git20251130.2de293a / numpy / ma / core / MaskedArray / real
function
numpy.ma.core:MaskedArray.real
source: build-install/usr/lib/python3.14/site-packages/numpy/ma/core.py:4565
Signature
def real(self)Summary
The real part of the masked array.
Extended Summary
This property is a view on the real part of this MaskedArray.
Examples
import numpy as np x = np.ma.array([1+1.j, -2j, 3.45+1.6j], mask=[False, True, False]) x.real
See also
Aliases
numpy.ma.MaskedArray.get_real