moscot.utils.subset_policy.ExplicitPolicy.create_masks¶ ExplicitPolicy.create_masks(discard_empty=True)¶ Create masks based on the policy graph. Parameters: discard_empty (bool) – Whether to remove empty masks. Return type: Dict[Tuple[TypeVar(K, bound= Hashable), TypeVar(K, bound= Hashable)], Tuple[ndarray[Any, dtype[float64]], ndarray[Any, dtype[float64]]]] Returns: : Masks for each edge in the policy graph.