pyphi.partition.mechanism_partitions# pyphi.partition.mechanism_partitions(mechanism, purview, node_labels=None)[source]# Return a generator over all mechanism-purview partitions, based on the current configuration.