pyphi.models.sia.IIT3SystemIrreducibilityAnalysis#

class pyphi.models.sia.IIT3SystemIrreducibilityAnalysis(phi=None, distinctions=None, partitioned_distinctions=None, partition=None, node_indices=None, node_labels=None, current_state=None, config=None, provenance=None, reasons=None, runner_up=None)[source]#

Bases: HasProvenance, Displayable, OrderableByPhi, ToPandasMixin, Serializable

An analysis of system irreducibility (Φ).

Contains the Φ value of the System and the intermediate results obtained in the course of computing it.

These can be compared with the built-in Python comparison operators (<, >, etc.). Ordering is by order_by(): raw Φ values are compared first, then the minimum-information partition’s lexicographic key. Precision-tolerant clustering is applied at decision sites by pyphi.resolve_ties, not by these operators.

Variables:
  • phi (float) – The Φ value for the system, i.e. the distance between the unpartitioned and partitioned cause-effect structures under the minimum-information partition.

  • distinctions (Distinctions) – The cause-effect structure of the unpartitioned system, computed in the course of the Φ analysis. None when the analysis short-circuited to zero Φ before the cause-effect structure was computed (e.g. the system is not strongly connected); retrieve it via pyphi.formalism.iit3.ces() in that case.

  • partitioned_distinctions (Distinctions) – The cause-effect structure when the system is partitioned according to the MIP.

  • partition (DirectedBipartition) – The minimum-information partition.

  • node_indices (tuple[int, ...]) – Indices of the nodes the analysis was computed over.

  • node_labels (NodeLabels) – Labels corresponding to node_indices.

  • current_state (tuple[int, ...]) – The state of the system’s units at the time of analysis, one entry per unit in node_indices (not the state of the whole substrate).

Parameters:
explain()[source]#

A typed account of why this Φ value came out as it did.

Return type:

Explanation

diff(other)[source]#

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

Return type:

ResultDiff

print()[source]#

Print this SystemIrreducibilityAnalysis.

order_by()[source]#

Sort key: (phi, partition.lex_key()).

Return type:

tuple[Any, bytes]

property ties: list[Any]#

The full tied set this SIA belongs to (winner first, peers after).

For an SIA without ties, returns a single-element list containing self. Populated by set_ties after partition evaluation; preserved across JSON round-trips via _tie_peers.