pyphi.models.ces.PhiFold#
- class pyphi.models.ces.PhiFold(sia, distinctions, relations, config=None, provenance=None, *, parent)[source]#
Bases:
StructureViewA slice of a cause-effect structure: a set of seed distinctions and the relations incident to them.
distinctionsholds the seeds;relationsholds every relation that binds at least one seed;siaandconfigcome from the structure the fold was taken from, available asparent. A fold is not a self-contained cause-effect structure — its relations may reference distinctions outsidedistinctions— so it is not accepted byplot_ces/project_ces; usehighlight_phi_foldto visualize it.- Parameters:
sia (Any)
distinctions (ResolvedDistinctions)
relations (Relations)
config (Any)
provenance (Any)
parent (CauseEffectStructure)
- property sum_phi_relations_contribution#
Σ over incident relations of
φ_r · |r ∩ F| / |r|, whereFis the set of seed distinctions — the seeds’ share of each incident relation’s φ.
- property big_phi_contribution#
the seed distinctions’ full φ plus the seeds’ share of each incident relation’s φ (
φ_r · |r ∩ F| / |r|). Summing this over the folds of any partition of the structure’s distinctions recoversbig_phi.- Type:
The fold’s additive contribution to the structure’s Φ