blob: 56d6c50faf67de7a61f71fc096f1a0679f8da473 (
plain)
1
2
3
4
5
6
7
|
import gudhi
rips_complex = gudhi.RipsComplex(off_file='tore3D_1307.off', max_edge_length=0.2)
simplex_tree = rips_complex.create_simplex_tree(max_dimension=3)
diag = simplex_tree.persistence()
pplot = gudhi.plot_persistence_diagram(diag, band_boot=0.13)
pplot.show()
|