moscot.utils.subset_policy.SubsetPolicy.create_masks¶ SubsetPolicy.create_masks(discard_empty=True)[source]¶ 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.