pyphi.models.state_specification.UnitState#

class pyphi.models.state_specification.UnitState(index, state, label=None)[source]#

Bases: Displayable, ToPandasMixin

A node together with its current state value.

Distinct from pyphi.core.unit.Unit, which is the substrate-level identity of a node (index, label); a UnitState adds the per-step state value, used by StateSpecification and related formatting code.

Parameters: