Open melancholy12 opened 1 year ago
Hello! You can use this: https://neurom.readthedocs.io/en/stable/morph_stats.html which has a configuration dictionary to select which features you want. The doc is for a cli, but you can use the python function directly: https://github.com/BlueBrain/NeuroM/blob/master/neurom/apps/morph_stats.py#L164 If you want all available features, you can create the config dict with this function: https://github.com/BlueBrain/NeuroM/blob/master/neurom/apps/morph_stats.py#L266 Good luck!
Here is my codes: import neurom.features as nf from neurom import load_neuron
neuron2 = load_neuron("/example data2.swc")
morph_features = nf.get(neuron2)
But it returns: TypeError: get() missing 1 required positional argument: 'obj'
So if I read the feature one by one, it seems to be fine. How can I get all the features?