pyphi.partition.directed_tripartition_indices#

pyphi.partition.directed_tripartition_indices(N)[source]#

Return indices for directed tripartitions of a sequence.

Parameters:

N (int) – The length of the sequence.

Returns:

list[tuple] – A list of tuples containing the indices for each partition.

Return type:

list[tuple[tuple[int, …], tuple[int, …], tuple[int, …]]]

Examples

>>> N = 1
>>> directed_tripartition_indices(N)
[((0,), (), ()), ((), (0,), ()), ((), (), (0,))]