pyphi.models.actual_causation.CausalLink#
- class pyphi.models.actual_causation.CausalLink(ria, extended_purview=None, *, purview_ties=None)[source]#
Bases:
Displayable,Orderable,ToPandasMixinA maximally irreducible actual cause or effect.
These can be compared with the built-in Python comparison operators (
<,>, etc.), using the same ordering key as the underlyingAcRepertoireIrreducibilityAnalysis: α is compared first, ties are broken toward the larger mechanism, and remaining ties toward the smaller purview.- Parameters:
purview_ties (Sequence[AcRepertoireIrreducibilityAnalysis] | None)
- property alpha#
The difference between the mechanism’s unpartitioned and partitioned actual probabilities.
- Type:
- property phi#
Alias for α for PyPhi utility functions.
- property extended_purview#
List of purviews over which this causal link is maximally irreducible.
Note: It will contain multiple purviews iff causal link has undetermined actual causes/effects (e.g. two irreducible causes with same alpha over different purviews).
- property purview_ties: tuple[AcRepertoireIrreducibilityAnalysis, ...] | None#
Tuple of tied
AcRepertoireIrreducibilityAnalysisinstances under symmetric over-determination — minimal candidates sharing alpha_max with non-comparable purviews (Albantakis et al. 2019, Definition 1 outcome 2).Nonewhen the actual cause is unique.
- property ria#
The irreducibility analysis for this mechanism.
- explain()[source]#
A typed account of why this causal link’s α came out as it did, delegated to the underlying AcRIA.
- Return type: