neat.MorphTree._evaluate_comp_criteria

MorphTree._evaluate_comp_criteria(node, eps=1e-08, rbool=False)[source]

Return True if relative difference between node radius and parent node raidus is larger than margin eps, or if the node is the root or bifurcation node.

Parameters:
  • node (neat.MorphNode) – node that is compared to parent node

  • eps (float (optional, default 1e-8)) – the margin

Return type:

bool