pyphi.partition.wedge_tripartitions#

pyphi.partition.wedge_tripartitions(mechanism, purview, node_labels=None)[source]#

Return an iterator over all wedge partitions.

These are partitions which strictly split the mechanism and allow a subset of the purview to be split into a third partition, e.g.:

 A     B     ∅
─── ✕ ─── ✕ ───
 B     C     D

See config.formalism.iit.mechanism_partition_scheme for more information.

Parameters:
  • mechanism (tuple[int]) – A mechanism.

  • purview (tuple[int]) – A purview.

  • node_labels (Any)

Yields:

JointTripartition – All unique tripartitions of this mechanism and purview.

Return type:

Iterable[JointTripartition]