summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorROUVREAU Vincent <vincent.rouvreau@inria.fr>2020-06-02 22:05:59 +0200
committerROUVREAU Vincent <vincent.rouvreau@inria.fr>2020-06-02 22:05:59 +0200
commit720d6822a9436f46631ec6e07d33d4581849b6e8 (patch)
treecf5aaead310f7732ccee28d449c5186e99d6cbd6
parent08d5ceba364225fb26ad683ef0be9c0c8a52b826 (diff)
Fix sphinx warning and link inside the doc
-rw-r--r--src/python/doc/rips_complex_ref.rst4
-rw-r--r--src/python/doc/rips_complex_user.rst6
2 files changed, 2 insertions, 8 deletions
diff --git a/src/python/doc/rips_complex_ref.rst b/src/python/doc/rips_complex_ref.rst
index 2aa6b268..f0582d5c 100644
--- a/src/python/doc/rips_complex_ref.rst
+++ b/src/python/doc/rips_complex_ref.rst
@@ -13,8 +13,6 @@ Rips complex reference manual
.. automethod:: gudhi.RipsComplex.__init__
-.. _weighted-rips-complex-reference-manual:
-
======================================
Weighted Rips complex reference manual
======================================
@@ -26,8 +24,6 @@ Weighted Rips complex reference manual
.. automethod:: gudhi.weighted_rips_complex.WeightedRipsComplex.__init__
-.. _dtm-rips-complex-reference-manual:
-
=================================
DTM Rips complex reference manual
=================================
diff --git a/src/python/doc/rips_complex_user.rst b/src/python/doc/rips_complex_user.rst
index dd2f2cc0..868ef0e7 100644
--- a/src/python/doc/rips_complex_user.rst
+++ b/src/python/doc/rips_complex_user.rst
@@ -378,7 +378,7 @@ Example from a point cloud combined with DistanceToMeasure
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Combining with DistanceToMeasure, one can compute the DTM-filtration of a point set, as in `this notebook <https://github.com/GUDHI/TDA-tutorial/blob/master/Tuto-GUDHI-DTM-filtrations.ipynb>`_.
-Remark that `DTMRipsComplex <rips_complex_user.html#dtm-rips-complex>`_ class provides exactly this function.
+Remark that `DTM Rips Complex (user manual) <rips_complex_user.html#dtm-rips-complex>`_ class provides exactly this function.
.. testcode::
@@ -400,12 +400,10 @@ The output is:
[(0, (3.1622776601683795, inf)), (0, (3.1622776601683795, 5.39834563766817)), (0, (3.1622776601683795, 5.39834563766817))]
-.. _dtm-rips-complex:
-
DTM Rips Complex
----------------
-`DTMRipsComplex <rips_complex_ref.html#dtm-rips-complex-reference-manual>`_ builds a simplicial complex from a point set or a full distance matrix (in the form of ndarray), as described in the above example.
+`DTMRipsComplex (reference manual) <rips_complex_ref.html#dtm-rips-complex-reference-manual>`_ builds a simplicial complex from a point set or a full distance matrix (in the form of ndarray), as described in the above example.
This class constructs a weighted Rips complex giving larger weights to outliers, which reduces their impact on the persistence diagram. See `this notebook <https://github.com/GUDHI/TDA-tutorial/blob/master/Tuto-GUDHI-DTM-filtrations.ipynb>`_ for some experiments.
.. testcode::