pyphi.partition.all_joint_partitions#
- pyphi.partition.all_joint_partitions(mechanism, purview, node_labels=None)[source]#
Return all possible partitions of a mechanism and purview.
Partitions can consist of any number of parts.
- Parameters:
- Yields:
JointPartition – A partition of this mechanism and purview into
kparts. Each induced edge cut is yielded exactly once: structurally distinct part assignments that sever the same mechanism-purview edges (for example, the complete cut written as one mechanism part or as several, each over an empty purview) describe the same physical partition and produce the same partitioned repertoire, so only the first-generated form is yielded.- Return type: