def map_neurons(fun, neurites, neurite_type):
nrns = _neuronfunc.neuron_population(neurites)<EOL>return [fun(n, neurite_type=neurite_type) for n in nrns]<EOL>
Map `fun` to all the neurites in a single or collection of neurons