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.constellation_distance(C1, C2)

Return the distance between two constellations in concept space.

Parameters:
Returns:

The distance between the two constellations in concept space.

Return type:

float

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

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