pyphi.models.actual_causation.AcSystemIrreducibilityAnalysis#

class pyphi.models.actual_causation.AcSystemIrreducibilityAnalysis(alpha=None, direction=None, account=None, partitioned_account=None, partition=None, before_state=None, after_state=None, size=None, node_indices=None, cause_indices=None, effect_indices=None, node_labels=None, config=None, provenance=None, reasons=None)[source]#

Bases: HasProvenance, Displayable, Orderable, ToPandasMixin, Serializable

An analysis of transition-level irreducibility (𝒜).

Contains the 𝒜 value of the Transition, the causal account, and all the intermediate results obtained in the course of computing them.

Variables:
  • alpha (float) – 𝒜, the transition-level integrated cause-effect information: the distance between the unpartitioned account and this analysis’s partitioned account.

  • direction (Direction) – The causal direction the account is taken over.

  • account (Account) – The account of the whole transition.

  • partitioned_account (Account) – The account of the partitioned transition.

  • partition (DirectedJointPartition) – The minimal partition.

  • before_state (tuple[int, ...]) – The state of the substrate at time t-1.

  • after_state (tuple[int, ...]) – The state of the substrate at time t.

  • size (int) – Number of nodes in the transition.

  • node_indices (tuple[int, ...]) – Indices of nodes in the transition.

  • node_labels (NodeLabels) – Labels corresponding to node_indices.

Parameters:
property ties: tuple[AcSystemIrreducibilityAnalysis, ...]#

System analyses tied with this one at the winning 𝒜, including this one. A singleton when the minimum is unique. Records only candidates equal up to config.numerics.precision — the interchangeable final answers, separated at most by the canonical partition ordering, never by a theoretical quantity.

set_ties(ties)[source]#

Attach the tied analysis set, shared by reference among peers.

Parameters:

ties (Sequence[AcSystemIrreducibilityAnalysis])

Return type:

None

explain()[source]#

A typed account of why this transition’s 𝒜 came out as it did. A runner-up / α-gap is not retained for actual causation.

Return type:

Explanation

diff(other)[source]#

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

Return type:

ResultDiff

is_orderable_with(other)[source]#

Whether self and other are mutually orderable.

Default: any two instances are orderable. Override in subclasses that need cross-instance guards.

Parameters:

other (object)

Return type:

bool

order_by()[source]#

Return a list of values to compare for ordering.

The first value in the list has the greatest priority; if the first objects are equal the second object is compared, etc.