dendrite_tree_3d#
- class braintools.visualize.dendrite_tree_3d(segments, diameters=None, colors=None, alpha=0.8, ax=None, figsize=(12, 10), title=None, **kwargs)#
Visualize dendritic tree structure in 3D.
- Parameters:
segments (
List[Tuple[ndarray,ndarray]]) – List of (start_point, end_point) for each dendritic segment.diameters (
List[float] |None) – Diameter of each segment for line thickness.alpha (
float) – Line transparency.ax (
Axes3D|None) – 3D axes to plot on.figsize (
Tuple[float,float]) – Figure size if creating new figure.**kwargs – Additional arguments passed to plot.
- Returns:
ax – The 3D axes object.
- Return type:
Axes3D