neat.PhysTree._evaluateCompCriteria

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

Return True if relative difference in any physiological parameters between node and child node is larger than margin eps.

Overrides the MorphTree._evaluateCompCriteria() function called by MorphTree.setCompTree().

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

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

Returns

Return type

bool