pyphi.relations.RelationComputationsRegistry#

class pyphi.relations.RelationComputationsRegistry[source]#

Bases: Registry

Storage for functions for computing relations.

Users can define custom schemes and use them by setting pyphi.config.relation_computation = 'NONE'.

Examples

>>> @relation_computations.register('NONE')
... def no_relations(system, ces):
...    return Relations([])