pyphi.formalism.queries#
Formalism queries — operations whose math depends on the active formalism.
These are free functions taking a System as the first argument.
The kernel (pyphi.core.repertoire_algebra) holds pure repertoire math;
this module holds the operations whose definition is formalism-policy
(each version of IIT defines the MIP, MICE, and SIA differently).
The dispatch path is:
queries.X(cs, ...)
→ FORMALISM_REGISTRY[config.formalism.iit.version].evaluate_X(cs, ...)
→ concrete formalism's algorithm
The kernel never imports this module.
Functions
|
Iterate non-empty mechanisms and return the resulting Distinctions. |
|
|
|
Return the distinction specified by a mechanism. |
|
|
|
Evaluate a mechanism partition's φ. |
|
Return the maximally irreducible cause or effect for a mechanism. |
|
Return the minimum partition for a mechanism over a purview. |
|
|
|
|
|
Return the φ of a mechanism over a purview: the minimum of the cause and effect MIP φ values. |
|
|
|
|
|
|
|
Run system irreducibility analysis via the active formalism. |