neurom.ezy.load_population

neurom.ezy.load_population(neurons, name=None)

Create a population object from all morphologies in a directory of from morphologies in a list of file names

Parameters:
  • neurons – directory path or list of neuron file paths
  • name (str) – optional name of population. By default ‘Population’ or filepath basename depending on whether neurons is list or directory path respectively.
Returns:

neuron Population object