3.4. Example Mapper Graphs

This module contains example graphs and data to use for Reeb graph computations. Pictures of these can be seen in this notebook

cereeberus.data.ex_mappergraphs.line(a=0, b=3, seed=None)[source]

Returns the Mapper graph of a simple line as a MapperGraph class. The endpoints have function value a and b respectively.

Parameters:
  • a (int) – The function values for the two vertices in increasing order.

  • b (int) – The function values for the two vertices in increasing order.

  • seed (int) – Optional. The seed to use for the random number generator, which only controls the layout function.

Returns:

The Mapper graph of the line.

Return type:

MapperGraph

../../_images/line_mapper.png
cereeberus.data.ex_mappergraphs.torus(a=0, b=1, c=4, d=5, delta=0.1, seed=None)[source]

Returns the Mapper graph of a simple upright torus as a MapperGraph class.

Parameters:
  • a (int) – The integer function values for the four vertices in increasing order.

  • b (int) – The integer function values for the four vertices in increasing order.

  • c (int) – The integer function values for the four vertices in increasing order.

  • d (int) – The integer function values for the four vertices in increasing order.

  • delta (float) – Optional. The delta value to use for the Mapper graph.

  • seed (int) – Optional. The seed to use for the random number generator, which only controls the layout function.

Returns:

The mapper graph of the torus.

Return type:

Mapper

../../_images/torus_mapper.png
cereeberus.data.ex_mappergraphs.dancing_man(delta=0.1, seed=None)[source]

Returns the Mapper graph of the dancing man as a MapperGraph class.

Parameters:

seed (int) – Optional. The seed to use for the random number generator, which only controls the layout function.

Returns:

The mapper graph of the dancing man.

Return type:

MapperGraph

../../_images/dancing_man_mapper.png
cereeberus.data.ex_mappergraphs.juggling_man(delta=0.1, seed=None)[source]

Returns a modified mapper graph of the juggling man as a MapperGraph class. Some vertex locations were moved to make them integers.

Parameters:

seed (int) – Optional. The seed to use for the random number generator, which only controls the layout function.

Returns:

The mapper graph of the juggling man.

Return type:

MapperGraph

../../_images/juggling_man_mapper.png
cereeberus.data.ex_mappergraphs.simple_loops(delta=0.1, seed=None)[source]

Returns the mapper graph of the simple loops example.

Parameters:

seed (int) – Optional. The seed to use for the random number generator, which only controls the layout function.

Returns:

The mapper graph of the simple loops example.

Return type:

MapperGraph

../../_images/simple_loops_mapper.png
cereeberus.data.ex_mappergraphs.simple_loops_unordered(seed=None)[source]

Returns the mapper graph of the unordered simple loops example.

Parameters:

seed (int) – Optional. The seed to use for the random number generator, which only controls the layout function.

Returns:

The mapper graph of the simple loops example.

Return type:

MapperGraph

cereeberus.data.ex_mappergraphs.interleave_example_A(seed=None)[source]

Returns the mapper graph of the first example for the interleave function.

Parameters:

seed (int) – Optional. The seed to use for the random number generator, which only controls the layout function.

Returns:

The mapper graph of the first example for the interleave function.

Return type:

MapperGraph

../../_images/interleave_example_A_mapper.png
cereeberus.data.ex_mappergraphs.interleave_example_B(seed=None)[source]

Returns the mapper graph of the second example for the interleave function.

Parameters:

seed (int) – Optional. The seed to use for the random number generator, which only controls the layout function.

Returns:

The mapper graph of the second example for the interleave function.

Return type:

MapperGraph

../../_images/interleave_example_B_mapper.png