Masked arrays are arrays that may have missing or invalid entries. Module numarray.ma provides a work-alike replacement for numarray that supports data arrays with masks. A mask is either None or an array of ones and zeros, that determines for each element of the masked array whether or not it contains an invalid entry. The package assures that invalid entries are not used in computations. A particular element is said to be masked (invalid) if the mask is not None and the corresponding element of the mask is 1; otherwise it is unmasked (valid).
Send comments to the NumArray community.