setCompTree(compnodes=None, set_as_primary_tree=False, eps=1e-08)¶
Sets the nodes that contain computational parameters. This are a priori either bifurcations, leafs, the root or nodes where the neurons’ relevant parameters change.
compnodes (list of ::class::MorphNode) – list of nodes that should be retained in the computational tree. Note that specifying bifurcations, leafs or the root is superfluous, since they are part of the computational tree by default.
set_as_primary_tree (bool (default
False)) – if True, sets the computational tree as the primary tree
eps (float (default
1e-8)) – relative margin for parameter change