summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorvrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2018-10-02 08:13:28 +0000
committervrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2018-10-02 08:13:28 +0000
commitb4c51b3d92564e2e93e8fa4fe55f98cd06bba57a (patch)
treecee028bd4f2c50778bacbc1b94e4eeafdab50103 /src
parent5469c3637df2efd1a70a165484b992727782d15c (diff)
Code review : remove executable property
Doc review : Rephrase inf_delta explanation git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/plot_persistence_density_vincent@3919 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: b45697b675a20cdca7bb42fa7a555df6c35fe0fd
Diffstat (limited to 'src')
-rw-r--r--[-rwxr-xr-x]src/cython/cython/persistence_graphical_tools.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/cython/cython/persistence_graphical_tools.py b/src/cython/cython/persistence_graphical_tools.py
index abc205bb..e63b350b 100755..100644
--- a/src/cython/cython/persistence_graphical_tools.py
+++ b/src/cython/cython/persistence_graphical_tools.py
@@ -61,7 +61,7 @@ def plot_persistence_barcode(persistence=[], persistence_file='', alpha=0.6,
"""This function plots the persistence bar code from persistence values list
or from a :doc:`persistence file <fileformats>`.
- :param persistence: Persistence values list.
+ :param persistence: Persistence intervals values list grouped by dimension.
:type persistence: list of tuples(dimension, tuple(birth, death)).
:param persistence_file: A :doc:`persistence file <fileformats>` style name
(reset persistence if both are set).
@@ -73,9 +73,9 @@ def plot_persistence_barcode(persistence=[], persistence_file='', alpha=0.6,
Selected intervals are those with the longest life time. Set it
to 0 to see all. Default value is 1000.
:type max_intervals: int.
- :param inf_delta: Infinity is placed at ((max_death - min_birth) x
- inf_delta) above the highest point. A reasonable value is between
- 0.05 and 0.5 - default is 0.1.
+ :param inf_delta: Infinity is placed at :code:`((max_death - min_birth) x
+ inf_delta)` above :code:`max_death` value. A reasonable value is
+ between 0.05 and 0.5 - default is 0.1.
:type inf_delta: float.
:param legend: Display the dimension color legend (default is False).
:type legend: boolean.
@@ -151,7 +151,7 @@ def plot_persistence_diagram(persistence=[], persistence_file='', alpha=0.6,
"""This function plots the persistence diagram from persistence values
list or from a :doc:`persistence file <fileformats>`.
- :param persistence: Persistence values list.
+ :param persistence: Persistence intervals values list grouped by dimension.
:type persistence: list of tuples(dimension, tuple(birth, death)).
:param persistence_file: A :doc:`persistence file <fileformats>` style name
(reset persistence if both are set).
@@ -165,9 +165,9 @@ def plot_persistence_diagram(persistence=[], persistence_file='', alpha=0.6,
Selected intervals are those with the longest life time. Set it
to 0 to see all. Default value is 1000.
:type max_intervals: int.
- :param inf_delta: Infinity is placed at ((max_death - min_birth) x
- inf_delta) above the highest point. A reasonable value is between
- 0.05 and 0.5 - default is 0.1.
+ :param inf_delta: Infinity is placed at :code:`((max_death - min_birth) x
+ inf_delta)` above :code:`max_death` value. A reasonable value is
+ between 0.05 and 0.5 - default is 0.1.
:type inf_delta: float.
:param legend: Display the dimension color legend (default is False).
:type legend: boolean.
@@ -251,7 +251,7 @@ def plot_persistence_density(persistence=[], persistence_file='',
aware that this function does not distinguish the dimension, it is
up to you to select the required one.
- :param persistence: Persistence values list.
+ :param persistence: Persistence intervals values list grouped by dimension.
:type persistence: list of tuples(dimension, tuple(birth, death)).
:param persistence_file: A :doc:`persistence file <fileformats>`
style name (reset persistence if both are set).