pyphi.models.actual_causation.Account#

class pyphi.models.actual_causation.Account(causal_links)[source]#

Bases: Displayable, Sequence, ToPandasMixin, Serializable

The set of CausalLink instances with α > 0. This includes both actual causes and actual effects.

property irreducible_causes#

The set of irreducible causes in this Account.

property irreducible_effects#

The set of irreducible effects in this Account.

explain()[source]#

A typed account listing each irreducible causal link with its α.

Return type:

Explanation

diff(other)[source]#

Structured delta from this account to other (a.diff(b)).

Causal links are keyed by direction + mechanism + purview; a link present in both is changed when its α differs. An account carries no ConfigSnapshot, so config_diff is empty.

Return type:

ResultDiff