NeuroM
NeuroM copied to clipboard
Neuronal Morphology Analysis Tool
The `NeuroM.features.*` functions return inconsistent types. For example, `segment_taper_rates` returns a list of `floats` while `section_taper_rates` returns a list of `numpy.float32`. This can be annoying to process results (e.g. it's...
By default the Sholl analysis is done wrt radial euclidean distance, but having path distance as an optional metric for Sholl analysis is sometimes useful. This PR provides such functionality...
WIP: V4
When I attempt to open a swc file from neuromorpho.org with the NEURON standard. this is what the file looks like.  import neurom as nm m = nm.load_morphology("C:\\Users\\David\\Documents\\NeuroComp\\project\\Soma_in_tectum_653519\\3_mod_T_160621_F2M2_loom_02.swc") Traceback...
```python path = "tests/data/valid_set/Neuron.swc" # this works as expected m = load_morphology(path) m.sections[0] # these work as expected load_morphology(path).points load_morphology(path).neurites load_morphology(path).soma.center load_morphology(path).section(0) # this fails load_morphology(path).sections Out[16]: --------------------------------------------------------------------------- RuntimeError Traceback...
https://github.com/BlueBrain/NeuroM/blob/master/neurom/features/bifurcation.py#L57 For the following bifurcation point: bif_point [Section(id=30, type=2, n_points=1), Section(id=31, type=2, n_points=1)] local_bifurcation_angle fails because there is only one point. See .swc file from https://bbp.epfl.ch/nexus/web/bbp/mouselight/resources/https%3A%2F%2Fbbp.epfl.ch%2Fneurosciencegraph%2Fdata%2Fneuronmorphologies%2F1661d3d0-87b3-4978-89f6-99a601b1b706
Some packages that depend on NeuroM would like to create a release on conda-forge (see https://github.com/brainglobe/brainglobe-meta/issues/9). This is currently not possible because NeuroM is not released on conda-forge (all dependencies...
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'...