pyphi.conf.formalism.FormalismConfig#
- class pyphi.conf.formalism.FormalismConfig(iit=<factory>, actual_causation=<factory>)[source]#
Bases:
objectFormalism-scoped configuration.
Thin holder of
IITConfigandActualCausationConfig. Both travel with eachPhiFormalisminstance and are snapshotted onto every result object.- Parameters:
iit (IITConfig)
actual_causation (ActualCausationConfig)
- as_kwargs()[source]#
Return a flat dict of leaf-field name to value for
override(**...).Field names that collide between the IIT and AC sub-namespaces (e.g.
version,mechanism_partition_scheme) are excluded — flat overrides on those names are ambiguous. To round-trip a colliding-name change, set the sub-namespace wholesale viareplace(formalism, iit=...)orconfig.iit = ....