Skip to main content

Fetch data from DVID server

Project description

Documentation StatusTests

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
  • get basic neuron info (# of voxels/synapses)
  • get synapses
  • get connectivity (adjacency matrix, connectivity table)
  • retrieve labels (TODO, to split, etc)
  • map positions to body IDs
  • mesh or skeletonize sparsevols
  • detect potential open ends (based on a script by Stephen Plaza)

Install

Make sure you have Python 3 (3.6 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


Download files

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

Source Distribution

dvidtools-0.4.0.tar.gz (6.0 MB view details)

Uploaded Source

Built Distribution

dvidtools-0.4.0-py3-none-any.whl (6.2 MB view details)

Uploaded Python 3

File details

Details for the file dvidtools-0.4.0.tar.gz.

File metadata

  • Download URL: dvidtools-0.4.0.tar.gz
  • Upload date:
  • Size: 6.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.9

File hashes

Hashes for dvidtools-0.4.0.tar.gz
Algorithm Hash digest
SHA256 6d551cdb20e60f5586c5a68befa96d88c379bacd9d77a69184452d07c9ddc9da
MD5 9bfc214af14a3faf95eafaa4a62abfaa
BLAKE2b-256 7aa9f454aacbbf1910c701ac88c2bf2494047063fe2e80c9f8e3e07c2c49f89f

See more details on using hashes here.

File details

Details for the file dvidtools-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: dvidtools-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 6.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.9

File hashes

Hashes for dvidtools-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9a9b077bdeb35c91da101343fca7ed6bc2247092455a5d318798039b6aef6dbb
MD5 9e644f1f9cb25c5aefe2376e12b1478b
BLAKE2b-256 19f62847b02e57c5ef59ebb5a5c09c6dc062958e1d84e88609c4a5811166655d

See more details on using hashes here.

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