pyphi.core.repertoire_algebra.cause_repertoire#

pyphi.core.repertoire_algebra.cause_repertoire(cs, mechanism, purview, **kwargs)[source]#

Cause repertoire πc(z | m) of a mechanism over a purview.

The distribution over purview (cause) states specified by the mechanism, obtained by Bayesian inversion of the per-node cause factors under a uniform prior over cause states (Albantakis et al. 2023, Eq. 33).

Returns:

numpy.ndarray – The normalized cause repertoire. An empty purview yields array([1.0]); an empty mechanism yields the maximum-entropy (unconstrained) distribution over the purview.

Parameters:
Return type:

Any