models.subsystem

Subsystem-level objects.

class pyphi.models.subsystem.CauseEffectStructure(concepts=(), subsystem=None, time=None)

A collection of concepts.

order_by()

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.

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)

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

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.

Type:float
ces

The cause-effect structure of the whole subsystem.

Type:CauseEffectStructure
partitioned_ces

The cause-effect structure when the subsystem is cut.

Type:CauseEffectStructure
subsystem

The subsystem this analysis was calculated for.

Type:Subsystem
cut_subsystem

The subsystem with the minimal cut applied.

Type:Subsystem
time

The number of seconds it took to calculate.

Type:float
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()

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.

__bool__()

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

to_json()

Return a JSON-serializable representation.

classmethod from_json(dct)