pymaid.CatmaidNeuron.prune_distal_to¶
- CatmaidNeuron.prune_distal_to(node: Union[str, int], inplace: bool = False) Optional[TreeNeuron]¶
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.