pyphi.visualize.projection#

Pure projection of IIT result objects into plot-ready data.

This package is the only part of pyphi.visualize that touches result-object internals (Distinction, Relation). It imports no plotting libraries; renderers consume the dataclasses defined here.

Module attributes

DEFAULT_MAX_ANALYTICAL_RELATIONS

Relations rendered when max_relations is None and the relation set is not enumerable (the analytical backend): the strongest this-many by φ_r.

Functions

project_ces(ces[, node_labels, max_relations])

Project a CauseEffectStructure into plot-ready data.

Classes

CESProjection(nodes, edges, ...[, ...])

Everything a renderer needs to draw a cause-effect structure.

DistinctionNode(id, mechanism, label, ...)

Plot-ready data for one distinction.

EndpointNode(id, distinction_id, direction, ...)

Plot-ready data for one side (cause or effect) of a distinction.

InclusionOrder(covers, rank, size)

An inclusion partial order over distinctions.

RelationEdge(relata, degree, phi, overlap)

Plot-ready data for one relation.

RelationFaceEdge(endpoints, degree, phi, overlap)

Plot-ready data for one relation face (any degree).