pyphi.partition.bipartition_indices#
- pyphi.partition.bipartition_indices(N)[source]#
Return indices for undirected bipartitions of a sequence.
- Parameters:
N (int) – The length of the sequence.
- Returns:
list – A list of tuples containing the indices for each of the two parts.
- Return type:
Examples
>>> N = 3 >>> bipartition_indices(N) [((), (0, 1, 2)), ((0,), (1, 2)), ((1,), (0, 2)), ((0, 1), (2,))]