pyphi.distribution.max_entropy_distribution#
- pyphi.distribution.max_entropy_distribution(all_node_indices, purview, alphabet_sizes=None)[source]#
Return the maximum entropy distribution over a purview.
This differs from the substrate’s uniform distribution in that nodes outside
purvieware held fixed and treated as if they have only one state (a collapsed dimension).- Parameters:
- Returns:
np.ndarray – The maximum entropy distribution, uniform over the states of the purview nodes. The array is cached and read-only.
- Return type:
Repertoire