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.

Returns

The distance between the two concepts in concept space.

Return type

float

pyphi.compute.distance.ces_distance(C1, C2)

Return the distance between two cause-effect structures.

Parameters
Returns

The distance between the two cause-effect structures in concept space.

Return type

float

pyphi.compute.distance.small_phi_ces_distance(C1, C2)

Return the difference in \(\varphi\) between CauseEffectStructure.