Persistence graphical tools reference manual

gudhi.__min_birth_max_death()

This function returns (min_birth, max_death) from the persistence.

Parameters:persistence (list of tuples(dimension, tuple(birth, death)).) – The persistence to plot.
Returns:(float, float) – (min_birth, max_death).
gudhi.show_palette_values()

This function shows palette color values in function of the dimension.

Parameters:alpha (float.) – alpha value in [0.0, 1.0] for horizontal bars (default is 0.6).
Returns:plot – An horizontal bar plot of dimensions color.
gudhi.plot_persistence_barcode()

This function plots the persistence bar code.

Parameters:
  • persistence (list of tuples(dimension, tuple(birth, death)).) – The persistence to plot.
  • alpha (float.) – alpha value in [0.0, 1.0] for horizontal bars (default is 0.6).
Returns:

plot – An horizontal bar plot of persistence.

gudhi.plot_persistence_diagram()

This function plots the persistence diagram.

Parameters:
  • persistence (list of tuples(dimension, tuple(birth, death)).) – The persistence to plot.
  • alpha (float.) – alpha value in [0.0, 1.0] for points and horizontal infinity line (default is 0.6).
Returns:

plot – An diagram plot of persistence.