navis.interfaces.neuromorpho.get_neuron_info¶
- navis.interfaces.neuromorpho.get_neuron_info(x)[source]¶
Fetch neuron info by ID or by name.
- Parameters:
x (int | str) – Integer is intepreted as ID, string as neuron name. Will try to convert strings to integers first.
Examples
>>> import navis.interfaces.neuromorpho as nm >>> # Get info by ID >>> info = nm.get_neuron_info(1) >>> # Get info by Name >>> info = nm.get_neuron_info('cnic_001')