neurom.check.neuron_checks.has_all_nonzero_segment_lengths

neurom.check.neuron_checks.has_all_nonzero_segment_lengths(neuron, threshold=0.0)

Check presence of neuron segments with length not above threshold

Parameters:
  • neuron – Neuron object whose segments will be tested
  • threshold – value above which a segment length is considered to be non-zero
Returns:

status and list of (section_id, segment_id) of zero length segments