neurom.check.morphtree.get_flat_neurites

neurom.check.morphtree.get_flat_neurites(neuron, tol=0.1, method='ratio')[source]

Check if a neuron has neurites that are flat within a tolerance

Parameters:
  • neurite (Neurite) – neurite to operate on
  • tol (float) – the tolerance or the ratio
  • method (string) – ‘tolerance’ or ‘ratio’ described in is_flat()
Returns:

Bool list corresponding to the flatness check for each neurite in neuron neurites with respect to the given criteria