circle_bundles.S1AngleMetric
- class circle_bundles.S1AngleMetric(name='S1_angle', base_name='S^1', base_name_latex='\\mathbb{S}^1')[source]
Bases:
objectGeodesic distance on the circle \(\mathbb{S}^1\) using angles.
Points are represented by angles (in radians). The distance between two angles is the shorter arc length between them on the circle:
\[d(\theta_1, \theta_2) = \min\left(|\theta_2 - \theta_1|, 2\pi - |\theta_2 - \theta_1|\right).\]This metric is appropriate when the base space is a circle and data are naturally parameterized by angles.
- __init__(name='S1_angle', base_name='S^1', base_name_latex='\\mathbb{S}^1')
Methods
__init__([name, base_name, base_name_latex])pairwise(X[, Y])Compute circular geodesic distances between angle arrays.
Attributes