code: def soma_radii(nrn_pop, neurite_type=NeuriteType.soma):
      ''' Get the radii of the somata of a population of neurons
  
      Note:
          If a single neuron is passed, a single element list with the
          radius of its soma member is returned.
      '''
      assert neurite_type == NeuriteType.soma, 'Neurite type must be soma'
      nrns = neuron_population(nrn_pop)
      return [n.soma.radius for n in nrnsf soma_radii(nrn_pop, neurite_type=NeuriteType.soma):
      ''' Get the radii of the somata of a population of neurons
  
      Note:
          If a single neuron is passed, a single element list with the
          radius of its soma member is returned.
      '''
      assert neurite_type == NeuriteType.soma, 'Neurite type must be soma'
      nrns = neuron_population(nrn_pop)
      return [n.soma.radius for n in nrns]
docs: Get the radii of the somata of a population of neurons
  
      Note:
          If a single neuron is passed, a single element list with the
          radius of its soma member is returned.