pyphi.relations#

Implements the formalism for computing relations.

Functions

all_relations(distinctions[, min_degree, ...])

Yield causal relations among a set of distinctions.

analytical_relations(distinctions, **kwargs)

concrete_relations(distinctions, **kwargs)

maximal_faces(distinctions[, atoms])

Return the relation faces maximal under set inclusion of their relata (causes/effects), across all relations.

maximal_relations(distinctions[, atoms])

Return the relations maximal under set inclusion of their relata.

relation(distinctions)

relations(distinctions[, relation_computation])

Return causal relations among a set of distinctions.

relations_table(relations)

Capped display table of relations (relata, φ_r, degree).

Classes

AnalyticalFoldRelations(parent_distinctions, ...)

Closed-form sums over the relations incident to a set of seed distinctions within a parent structure.

AnalyticalRelations(distinctions)

A closed-form summary of the relations among a set of distinctions.

ConcreteRelations(*args, **kwargs)

NullRelations(*args, **kwargs)

An empty set of relations, for a cause-effect structure computed under a version of IIT that does not define relations (IIT 3.0).

Relation([iterable])

A set of relation faces forming the relation among a set of distinctions.

RelationComputationsRegistry()

Storage for functions for computing relations.

RelationFace(*args[, phi])

A set of (potentially) related causes/effects.

RelationSample(relations, normalization, ...)

An i.i.d., coverage-weighted sample of non-self relations.

Relations(*args, **kwargs)

A set of relations among distinctions.