pyphi.matching.triggering.TriggeringCoefficient#
- class pyphi.matching.triggering.TriggeringCoefficient(value, connectedness, p, q)[source]#
Bases:
objectThe extent to which a stimulus caused a mechanism’s state (Eq. 7).
- Variables:
value (float) – The triggering coefficient t(x, m) ∈ [0, 1], the connectedness normalized by the mechanism state’s self-information (Eq. 7). It is 1 when the stimulus determines the mechanism state and 0 when the stimulus had no role in bringing it about.
connectedness (float) – The connectedness c(x, m), the positive pointwise mutual information of the mechanism state given the stimulus (Eq. 5): log₂(p / q) when the stimulus raised the probability of the state, else 0.
p (float) – Pr(M = m | ∂S = x), the conditional probability of the mechanism state given the stimulus.
q (float) – Pr(M = m), the marginal probability of the mechanism state under a uniform prior over stimuli.
- Parameters: