pyphi.measures.ces.ces_distance#
- pyphi.measures.ces.ces_distance(C1, C2, measure=None, *, system=None)[source]#
Return the distance between two cause-effect structures.
Dispatches to the registered CES measure named by
measureand rounds the result toconfig.numerics.precision.- Parameters:
C1 (Distinctions) – The first
Distinctions.C2 (Distinctions) – The second
Distinctions.measure (str, optional) – Which registered CES measure to use. If
None, defaults toconfig.formalism.iit.ces_measure.system (System, optional) – The system the CESs were computed over. Required by measures that operate on full repertoires (e.g.
EMD); ignored by purely phi-summing measures (e.g.SUM_SMALL_PHI).
- Returns:
float – The distance between the two cause-effect structures.
- Return type: