code: def total_volume_per_neurite(neurites, neurite_type=NeuriteType.all):
      '''Get the volume per neurite in a collection'''
      return list(sum(s.volume for s in n.iter_sections())
                  for n in iter_neurites(neurites, filt=is_type(neurite_type))f total_volume_per_neurite(neurites, neurite_type=NeuriteType.all):
      '''Get the volume per neurite in a collection'''
      return list(sum(s.volume for s in n.iter_sections())
                  for n in iter_neurites(neurites, filt=is_type(neurite_type)))
docs: Get the volume per neurite in a collection