neuroglancer-scripts

Conversion of images to the Neuroglancer pre-computed format


Keywords
neuroimaging
License
MIT
Install
pip install neuroglancer-scripts==1.1.0

Documentation

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).