# compute.distance¶

Functions for computing distances between various PyPhi objects.

pyphi.compute.distance.concept_distance(c1, c2)

Return the distance between two concepts in concept space.

Parameters: c1 (Concept) – The first concept. c2 (Concept) – The second concept. The distance between the two concepts in concept space. float
pyphi.compute.distance.ces_distance(C1, C2)

Return the distance between two cause-effect structures.

Parameters: C1 (CauseEffectStructure) – The first CauseEffectStructure. C2 (CauseEffectStructure) – The second CauseEffectStructure. The distance between the two cause-effect structures in concept space. float
pyphi.compute.distance.small_phi_ces_distance(C1, C2)

Return the difference in $$\varphi$$ between CauseEffectStructure.