moscot.utils.subset_policy.ExplicitPolicy.create_mask

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

Create a mask used to subset the data.

Parameters:
Return type:

Union[NDArray[floating], Array]

Returns:

: Boolean mask of the same shape as the data.