pyphi.validate.transition_states#

pyphi.validate.transition_states(substrate, before_state, after_state)[source]#

Raise if the observed state pair is impossible under the dynamics.

Every unit’s after_state must have nonzero probability given the full before_state: the Realization principle of Albantakis et al. (2019) [1], Section 2.2, requires p(v_t | v_{t−1}) > 0 for a transition to be defined.

Parameters:
  • substrate (Substrate) – The substrate whose dynamics define transition probabilities.

  • before_state (tuple[int]) – The state of the substrate at time t−1.

  • after_state (tuple[int]) – The state of the substrate at time t.

Raises:
Return type:

None

References