Fetch data from DVID server
Project description
dvidtools
Python tools to fetch data from DVID servers.
Find the documentation here.
Want to query a neuPrint server instead? Check out neuprint-python.
What can dvidtools
do for you?
- get/set user bookmarks
- get/set neuron annotations (names)
- download precomputed meshes, skeletons (SWCs) and ROIs
- generate meshes or skeletons from scratch
- get basic neuron info (# of voxels/synapses)
- fetch synapses
- fetch connectivity (adjacency matrix, connectivity table)
- retrieve labels (TODO, to split, etc)
- map positions to body IDs
- detect potential open ends (based on a script by Stephen Plaza)
Install
Make sure you have Python 3 (3.8 or later), pip. Then run this:
pip3 install dvidtools
To install the dev version straight from Github:
pip3 install git+https://github.com/flyconnectome/dvid_tools@master
Optional dependencies
Necessary dependencies will be installed automatically.
If you plan to use the tip detector with classifier-derived confidence, you will also need sciki-learn:
pip3 install scikit-learn
For from-scratch skeletonization you need to install skeletor
:
pip3 install skeletor
Examples
Please see the documentation for examples.
Testing
For testing you need to have two environment variables set: DVID_TEST_SERVER
and DVID_TEST_NODE
. These should point to a DVID server/node that contain
the Janelia hemibrain dataset. Then run:
$ pytest -v
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file dvidtools-0.5.0.tar.gz
.
File metadata
- Download URL: dvidtools-0.5.0.tar.gz
- Upload date:
- Size: 50.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | abc0fe47ea5b4936d309a954198d4f7875e3070766c686a878cd5ca19400e11c |
|
MD5 | 66386d530154cdb1200d5385ae01b085 |
|
BLAKE2b-256 | 5b4d8db0e018cb701206c7b0a7115a43fea7c4a4e19c5ca2db4f7b6b6bf68709 |
File details
Details for the file dvidtools-0.5.0-py3-none-any.whl
.
File metadata
- Download URL: dvidtools-0.5.0-py3-none-any.whl
- Upload date:
- Size: 50.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b97219b312570df0dc2ee51d89dab7cc528828abcf863ff3e8f643c895b27d63 |
|
MD5 | 4d973321332ae5aaf3b7f90f99aac2bb |
|
BLAKE2b-256 | aafa7b7a68aa6cf77ea7289c825b7704e91af1a3a2bd64218017f35b6ce902ce |