pyphi.campaign.scope#

Declarative feasibility surfaces for scoped cause-effect analyses.

A scope states which mechanisms and purviews a computation considers. Exclusions are explicit and certified — scope changes what is computed; it never silently approximates. Constraint fields are named data (no callables), so scopes serialize, ship to batch jobs, and land in provenance. Partition sweeps cannot be scoped: a partial sweep would turn φ into an upper bound.

Functions

resolve_scope(scope, node_labels)

Return the scope with every unit reference normalized to indices.

Classes

AxisScope([explicit, min_order, max_order, ...])

A constraint on one axis of unit sets (mechanisms or purviews).

CESScope([mechanisms, cause_purviews, ...])

The feasibility surface of a cause-effect structure computation.