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.

Source Distribution

neuromorpholib-0.1.0.tar.gz (4.7 kB view hashes)

Uploaded Source

Built Distribution

neuromorpholib-0.1.0-py2.py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page