navis 1.4.0
  • Install
  • Quickstart
  • Tutorials
  • API
  • Changelog
  • Github
  • Ecosystem
  • Site
    • Page
        • navis.TreeNeuron.prune_proximal_to
          • TreeNeuron.prune_proximal_to()

    navis.TreeNeuron.prune_proximal_to¶

    TreeNeuron.prune_proximal_to(node, inplace=False)[source]¶

    Remove nodes proximal to given node. Reroots neuron to cut node.

    Parameters:
    • node (node_id | node tag) – Provide either a node ID or a (unique) tag

    • inplace (bool, optional) – If True, operation will be performed on itself. If False, operation is performed on copy which is then returned.

    Return type:

    Optional[TreeNeuron]

    See also

    cut_skeleton()

    Base function. See for details and examples.

    Back to top

    Source

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