geometry.distances package

Submodules

geometry.distances.generic module

geometry.distances.generic.distance_matrix(D)[source]

geometry.distances.spherical module

geometry.distances.spherical.angles_from_directions(S)[source]
geometry.distances.spherical.cosines_from_directions(S)[source]
geometry.distances.spherical.cosines_from_distances(D)[source]
geometry.distances.spherical.directions_from_angles(theta)[source]

Creates directions (elements of S1) from angles.

geometry.distances.spherical.distances_from_angles(theta)[source]
geometry.distances.spherical.distances_from_cosines(C)[source]
geometry.distances.spherical.distances_from_directions(S)[source]

Module contents

Utils for dealing with distance matrices