diff options
author | Marc Glisse <marc.glisse@inria.fr> | 2020-01-20 16:59:13 +0100 |
---|---|---|
committer | Marc Glisse <marc.glisse@inria.fr> | 2020-01-20 16:59:13 +0100 |
commit | 463043e08e9c8938af96d7220a6d5bb77fc064d8 (patch) | |
tree | 2b150676eeb8cfa2a0dc3f2a7a1344c1501f87b0 /src/python/doc/rips_complex_user.rst | |
parent | a7f3167ffb465bd6d1e3b9e40bc6f1c35daf87fc (diff) | |
parent | 653b8ff129a9676d1bc69ee5231cf12f9aadd7e9 (diff) |
Merge remote-tracking branch 'origin/master' into ext
Diffstat (limited to 'src/python/doc/rips_complex_user.rst')
-rw-r--r-- | src/python/doc/rips_complex_user.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/python/doc/rips_complex_user.rst b/src/python/doc/rips_complex_user.rst index a8659542..a27573e8 100644 --- a/src/python/doc/rips_complex_user.rst +++ b/src/python/doc/rips_complex_user.rst @@ -136,7 +136,8 @@ Finally, it is asked to display information about the Rips complex. .. testcode:: import gudhi - point_cloud = gudhi.read_off(off_file=gudhi.__root_source_dir__ + '/data/points/alphacomplexdoc.off') + off_file = gudhi.__root_source_dir__ + '/data/points/alphacomplexdoc.off' + point_cloud = gudhi.read_points_from_off_file(off_file = off_file) rips_complex = gudhi.RipsComplex(points=point_cloud, max_edge_length=12.0) simplex_tree = rips_complex.create_simplex_tree(max_dimension=1) result_str = 'Rips complex is of dimension ' + repr(simplex_tree.dimension()) + ' - ' + \ |