neurom.check.morphtree.is_monotonic

neurom.check.morphtree.is_monotonic(neurite, tol)[source]

Check if neurite tree is monotonic

If each child has smaller or equal diameters from its parent

Parameters:
  • neurite (Neurite) – neurite to operate on
  • tol (float) – tolerance
Returns:

True if neurite monotonic