MCPcopy Create free account
hub / github.com/numpy/numpy / nmask

Function nmask

numpy/ma/core.py:7745–7749  ·  view source on GitHub ↗

Returns the mask, True if ``masked``, False if ``nomask``.

(x)

Source from the content-addressed store, hash-verified

7743 return filled(x)
7744
7745 def nmask(x):
7746 "Returns the mask, True if ``masked``, False if ``nomask``."
7747 if x is masked:
7748 return True
7749 return getmask(x)
7750 # Get the indices.
7751 c = filled(indices, 0)
7752 # Get the masks.

Callers 1

chooseFunction · 0.85

Calls 1

getmaskFunction · 0.85

Tested by

no test coverage detected