neurom.get

neurom.get(feature_name, obj, **kwargs)

Obtain a feature from a set of morphology objects.

Features can be either Neurite, Morphology or Population features. For Neurite features see neurom.features.neurite. For Morphology features see neurom.features.morphology. For Population features see neurom.features.population.

Parameters:
  • feature_name (str) – feature to extract

  • obj – a morphology, a morphology population or a neurite tree

  • kwargs – parameters to forward to underlying worker functions

Returns:

feature value as a list or a single number.

Return type:

List|float