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.19.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.19-py3-none-any.whl (97.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ngsidekick-0.0.19.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.19.tar.gz
Algorithm Hash digest
SHA256 fbaf9cef9fe600e66f939f44503b4041f7293a6875041e70773ebe39a4642d40
MD5 db473838584916c1014bfc14ba200dea
BLAKE2b-256 6164630c00ccd46018a78b308e0dc9909f0cb9f5034e94981d245728c40e10a2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ngsidekick-0.0.19-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.19-py3-none-any.whl
Algorithm Hash digest
SHA256 a1e681e8625addeb5295728b89772a986a285bc3cc4695946fce35b5b1fe51f3
MD5 0ff6da2b897b913094ca2dd1ad2cd706
BLAKE2b-256 8b145c0dc8111fb973375a6fc2e6da58ccf0e6339e4dc7282d7b9e1c1fdbec78

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