summaryrefslogtreecommitdiff
path: root/src/cython/example/euclidean_witness_complex_diagram_persistence_from_off_file_example.py
diff options
context:
space:
mode:
authorvrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-03-20 15:48:04 +0000
committervrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-03-20 15:48:04 +0000
commit30374ed5154610dc63198742220153aa9387139c (patch)
treeab63bfb8e84f650a617bd548c57911410856ebf3 /src/cython/example/euclidean_witness_complex_diagram_persistence_from_off_file_example.py
parent10411aae9845d28d36a9d4394bd668ed84d540f1 (diff)
Rename barcode_persistence and diagram_persistence functions
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/ST_cythonize@2204 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: f91e283fa6b6b02198ae28a44f41bd761c1c1f48
Diffstat (limited to 'src/cython/example/euclidean_witness_complex_diagram_persistence_from_off_file_example.py')
-rwxr-xr-xsrc/cython/example/euclidean_witness_complex_diagram_persistence_from_off_file_example.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cython/example/euclidean_witness_complex_diagram_persistence_from_off_file_example.py b/src/cython/example/euclidean_witness_complex_diagram_persistence_from_off_file_example.py
index 7f04a98e..1e7d788a 100755
--- a/src/cython/example/euclidean_witness_complex_diagram_persistence_from_off_file_example.py
+++ b/src/cython/example/euclidean_witness_complex_diagram_persistence_from_off_file_example.py
@@ -34,7 +34,7 @@ parser = argparse.ArgumentParser(description='EuclideanWitnessComplex creation f
epilog='Example: '
'example/witness_complex_diagram_persistence_from_off_file_example.py '
'-f ../data/points/tore3D_300.off -a 1.0 -n 20 -d 2'
- '- Constructs a alpha complex with the '
+ '- Constructs a weak witness complex with the '
'points from the given OFF file.')
parser.add_argument("-f", "--file", type=str, required=True)
parser.add_argument("-a", "--max_alpha_square", type=float, required=True)
@@ -70,7 +70,7 @@ with open(args.file, 'r') as f:
print(simplex_tree.betti_numbers())
if args.no_diagram == False:
- gudhi.diagram_persistence(diag)
+ gudhi.plot_diagram_persistence(diag)
else:
print(args.file, "is not a valid OFF file")