navis.TreeNeuron.prune_distal_to¶
- TreeNeuron.prune_distal_to(node, inplace=False)[source]¶
Cut off nodes distal to given nodes.
- Parameters:
node (node ID | node tag) – Provide either node ID(s) or a unique tag(s)
inplace (bool, optional) – If True, operation will be performed on itself. If False, operation is performed on copy which is then returned.
See also
cut_skeleton()
Base function. See for details and examples.