navis.MeshNeuron.skeletonize¶
- MeshNeuron.skeletonize(method='wavefront', heal=True, inv_dist=None, **kwargs)[source]¶
Skeletonize mesh.
See
navis.conversion.mesh2skeleton()
for details.- Parameters:
method ("wavefront" | "teasar") – Method to use for skeletonization.
heal (bool) – Whether to heal a fragmented skeleton after skeletonization.
inv_dist (int | float) – Only required for method “teasar”: invalidation distance for the traversal. Smaller
inv_dist
captures smaller features but is slower and vice versa. A good starting value is around 2-5 microns.**kwargs – Additional keyword are passed through to
navis.conversion.mesh2skeleton()
.
- Returns:
skeleton
- Return type: