diff --git a/.doctrees/api/geomstats.geometry.doctree b/.doctrees/api/geomstats.geometry.doctree index a9db8e0bb..58817e3d9 100644 Binary files a/.doctrees/api/geomstats.geometry.doctree and b/.doctrees/api/geomstats.geometry.doctree differ diff --git a/.doctrees/api/geomstats.test.doctree b/.doctrees/api/geomstats.test.doctree index f5f92ffc1..2cd4d881a 100644 Binary files a/.doctrees/api/geomstats.test.doctree and b/.doctrees/api/geomstats.test.doctree differ diff --git a/.doctrees/environment.pickle b/.doctrees/environment.pickle index 3f9230b7e..f30425018 100644 Binary files a/.doctrees/environment.pickle and b/.doctrees/environment.pickle differ diff --git a/.doctrees/notebooks/00_foundations__introduction_to_geomstats.doctree b/.doctrees/notebooks/00_foundations__introduction_to_geomstats.doctree index cb6ad3fe1..569e2114d 100644 Binary files a/.doctrees/notebooks/00_foundations__introduction_to_geomstats.doctree and b/.doctrees/notebooks/00_foundations__introduction_to_geomstats.doctree differ diff --git a/.doctrees/notebooks/01_foundations__manifolds.doctree b/.doctrees/notebooks/01_foundations__manifolds.doctree index 579376762..b73d0a58a 100644 Binary files a/.doctrees/notebooks/01_foundations__manifolds.doctree and b/.doctrees/notebooks/01_foundations__manifolds.doctree differ diff --git a/.doctrees/notebooks/02_foundations__connection_riemannian_metric.doctree b/.doctrees/notebooks/02_foundations__connection_riemannian_metric.doctree index f77eff440..f15670c43 100644 Binary files a/.doctrees/notebooks/02_foundations__connection_riemannian_metric.doctree and b/.doctrees/notebooks/02_foundations__connection_riemannian_metric.doctree differ diff --git a/.doctrees/notebooks/11_real_world_applications__cell_shapes_analysis.doctree b/.doctrees/notebooks/11_real_world_applications__cell_shapes_analysis.doctree index 956d95954..d6cd0ca40 100644 Binary files a/.doctrees/notebooks/11_real_world_applications__cell_shapes_analysis.doctree and b/.doctrees/notebooks/11_real_world_applications__cell_shapes_analysis.doctree differ diff --git a/.doctrees/notebooks/12_real_world_applications__emg_sign_classification_in_spd_manifold.doctree b/.doctrees/notebooks/12_real_world_applications__emg_sign_classification_in_spd_manifold.doctree index 0605dce3e..7cbd843ad 100644 Binary files a/.doctrees/notebooks/12_real_world_applications__emg_sign_classification_in_spd_manifold.doctree and b/.doctrees/notebooks/12_real_world_applications__emg_sign_classification_in_spd_manifold.doctree differ diff --git a/.doctrees/notebooks/13_real_world_applications__graph_embedding_and_clustering_in_hyperbolic_space.doctree b/.doctrees/notebooks/13_real_world_applications__graph_embedding_and_clustering_in_hyperbolic_space.doctree index a679fe534..2443b280e 100644 Binary files a/.doctrees/notebooks/13_real_world_applications__graph_embedding_and_clustering_in_hyperbolic_space.doctree and b/.doctrees/notebooks/13_real_world_applications__graph_embedding_and_clustering_in_hyperbolic_space.doctree differ diff --git a/.doctrees/notebooks/14_real_world_applications__hand_poses_analysis_in_kendall_shape_space.doctree b/.doctrees/notebooks/14_real_world_applications__hand_poses_analysis_in_kendall_shape_space.doctree index 198a605e8..1e2ae1754 100644 Binary files a/.doctrees/notebooks/14_real_world_applications__hand_poses_analysis_in_kendall_shape_space.doctree and b/.doctrees/notebooks/14_real_world_applications__hand_poses_analysis_in_kendall_shape_space.doctree differ diff --git a/.doctrees/notebooks/15_real_world_applications__optic_nerve_heads_analysis_in_kendall_shape_space.doctree b/.doctrees/notebooks/15_real_world_applications__optic_nerve_heads_analysis_in_kendall_shape_space.doctree index b5156e737..fdf332e56 100644 Binary files a/.doctrees/notebooks/15_real_world_applications__optic_nerve_heads_analysis_in_kendall_shape_space.doctree and b/.doctrees/notebooks/15_real_world_applications__optic_nerve_heads_analysis_in_kendall_shape_space.doctree differ diff --git a/.doctrees/notebooks/17_foundations__stratified_spaces.doctree b/.doctrees/notebooks/17_foundations__stratified_spaces.doctree index e288c7e8c..2c6b8fec9 100644 Binary files a/.doctrees/notebooks/17_foundations__stratified_spaces.doctree and b/.doctrees/notebooks/17_foundations__stratified_spaces.doctree differ diff --git a/.doctrees/notebooks/18_real_world_applications__sao_paulo_traffic_optimization.doctree b/.doctrees/notebooks/18_real_world_applications__sao_paulo_traffic_optimization.doctree index 98f54a2a2..6fb31325f 100644 Binary files a/.doctrees/notebooks/18_real_world_applications__sao_paulo_traffic_optimization.doctree and b/.doctrees/notebooks/18_real_world_applications__sao_paulo_traffic_optimization.doctree differ diff --git a/_modules/geomstats/algebra_utils.html b/_modules/geomstats/algebra_utils.html index 80c7951b1..2a975ff15 100644 --- a/_modules/geomstats/algebra_utils.html +++ b/_modules/geomstats/algebra_utils.html @@ -45,7 +45,7 @@ - + diff --git a/_modules/geomstats/datasets/prepare_emg_data.html b/_modules/geomstats/datasets/prepare_emg_data.html index 66917f550..1685dd91b 100644 --- a/_modules/geomstats/datasets/prepare_emg_data.html +++ b/_modules/geomstats/datasets/prepare_emg_data.html @@ -45,7 +45,7 @@ - + diff --git a/_modules/geomstats/datasets/prepare_graph_data.html b/_modules/geomstats/datasets/prepare_graph_data.html index df50ea66b..c76cfbe98 100644 --- a/_modules/geomstats/datasets/prepare_graph_data.html +++ b/_modules/geomstats/datasets/prepare_graph_data.html @@ -45,7 +45,7 @@ - + diff --git a/_modules/geomstats/datasets/utils.html b/_modules/geomstats/datasets/utils.html index f47e532d1..21769006f 100644 --- a/_modules/geomstats/datasets/utils.html +++ b/_modules/geomstats/datasets/utils.html @@ -45,7 +45,7 @@ - + diff --git a/_modules/geomstats/distributions/brownian_motion.html b/_modules/geomstats/distributions/brownian_motion.html index f115ae6cc..bfa6fd313 100644 --- a/_modules/geomstats/distributions/brownian_motion.html +++ b/_modules/geomstats/distributions/brownian_motion.html @@ -45,7 +45,7 @@ - + diff --git a/_modules/geomstats/distributions/lognormal.html b/_modules/geomstats/distributions/lognormal.html index 39bfbbc61..cab4a88f5 100644 --- a/_modules/geomstats/distributions/lognormal.html +++ b/_modules/geomstats/distributions/lognormal.html @@ -45,7 +45,7 @@ - + diff --git a/_modules/geomstats/errors.html b/_modules/geomstats/errors.html index e11570df2..babf5ddac 100644 --- a/_modules/geomstats/errors.html +++ b/_modules/geomstats/errors.html @@ -45,7 +45,7 @@ - + diff --git a/_modules/geomstats/exceptions.html b/_modules/geomstats/exceptions.html index c55c96c64..a79acfb6b 100644 --- a/_modules/geomstats/exceptions.html +++ b/_modules/geomstats/exceptions.html @@ -45,7 +45,7 @@ - + diff --git a/_modules/geomstats/geometry/base.html b/_modules/geomstats/geometry/base.html index 232d77434..0926bfa33 100644 --- a/_modules/geomstats/geometry/base.html +++ b/_modules/geomstats/geometry/base.html @@ -45,7 +45,7 @@ - + diff --git a/_modules/geomstats/geometry/complex_manifold.html b/_modules/geomstats/geometry/complex_manifold.html index b20b50475..7a3be37fd 100644 --- a/_modules/geomstats/geometry/complex_manifold.html +++ b/_modules/geomstats/geometry/complex_manifold.html @@ -45,7 +45,7 @@ - + diff --git a/_modules/geomstats/geometry/complex_matrices.html b/_modules/geomstats/geometry/complex_matrices.html index 8ae18a6a8..1943f36a2 100644 --- a/_modules/geomstats/geometry/complex_matrices.html +++ b/_modules/geomstats/geometry/complex_matrices.html @@ -45,7 +45,7 @@ - + diff --git a/_modules/geomstats/geometry/complex_poincare_disk.html b/_modules/geomstats/geometry/complex_poincare_disk.html index ae2c82dbb..6d14e0d98 100644 --- a/_modules/geomstats/geometry/complex_poincare_disk.html +++ b/_modules/geomstats/geometry/complex_poincare_disk.html @@ -45,7 +45,7 @@ - + diff --git a/_modules/geomstats/geometry/complex_riemannian_metric.html b/_modules/geomstats/geometry/complex_riemannian_metric.html index fd0e0bc1b..49845918f 100644 --- a/_modules/geomstats/geometry/complex_riemannian_metric.html +++ b/_modules/geomstats/geometry/complex_riemannian_metric.html @@ -45,7 +45,7 @@ - + diff --git a/_modules/geomstats/geometry/connection.html b/_modules/geomstats/geometry/connection.html index 8ef921e83..6f8d4e8de 100644 --- a/_modules/geomstats/geometry/connection.html +++ b/_modules/geomstats/geometry/connection.html @@ -45,7 +45,7 @@ - + diff --git a/_modules/geomstats/geometry/diffeo.html b/_modules/geomstats/geometry/diffeo.html index 143372f01..bf101f21c 100644 --- a/_modules/geomstats/geometry/diffeo.html +++ b/_modules/geomstats/geometry/diffeo.html @@ -45,7 +45,7 @@ - + diff --git a/_modules/geomstats/geometry/discrete_curves.html b/_modules/geomstats/geometry/discrete_curves.html index a17dcbdbd..6bb4bb480 100644 --- a/_modules/geomstats/geometry/discrete_curves.html +++ b/_modules/geomstats/geometry/discrete_curves.html @@ -45,7 +45,7 @@ - + diff --git a/_modules/geomstats/geometry/discrete_surfaces.html b/_modules/geomstats/geometry/discrete_surfaces.html index a51faa056..8e1e4f9ef 100644 --- a/_modules/geomstats/geometry/discrete_surfaces.html +++ b/_modules/geomstats/geometry/discrete_surfaces.html @@ -45,7 +45,7 @@ - + @@ -431,6 +431,17 @@
Discrete Surfaces with Elastic metrics.
Lead authors: Emmanuel Hartman, Adele Myers.
+References
+Emmanuel Hartman, Yashil Sukurdeep, Eric Klassen, +Nicolas Charon, and Martin Bauer. +“Elastic shape analysis of surfaces with second-order Sobolev metrics: +a comprehensive numerical framework”. arXiv:2204.04238 [cs.CV], 25 Sep 2022
+Emmanuel Hartman, Emery Pierson, Martin Bauer, +Mohamed Daoudi, and Nicolas Charon. +“Basis Restricted Elastic Shape Analysis on the Space of Unregistered Surfaces.” +arXiv, November 7, 2023. https://doi.org/10.48550/arXiv.2311.04382.
+The area of the triangles is computed using Heron’s formula.
point (array-like, shape=[…, n_vertices, 3]) – Surface, as the 3D coordinates of the vertices of its triangulation.
@@ -3920,6 +3938,22 @@Compute the surface metric matrices directly from the one_forms.
+This function is useful for efficiency purposes.
+one_forms (array-like, shape=[…, n_faces, 2, 3]) – One form evaluated at each face of the triangulated surface.
+metric_mats (array-like, shape=[…, n_faces, 2, 2]) – Surface metric matrices evaluated at each face of +the triangulated surface.
+RiemannianMetric
Elastic metric defined by a family of second order Sobolev metrics.
Each individual discrete surface is represented by a 2D-array of shape -[n_vertices, 3]. See [HSKCB2022] for details.
+[n_vertices, 3]. See [HSKCB2022] and [HPBDC2023] (appendix) for details.The parameters a0, a1, b1, c1, d1, a2 (detailed below) are non-negative weighting coefficients for the different terms in the metric.
“Elastic shape analysis of surfaces with second-order -Sobolev metrics: a comprehensive numerical framework”. -arXiv:2204.04238 [cs.CV], 25 Sep 2022
+Emmanuel Hartman, Yashil Sukurdeep, Eric Klassen, +Nicolas Charon, and Martin Bauer. +“Elastic shape analysis of surfaces with second-order Sobolev metrics: +a comprehensive numerical framework”. arXiv:2204.04238 [cs.CV], 25 Sep 2022
+Emmanuel Hartman, Emery Pierson, Martin Bauer, +Mohamed Daoudi, and Nicolas Charon. +“Basis Restricted Elastic Shape Analysis on the Space of Unregistered Surfaces.” +arXiv, November 7, 2023. https://doi.org/10.48550/arXiv.2311.04382.
The six terms of the inner-product are given by:
+where:
\(G_{a_0} = a_0 <h, k>\)
\(G_{a_2} = a_2 <\Delta_q h, \Delta_q k>\)
with notations taken from [HSKCB2022].
inner_prod (array-like, shape=[…]) – Inner-product.
References
-“Elastic shape analysis of surfaces with second-order -Sobolev metrics: a comprehensive numerical framework”. -arXiv:2204.04238 [cs.CV], 25 Sep 2022.
-Pennec, Xavier. Computing the curvature and its gradient in Kendall shape spaces. Unpublished.
@@ -5012,7 +5045,7 @@Check out [T2023] for more details.
Check out [T2023] for more details.
References
Thanwerdas, Yann. “Permutation-Invariant Log-Euclidean Geometries on Full-Rank Correlation Matrices,” @@ -5136,10 +5169,10 @@
Check out chapter 8 of [T2022] for more details.
+Check out chapter 8 of [T2022] for more details.
References
Yann Thanwerdas. Riemannian and stratified geometries on covariance and correlation matrices. Differential @@ -5222,7 +5255,7 @@
For more details, check section 8.2.2 [T2022].
Yann Thanwerdas. Riemannian and stratified geometries on covariance and correlation matrices. Differential @@ -5256,10 +5289,10 @@
For more details, check section 7.4.1 [T2022].
References
Yann Thanwerdas. Riemannian and stratified geometries on covariance and correlation matrices. Differential @@ -5277,7 +5310,7 @@
Converges in logarithmic time to the solution of the equation, no closed form.
-Check out Theorem 8.10 of [T2022] for more details.
+Check out Theorem 8.10 of [T2022] for more details.
Yann Thanwerdas. Riemannian and stratified geometries on covariance and correlation matrices. Differential @@ -5327,7 +5360,7 @@
This result is known as the existence and uniqueness of the scaling of -SPD matrices ([T2023], [MO1968], [JR2009]).
+SPD matrices ([T2023], [MO1968], [JR2009]).Thanwerdas, Yann. “Permutation-Invariant Log-Euclidean Geometries on Full-Rank Correlation Matrices,” November 2023. https://hal.science/hal-03878729.
Marshall, Albert W., and Ingram Olkin. “Scaling of Matrices to Achieve Specified Row and Column Sums.” Numerische Mathematik 12, no. 1 (August 1, 1968): 83–90. https://doi.org/10.1007/BF02170999.
Johnson, Charles R., and Robert Reams. “Scaling of Symmetric Matrices by Positive Diagonal Congruence.” Linear and Multilinear Algebra 57, no. 2 (March 1, 2009): 123–40. @@ -5917,7 +5950,7 @@
Sample random points from a uniform distribution.
-Following [Chikuse03], \(n\_samples * n * p\) scalars are sampled +
Following [Chikuse03], \(n\_samples * n * p\) scalars are sampled from a standard normal distribution and reshaped to matrices, the projectors on their first \(p\) columns follow a uniform distribution.
@@ -5944,7 +5977,7 @@Sample random points from a uniform distribution.
-Following [Chikuse03], \(n\_samples * n * p\) scalars are sampled +
Following [Chikuse03], \(n\_samples * n * p\) scalars are sampled from a standard normal distribution and reshaped to matrices, the projectors on their first \(p\) columns follow a uniform distribution.
@@ -5959,7 +5992,7 @@Yasuko Chikuse, Statistics on special manifolds, New York: Springer-Verlag. 2003, 10.1007/978-0-387-21540-2
@@ -5974,7 +6007,7 @@Paulin, Frédéric. “Géométrie différentielle élémentaire,” 2007. https://www.imo.universite-paris-saclay.fr/~paulin/notescours/ cours_geodiff.pdf.
@@ -6115,7 +6148,7 @@Compute the Riemannian logarithm of point w.r.t. base_point.
Given \(P, P'\) in \(Gr(n, p)\) the logarithm from \(P\) -to \(P\) is induced by the infinitesimal rotation [Batzies2015]:
+to \(P\) is induced by the infinitesimal rotation [Batzies2015]:The tangent vector \(X\) at \(P\) @@ -6134,7 +6167,7 @@
Batzies, Hüper, Machado, Leite. “Geometric Mean and Geodesic Regression on Grassmannians” Linear Algebra and its Applications, 466, 83-101, 2015.
@@ -6188,7 +6221,7 @@Bendokat, Thomas, Ralf Zimmermann, and P.-A. Absil. “A Grassmann Manifold Handbook: Basic Geometry and Computational @@ -6765,14 +6798,14 @@
Yann Cabanes. Multidimensional complex stationary centered Gaussian autoregressive time series machine learning in Poincaré and Siegel disks: application for audio and radar clutter classification, PhD thesis, 2022
B. Jeuris and R. Vandebril. The Kahler mean of Block-Toeplitz matrices with Toeplitz structured blocks, 2016. @@ -6980,7 +7013,7 @@
RiemannianMetric
Class for bi-invariant metrics on compact Lie groups.
Compact Lie groups and direct products of compact Lie groups with vector -spaces admit bi-invariant metrics [Gallier]. Products Lie groups are not +spaces admit bi-invariant metrics [Gallier]. Products Lie groups are not implemented. Other groups such as SE(3) admit bi-invariant pseudo-metrics.
Gallier, Jean, and Jocelyn Quaintance. Differential Geometry and Lie Groups: A Computational Perspective. @@ -7983,7 +8016,7 @@
Gallier, Jean, and Jocelyn Quaintance. Differential Geometry and Lie Groups: A Computational Perspective. @@ -8056,7 +8089,7 @@
Compute Riemannian exponential of tan. vector wrt to base point.
If \(\gamma\) is a geodesic, then it satisfies the -Euler-Poincare equation [Kolev]:
+Euler-Poincare equation [Kolev]:Kolev, Boris. “Lie Groups and Mechanics: An Introduction.” Journal of Nonlinear Mathematical Physics 11, no. 4, 2004: 480–98. https://doi.org/10.2991/jnmp.2004.11.4.5.
@@ -8498,8 +8531,8 @@Calculate the Baker-Campbell-Hausdorff approximation of given order.
-The implementation is based on [CM2009a] with the pre-computed -constants taken from [CM2009b]. Our coefficients are truncated to +
The implementation is based on [CM2009a] with the pre-computed +constants taken from [CM2009b]. Our coefficients are truncated to enable us to calculate BCH up to order 15.
This represents Z = log(exp(X)exp(Y)) as an infinite linear combination of the form Z = sum z_i e_i where z_i are rational numbers and e_i are @@ -8519,13 +8552,13 @@
Open hemisphere.
-For more details, check section 7.4.1 of [T2022].
+For more details, check section 7.4.1 of [T2022].
Lead author: Olivier Bisson.
References
Yann Thanwerdas. Riemannian and stratified geometries on covariance and correlation matrices. Differential @@ -10651,7 +10684,7 @@