models.subsystem

Subsystem-level objects.

class pyphi.models.subsystem.CauseEffectStructure

A collection of concepts.

Normalize the order of concepts in the CauseEffectStructure.

static __new__(concepts=(), subsystem=None)

Normalize the order of concepts in the CauseEffectStructure.

to_json()
mechanisms

The mechanism of each concept.

phis

The \(\varphi\) values of each concept.

labeled_mechanisms

The labeled mechanism of each concept.

class pyphi.models.subsystem.SystemIrreducibilityAnalysis(phi=None, ces=None, partitioned_ces=None, subsystem=None, cut_subsystem=None, time=None, small_phi_time=None)

An analysis of system irreducibility (\(\Phi\)).

Contains the \(\Phi\) value of the Subsystem, the cause-effect structure, and all the intermediate results obtained in the course of computing them.

These can be compared with the built-in Python comparison operators (<, >, etc.). First, \(\Phi\) values are compared. Then, if these are equal up to PRECISION, the one with the larger subsystem is greater.

phi

float – The \(\Phi\) value for the subsystem when taken against this analysis, i.e. the difference between the cause-effect structure and the partitioned cause-effect structure for this analysis.

ces

CauseEffectStructure – The cause-effect structure of the whole subsystem.

partitioned_ces

CauseEffectStructure – The cause-effect structure when the subsystem is cut.

subsystem

Subsystem – The subsystem this analysis was calculated for.

cut_subsystem

Subsystem – The subsystem with the minimal cut applied.

time

float – The number of seconds it took to calculate.

print(ces=True)

Print this SystemIrreducibilityAnalysis, optionally without cause-effect structures.

small_phi_time

The number of seconds it took to calculate the CES.

cut

The unidirectional cut that makes the least difference to the subsystem.

network

The network the subsystem belongs to.

unorderable_unless_eq = ['network']
order_by()
__bool__()

A SystemIrreducibilityAnalysis is True if it has \(\Phi > 0\).

to_json()

Return a JSON-serializable representation.