Skip to main content

getmaskarray

Function getmaskarray 

Source
pub fn getmaskarray<T, D>(
    ma: &MaskedArray<T, D>,
) -> FerrayResult<Array<bool, D>>
where T: Element, D: Dimension,
Expand description

Return the mask array, materializing the all-false sentinel form into a real bool array. Equivalent to numpy.ma.getmaskarray.

Always returns an Array<bool, D>, never nomask.

ยงErrors

Returns an error if internal array construction fails.