ones#

static rlemasklib.RLEMask.ones(shape)[source]#

Create a new RLE mask of ones.

Parameters:

shape (Sequence[int]) – the shape of the mask

Returns:

A new RLEMask object representing a mask of ones.

Return type:

RLEMask