Skip to main content

Library for manipulating neuromorpho resources.

Project description

# neuromorpholib


## Usage
A simple download of known dataset and name:
```python
from neuromorpholib import neuromorpho

nmo = neuromorpho.NeuroMorpho()
acc1 = nmo.download_swc("martone", "ACC1")
```

A query for all species=mouse neurons:
```python
mouse_neurons = nmo.search({"species": "mouse"})
```

Download a SWC for a mouse neuron:
```python
swc_demo = nmo.download_swc(
mouse_neurons[0]
)
```

If you know the archive name and neuron name, you can also download the swc directly by passing `archive` and `neuron_name` arguments.

If you only want the SWC text and don't want it to be converted into a `NeuronMorphology` object, you can pass `text_only=True`.


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for neuromorpholib, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size neuromorpholib-0.1.0-py2.py3-none-any.whl (5.3 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size neuromorpholib-0.1.0.tar.gz (4.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page