pyphi.campaign.shards.enumerate_partition_stride#
- pyphi.campaign.shards.enumerate_partition_stride(mechanism, purview, node_labels, i, k)[source]#
Materialize stride
iofkof the partition enumeration.Returns the partitions and their global enumeration indices. Only the stride is materialized; the full enumeration is consumed lazily. The enumeration must use the same
node_labelsthe analysis uses, so partition identities (their string forms) agree across processes.