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
  • 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


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.5.1.tar.gz (50.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dvidtools-0.5.1-py3-none-any.whl (50.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dvidtools-0.5.1.tar.gz
  • Upload date:
  • Size: 50.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for dvidtools-0.5.1.tar.gz
Algorithm Hash digest
SHA256 5ca3238a11eee0367361af68c88f21c0dbafcd29fed2257f7e6722b58040a6da
MD5 e532e7beea2108292a470187371ec77d
BLAKE2b-256 52339343bb0158c4e7e1852c1abbcdb4a1416a7cb5d465d8464a07f1aa8d7023

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dvidtools-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 50.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for dvidtools-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f96b567eacf6231c1d424a31e73ec8770dae71b19d94999ef0b9ea009293d111
MD5 8e4edf59fa61a99bf682b2a88f5b3046
BLAKE2b-256 5167dbb863feae68ec479cfd402df599e9dbd653c10a2dd14d602581e211a288

See more details on using hashes here.

Supported by

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