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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ngsidekick-0.0.17.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.17.tar.gz
Algorithm Hash digest
SHA256 b5395ef7dbc2e1aafa0f03b3c1f4660eb46ecd16613a1f564517aa3086da7aee
MD5 81110010f5a578eb276751c6038f6430
BLAKE2b-256 3aac71aabd1a851e5709dc97e643a628a7fa17f0aa66ef0e16dc83cccb784140

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ngsidekick-0.0.17-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.17-py3-none-any.whl
Algorithm Hash digest
SHA256 f894a4342f34d20c08c7607c057105bfec6be67d8b8796fe68dfe2c3016185b2
MD5 f479d9999a0547dcb966e6d44be4e3c6
BLAKE2b-256 d8df16d8c6c57abc1f2704ff672f4fd3db5142998db735ec97ad0f708c136220

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