diff options
author | Siargey Kachanovich <siargey.kachanovich@inria.fr> | 2019-10-17 21:44:46 +0200 |
---|---|---|
committer | Siargey Kachanovich <siargey.kachanovich@inria.fr> | 2019-10-17 21:44:46 +0200 |
commit | a24dc1591749a849ed5c356d4fafef1eb87727ae (patch) | |
tree | 4fa59c52609a4e218e2125bfb49597a30b5f238c /src/cython/doc/persistence_graphical_tools_user.rst | |
parent | ec9953f0dbe0f69074f25cc95442ea0012db7d98 (diff) | |
parent | a6c844172072f1798bbbe6d5c9b4f3a548cb4c50 (diff) |
Merge remote-tracking branch 'upstream/patch-1' into coxeter-integration
Diffstat (limited to 'src/cython/doc/persistence_graphical_tools_user.rst')
-rw-r--r-- | src/cython/doc/persistence_graphical_tools_user.rst | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/src/cython/doc/persistence_graphical_tools_user.rst b/src/cython/doc/persistence_graphical_tools_user.rst deleted file mode 100644 index b2124fdd..00000000 --- a/src/cython/doc/persistence_graphical_tools_user.rst +++ /dev/null @@ -1,73 +0,0 @@ -:orphan: - -.. To get rid of WARNING: document isn't included in any toctree - -Persistence graphical tools user manual -======================================= -Definition ----------- -.. include:: persistence_graphical_tools_sum.inc - - -Show persistence as a barcode ------------------------------ - -.. note:: - this function requires matplotlib and numpy to be available - -This function can display the persistence result as a barcode: - -.. plot:: - :include-source: - - import gudhi - - off_file = gudhi.__root_source_dir__ + '/data/points/tore3D_300.off' - point_cloud = gudhi.read_off(off_file=off_file) - - rips_complex = gudhi.RipsComplex(points=point_cloud, max_edge_length=0.7) - simplex_tree = rips_complex.create_simplex_tree(max_dimension=3) - diag = simplex_tree.persistence(min_persistence=0.4) - - plot = gudhi.plot_persistence_barcode(diag) - plot.show() - -Show persistence as a diagram ------------------------------ - -.. note:: - this function requires matplotlib and numpy to be available - -This function can display the persistence result as a diagram: - -.. plot:: - :include-source: - - import gudhi - - # rips_on_tore3D_1307.pers obtained from write_persistence_diagram method - persistence_file=gudhi.__root_source_dir__ + \ - '/data/persistence_diagram/rips_on_tore3D_1307.pers' - plt = gudhi.plot_persistence_diagram(persistence_file=persistence_file, - legend=True) - plt.show() - -Persistence density -------------------- - -.. note:: - this function requires matplotlib, numpy and scipy to be available - -If you want more information on a specific dimension, for instance: - -.. plot:: - :include-source: - - import gudhi - - # rips_on_tore3D_1307.pers obtained from write_persistence_diagram method - persistence_file=gudhi.__root_source_dir__ + \ - '/data/persistence_diagram/rips_on_tore3D_1307.pers' - plt = gudhi.plot_persistence_density(persistence_file=persistence_file, - max_intervals=0, dimension=1, legend=True) - plt.show() |