Skip to main content

Tools for neuroglancer scenes.

Project description

NGSidekick

Documentation

Tools for working with neuroglancer. See docs.

Feature Highlights

  • Segment properties: read and write neuroglancer's precomputed segment properties format from a pandas DataFrame.

  • Local annotations: construct local annotations directly in viewer state. (API subject to change.)

  • Precomputed annotations: export annotations in neuroglancer's precomputed annotations format from a pandas DataFrame.

    • Supports all five annotation types:
      • point
      • line
      • axis_aligned_bounding_box
      • ellipsoid
      • polyline
    • Per-annotation properties (numeric, enum/categorical, and rgb/rgba color).
    • Per-annotation relationships (lists of related segment IDs, used by neuroglancer to filter annotations by segment).
    • Written to all "index" types (annotation id, related segment, and multi-level spatial grid)
    • Sharded output, written in parallel via tensorstore.
    • Note: writing directly to cloud storage is not yet supported; outputs must be written to a local filesystem (you must upload to cloud storage afterwards).

Installation

Packages are available from both PyPI and conda-forge.

Using pixi:

pixi add ngsidekick

Using conda:

conda install -c conda-forge ngsidekick

Using pip:

pip install ngsidekick

Using uv:

uv add ngsidekick

# or in an existing environment
uv pip install ngsidekick

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

ngsidekick-0.0.18.tar.gz (17.9 MB view details)

Uploaded Source

Built Distribution

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

ngsidekick-0.0.18-py3-none-any.whl (97.2 kB view details)

Uploaded Python 3

File details

Details for the file ngsidekick-0.0.18.tar.gz.

File metadata

  • Download URL: ngsidekick-0.0.18.tar.gz
  • Upload date:
  • Size: 17.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for ngsidekick-0.0.18.tar.gz
Algorithm Hash digest
SHA256 d43876ca78a70abab221b7dd78290ba91847bc506cdddf1dfff3bec4c4b85253
MD5 c4674ba7360aed22fb799e2e90f18ff6
BLAKE2b-256 6d741051ca7b8769ac6955792c9779a3a9cc79971c095b323e50e03ce3966386

See more details on using hashes here.

File details

Details for the file ngsidekick-0.0.18-py3-none-any.whl.

File metadata

  • Download URL: ngsidekick-0.0.18-py3-none-any.whl
  • Upload date:
  • Size: 97.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for ngsidekick-0.0.18-py3-none-any.whl
Algorithm Hash digest
SHA256 674f66394d931795e9d2e7779e4377b0dadb6f3a8f5b2f82b5c33c16a40ada0e
MD5 10bf73a5bd220a86e771ac52b836e73a
BLAKE2b-256 a239c024d9fafb3f418264c7fe24901a0f258d9663159f02abfd229fd1822849

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