summaryrefslogtreecommitdiff
path: root/src/cython/example/rips_complex_diagram_persistence_from_distance_matrix_file_example.py
diff options
context:
space:
mode:
authorvrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2018-04-27 13:00:38 +0000
committervrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2018-04-27 13:00:38 +0000
commit7ac3c086c6c794ac8c493a2c3abbd59624e81c06 (patch)
tree7558e53186a59c80c2f8631e7ed1e53003157d1f /src/cython/example/rips_complex_diagram_persistence_from_distance_matrix_file_example.py
parent62861adfd2de672d3d90e2fbade499fe76e5bca7 (diff)
Code and doc review with IFPEN :
plot_*: c'est quoi ce paramètre alpha ? band_boot: Renommer en 'band', sans référence au bootstrap. Ne pas l'utiliser dans la majorité des exemples / tutos. max_plots: mettre une valeur par défaut, pour éviter qu'on se retrouve trop facilement coincé à attendre 1h qu'il affiche des points. Éventuellement afficher un message indiquant que certains points n'ont pas été affichés et comment changer ça. barcode: trier les barres par date de naissance (le faire tout le temps ou avoir une option et le faire par défaut). git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/python_2.1.0_fix_vincent@3404 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: cfa775e425fbf12da1758d601ccbd80a2c7d3bc9
Diffstat (limited to 'src/cython/example/rips_complex_diagram_persistence_from_distance_matrix_file_example.py')
-rwxr-xr-xsrc/cython/example/rips_complex_diagram_persistence_from_distance_matrix_file_example.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cython/example/rips_complex_diagram_persistence_from_distance_matrix_file_example.py b/src/cython/example/rips_complex_diagram_persistence_from_distance_matrix_file_example.py
index c8aac240..266c09ca 100755
--- a/src/cython/example/rips_complex_diagram_persistence_from_distance_matrix_file_example.py
+++ b/src/cython/example/rips_complex_diagram_persistence_from_distance_matrix_file_example.py
@@ -39,7 +39,7 @@ parser = argparse.ArgumentParser(description='RipsComplex creation from '
parser.add_argument("-f", "--file", type=str, required=True)
parser.add_argument("-e", "--max_edge_length", type=float, default=0.5)
parser.add_argument("-d", "--max_dimension", type=int, default=1)
-parser.add_argument("-b", "--band_boot", type=float, default=0.)
+parser.add_argument("-b", "--band", type=float, default=0.)
parser.add_argument('--no-diagram', default=False, action='store_true' , help='Flag for not to display the diagrams')
args = parser.parse_args()
@@ -63,5 +63,5 @@ print("betti_numbers()=")
print(simplex_tree.betti_numbers())
if args.no_diagram == False:
- pplot = gudhi.plot_persistence_diagram(diag, band_boot=args.band_boot)
+ pplot = gudhi.plot_persistence_diagram(diag, band=args.band)
pplot.show()