neat.MorphTree.set_comp_tree

MorphTree.set_comp_tree(compnodes=None, eps=1e-08)[source]

Sets the nodes that contain computational parameters. This are a priori either bifurcations, leafs, the root or nodes where the neurons’ relevant parameters change.

Parameters:
  • 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.

  • eps (float (default 1e-8)) – relative margin for parameter change