navis 1.4.0
  • Install
  • Quickstart
  • Tutorials
  • API
  • Changelog
  • Github
  • Ecosystem
  • Site
    • Page
        • navis.MeshNeuron.skeletonize
          • MeshNeuron.skeletonize()

    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:

    navis.TreeNeuron

    Back to top

    Source

    © Copyright 2018, Philipp Schlegel.
    Created using Sphinx 5.3.0.