Currently the neurom.get utility provides a means to obtain various morphometrics while remaining de-coupled from code complexities. This is particularly useful for scripting morphometrics utilities. It would be useful to provide some limited entry points for user defined functions to be utilized with neurom.get. For example:
import neurom as nm
def foo(neurite):
return something_to_do_with_neurite
nm.register_neurite_feature('foo', foo)
nrn = nm.load_neuron(....)
foos = nm.get('foo', nrn) # array of whatever foo returns for each neurite
masking of previously existing features would be disallowed:
Currently the
neurom.get
utility provides a means to obtain various morphometrics while remaining de-coupled from code complexities. This is particularly useful for scripting morphometrics utilities. It would be useful to provide some limited entry points for user defined functions to be utilized withneurom.get
. For example:masking of previously existing features would be disallowed: