neat.MorphTree._evaluateCompCriteria¶
-
MorphTree.
_evaluateCompCriteria
(node, eps=1e-08, rbool=False)[source]¶ Return
True
if relative difference between node radius and parent node raidus is larger than margineps
, 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
- Returns
- Return type
bool