lib module

prune function

#let prune(cell, kinds: none)

Documentation

Remove nodes of the listed SWC kinds and their descendant subtrees.

Parameters

  • cell (dictionary): The source morphology.
  • kinds (array): Integer SWC type codes whose subtrees should be removed. Default: none.

Returns

dictionary

Defined in lib.typ:334.

Source

Module
lib
Defined in
lib.typ:334
Source
View source