reeb.ReebGraph
reeb.ReebGraph(
self,
geometry,
verbosity=0,
*,
implementation=ReebGraphImplSubSup,
)Compute the Reeb graph of given geometry data.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| geometry | psiclone.data.geometry.Geometry |
A Geometry object | required |
Other Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| verbosity | int, optional (default: 0) | Increment verbosity if log message is needed. | 0 |
| implementation | class | Implementation class that actually computes the Reeb graph; default is psiclone.reeb.subsup.ReebGraphImplSubSup. |
ReebGraphImplSubSup |
Methods
| Name | Description |
|---|---|
| compute | Compute the Reeb graph using the specified threshold value. |
| get_component_map | Retrieve the component map of the computed Reeb graph. |
compute
reeb.ReebGraph.compute(threshold)Compute the Reeb graph using the specified threshold value.
This method updates the threshold value in the implementation and triggers the computation of the Reeb graph based on the geometry data provided during initialization.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| threshold | float | The threshold value to use for computing the Reeb graph | required |
get_component_map
reeb.ReebGraph.get_component_map()Retrieve the component map of the computed Reeb graph.
This method returns a mapping that associates components of the geometry data with their corresponding elements in the Reeb graph structure, as determined by the underlying implementation.
Returns
| Name | Type | Description |
|---|---|---|
| component_map | A data structure mapping components of the geometry to their Reeb graph elements |