pyphi.validate.non_overlapping#

pyphi.validate.non_overlapping(complexes)[source]#

Validate that complexes have pairwise-disjoint units (exclusion).

The exclusion postulate requires that no unit belongs to more than one complex.

Parameters:

complexes (Iterable) – Objects exposing node_indices.

Returns:

bool – True if the complexes are pairwise node-disjoint.

Raises:

ValueError – If any two of complexes share a unit.

Return type:

bool