pyphi.estimate.CoverageReport#

class pyphi.estimate.CoverageReport(counts, n_units)[source]#

Bases: Serializable

Which current states the data constrained, and how often.

In the perturbational regime, uncovered states mark where more trials are needed. In the observational regime they are stronger: the dynamics at an unvisited state are unidentified by the data, so any downstream quantity that depends on those TPM rows rests on the prior alone.

Variables:
  • counts (numpy.ndarray[tuple[Any, ...], numpy.dtype[numpy.int64]]) – Number of observed transitions out of each current state, indexed by little-endian state index; shape (2**n_units,).

  • n_units (int) – Number of units in the substrate.

Parameters:
property n_states: int#

Total number of current states.

property uncovered_states: tuple[tuple[int, ...], ...]#

States (as little-endian tuples) with zero observed transitions.

property fraction_covered: float#

Fraction of current states with at least one observation.

property is_complete: bool#

Whether every current state was observed at least once.

to_pandas()[source]#

Long-format DataFrame with one row per state: state, count.

Return type:

DataFrame