numpy.ma.getdata()
numpy.ma.getdata
-
numpy.ma.getdata(a, subok=True)
[source] -
Return the data of a masked array as an ndarray.
Return the data of
a
(if any) as an ndarray ifa
is aMaskedArray
, else returna
as a ndarray or subclass (depending onsubok
) if not.Parameters: a : array_like
Input
MaskedArray
, alternatively a ndarray or a subclass thereof.subok : bool