pyphi.actual.causal_nexus#

pyphi.actual.causal_nexus(substrate, before_state, after_state, direction=BIDIRECTIONAL)[source]#

Return the causal nexus of the substrate.

Raises:

TransitionUnreachableError – If the observed state pair is impossible under the substrate dynamics.