pyphi.distribution.uniform_distribution#

pyphi.distribution.uniform_distribution(number_of_nodes)[source]#

Return the uniform distribution over a set of binary nodes.

The distribution is indexed by state, with one dimension per node of size 2 (the number of states of a binary node).

Parameters:

number_of_nodes (int) – The number of binary nodes.

Returns:

np.ndarray – The uniform distribution over the 2 ** number_of_nodes states, shaped with one length-2 dimension per node.

Return type:

Repertoire