# compute.distance¶

pyphi.compute.distance.measure(d1, d2)

Compute the distance between two repertoires.

Parameters: direction (Direction) – PAST or FUTURE. d1 (np.ndarray) – The first repertoire. d2 (np.ndarray) – The second repertoire. float – The distance between d1 and d2.
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. float – The distance between the two concepts in concept-space.
pyphi.compute.distance.constellation_distance(C1, C2)

Return the distance between two constellations in concept-space.

Parameters: C1 (Constellation) – The first constellation. C2 (Constellation) – The second constellation. float – The distance between the two constellations in concept-space.