pyphi.models.pandas.distribution_rows#

pyphi.models.pandas.distribution_rows(direction, kind, purview, repertoire, node_labels=None)[source]#

Tidy {direction, kind, purview, state, probability} rows for one repertoire.

States are enumerated from the repertoire’s per-purview-unit cardinality (k-ary aware). purview renders as labels when node_labels is given, else as integer indices. Returns [] for a None repertoire.

Return type:

list[dict[str, Any]]