pyphi.core.repertoire_algebra.effect_repertoire#

pyphi.core.repertoire_algebra.effect_repertoire(cs, mechanism, purview, mechanism_state=None, direction=EFFECT)[source]#

Effect repertoire πe(z | m) of a mechanism over a purview.

The distribution over purview (effect) states specified by the mechanism, formed as the product of the per-node effect factors conditioned on the mechanism state (Albantakis et al. 2023, Eq. 29). An empty purview yields array([1.0]). When mechanism_state is None it is read from cs.state; direction selects which per-node marginal (effect or cause) supplies the factors.

Parameters:
Return type:

Any