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.6.0.tar.gz (50.6 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.6.0-py3-none-any.whl (50.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dvidtools-0.6.0.tar.gz
  • Upload date:
  • Size: 50.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for dvidtools-0.6.0.tar.gz
Algorithm Hash digest
SHA256 cd26ff15a7912d7ca7a99b3e47a82f0a1803a80d8e7128f6d480d9f6c51d7ef2
MD5 72a2a8754713bfd4564377808af1fd77
BLAKE2b-256 3120ce8ea5a3ec49dcf61ff24f6cf6906750cbbb7aefd7ad2fe34b07f4c3a074

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dvidtools-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 50.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for dvidtools-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 13db8d50a46f46e054eadd443e7bd4f1053a57b05bd186e95032647e1e210b44
MD5 7b64f70b5000ea532b5d6a2caa67bb60
BLAKE2b-256 68c9c71bba2d8492d25574ec5b51a542580b94edebcdf9a012c3b0d89b6a026a

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