pyphi.formalism.base.MeasureNotCompatibleError#
- exception pyphi.formalism.base.MeasureNotCompatibleError[source]#
Raised when a configured measure isn’t compatible with the active formalism.
Each
PhiFormalismdeclarescompatible_measuresas a frozenset of measure names it accepts. Combinations outside that set (e.g., the IIT 4.0 formalism with the EMD distribution measure) compute a different mathematical object than the formalism’sφdefinition; rejecting them early prevents silently misleading results.