moscot.utils.subset_policy.TriangularPolicy.create_mask

TriangularPolicy.create_mask(value, *, allow_empty=False)

Create a mask used to subset the data.

Parameters:
Return type:

ndarray[Any, dtype[float64]]

Returns:

: Boolean mask of the same shape as the data.