moscot.utils.subset_policy.SequentialPolicy.create_masks¶ SequentialPolicy.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[Union[NDArray[floating], Array], Union[NDArray[floating], Array]]] Returns: : Masks for each edge in the policy graph.