visualization.get_graph_markers_data

visualization.get_graph_markers_data(psi2tree=None, graph=None, geometry=None)

Get the marker coordinate data of the Reeb graph.

Parameters

Name Type Description Default
psi2tree psiclone.psi2tree.Psi2tree A computed Psi2tree object. None
graph psiclone.data.LeveledGraph A LeveledGraph object (intended to be a Reeb graph). Only used when psi2tree is not an instance of Psi2tree. None
geometry psiclone.data.AbstractGraph A geometry object that is compatible with psiclone.data.Geometry. Only used when psi2tree is not an instance of Psi2tree. None

Returns

Name Type Description
lines numpy.ndarray Array containing geometrical data (x, y, z) of edges. The shape is (len(psi2tree.geometry.edges), 3, 2).
points numpy.ndarray Array containing geometraical data (x, y, z) of nodes. The shape is (len(psi2tree.geometry.nodes), 3).