pyphi.analysis.Analysis#
- class pyphi.analysis.Analysis(system, sia, ces)[source]#
Bases:
Displayable,SerializableA single system’s analysis: its SIA, its CES, and their scalar values.
The cause-effect structure embeds the system irreducibility analysis, and
sia,ces, andphiare always populated.Notes
phiandbig_phiare different quantities.phiis φₛ, the system integrated information, which decides whether the system exists as one whole;big_phiis Φ, the structure integrated information, the sum of φ over the Φ-structure’s distinctions and relations. A system can have φₛ = 0 — it is reducible — while its distinctions still sum to a nonzero Φ.For results computed under an earlier version of IIT (see Reproduce results from earlier versions of IIT): under IIT 3.0 the CES has no relations, the system-level quantity
phiis that version’s Φ, andbig_phiis not defined.- Parameters:
system (System)
sia (Any)
ces (CauseEffectStructure)
- property formalism: str#
The version of IIT that produced this analysis:
"IIT_4_0_2026"(the default),"IIT_4_0_2023", or"IIT_3_0". Read from the configuration snapshot the system irreducibility analysis carries.- Type:
- property big_phi: float#
Φ, the structure integrated information — the sum of φ over the Φ-structure’s distinctions and relations.
- Raises:
AttributeError – For a result computed under IIT 3.0, which has no relations and so no structure integrated information. That version’s Φ is
phi.- Type:
- to_pandas()[source]#
A one-row DataFrame that identifies the analysis and gives its values.
The identifiers are
formalism(the version name),subset(the system’s sorted unit indices) andstate(the substrate’s state), as in a sweep’s rows, andcurrent_state(the system’s state), as in the SIA’s own row. The values are φₛ (phi),normalized_phi, Φ (big_phi),n_distinctions,sum_phi_dandsum_phi_r, the same columns as a sweep’s rows forcompute="ces"orcompute=None.- Return type:
DataFrame