pyphi.formalism.base.PhiFormalism#
- class pyphi.formalism.base.PhiFormalism(*args, **kwargs)[source]#
Bases:
ProtocolThe minimum shape every formalism satisfies.
Concrete formalisms also declare:
name: stable string identifier used inconfig.formalism.iit.versionand registered inFORMALISM_REGISTRY.compatible_measures: frozenset of measure names that this formalism accepts.uses_system_phi_measure: whether the formalism readsconfig.formalism.iit.system_phi_measure(IIT 3.0 derives system phi from the cause-effect-structure distance and never reads it).partition_scheme: name (string) of the partition scheme registered inpyphi.partition.partition_typesto use by default. May beNonefor approximation methods that bypass partitions.compatible_system_partition_schemes: frozenset of system partition scheme names this formalism accepts, orNoneif it accepts any registered scheme.compatible_mechanism_partition_schemes: frozenset of mechanism partition scheme names this formalism accepts, orNoneif it accepts any registered scheme.compatible_sia_tie_strategies: frozenset of SIA tie-resolution strategy names this formalism’s SIA result type supports, orNoneif it supports every registered strategy.compatible_specification_measures: frozenset of measure names this formalism accepts forconfig.formalism.iit.specification_measure, orNonefor formalisms without a specified-state phase (IIT 3.0 never consults the field).compatible_background_conditioning: frozenset of cause-side background-conditioning conventions this formalism defines, orNoneif it accepts any registered convention.applies_intrinsic_information_requirement: whether the formalism is defined by the intrinsic-information requirement (Eq. 23 of Mayner et al. 2026) and therefore requires a system measure whose attribute of the same name is True.
Signatures are permissive (
Any) over the measure and partition arguments.