Skip to main content

Conversion of images to the Neuroglancer pre-computed format

Project description

neuroglancer-scripts

Tools for converting volumetric images and surface meshes to the pre-computed format of Neuroglancer.

PyPI Version Build Status Coverage Status Documentation Status

Installation

The easiest way to install the latest stable version of neuroglancer-scripts is through pip. Using a virtual environment is recommended:

python3 -m venv venv/
. venv/bin/activate
pip install neuroglancer-scripts

Usage

See the documentation.

Development

The code is hosted on https://github.com/HumanBrainProject/neuroglancer-scripts.

Useful commands for development:

git clone https://github.com/HumanBrainProject/neuroglancer-scripts.git

# Install in a virtual environment
cd neuroglancer-scripts
python3 -m venv venv/
. venv/bin/activate
pip install -e .[dev]

# Tests
pytest  # run tests
pytest --cov=neuroglancer_scripts --cov-report=html  # detailed test coverage report
tox  # run tests under all supported Python versions

# Please install pre-commit if you intend to contribute
pre-commit install  # install the pre-commit hook

Contributing

This repository uses pre-commit to ensure that all committed code follows minimal quality standards. Please install it and configure it to run as a pre-commit hook in your local repository (see above). Also, please note that the code quality checks may need a more recent version of Python than that required by neuroglancer_scripts itself (> 3.8 at the time of this writing).

Acknowledgments

cloud-volume (BSD 3-Clause licensed) for compressed morton code and shard/minishard mask implementation.

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

neuroglancer_scripts-1.2.0.tar.gz (82.8 kB view details)

Uploaded Source

Built Distribution

neuroglancer_scripts-1.2.0-py3-none-any.whl (66.8 kB view details)

Uploaded Python 3

File details

Details for the file neuroglancer_scripts-1.2.0.tar.gz.

File metadata

  • Download URL: neuroglancer_scripts-1.2.0.tar.gz
  • Upload date:
  • Size: 82.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.9

File hashes

Hashes for neuroglancer_scripts-1.2.0.tar.gz
Algorithm Hash digest
SHA256 a84d255f0ec360a97dff438ea83d781803c206dfbf882c3b0168a483cbd5960c
MD5 ce1e8694ff4eb39fb81a46e99267ff4f
BLAKE2b-256 8327bf0fa0a0a731a7a281568fa1b3357ff2cac5d66ce934bec6cdedb5eaefe1

See more details on using hashes here.

File details

Details for the file neuroglancer_scripts-1.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for neuroglancer_scripts-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b9dccdba74d2c10504b0863a1c3f419201c7e84ff3b69211cb07b81fa58b1f43
MD5 3172822bf471f4f539a3a6f9062178b6
BLAKE2b-256 9037c5f5036b7c1b0cb62892d96769baf082cca7c9aa89d79db3cccfe7c9c072

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