pyphi.models.partitions.Part#

class pyphi.models.partitions.Part(mechanism, purview, node_labels=None)[source]#

Bases: object

One block of a JointPartition.

A block pairs a subset of mechanism nodes with a subset of purview nodes.

Variables:
  • mechanism (tuple[int, ...]) – Nodes on the mechanism side of this block.

  • purview (tuple[int, ...]) – Nodes on the purview side of this block.

  • node_labels (NodeLabels or None) – Optional labels used when formatting the block.

Parameters:

Examples

For a φ computation on a 3-node system, a 2-block partition could be:

mechanism:  A,C    B
            ─── ✕ ───
  purview:   B    A,C