Skip to main content

panel-neuroglancer

Use HoloViz Panel to integrate Neuroglancer into Jupyter notebook workflows and applications for scientifically contextualized, reproducible, and extensible workflows involving large volumetric datasets, such as those from electron and fluorescent microscopy. See the Overview below for more explanation.

Usage

Option 1 - Load from a neuroglancer url:

Either use Neuroglancer(source=<URL>) or just run Neuroglancer() and input the URL in the GUI:

Option 2 - Load from neuroglancer.Viewer instance:

viewer = neuroglancer.Viewer()

with viewer.txn() as s:
    # Add an image layer from a precomputed data source
    s.layers["image"] = neuroglancer.ImageLayer(
        source="precomputed://gs://neuroglancer-janelia-flyem-hemibrain/emdata/clahe_yz/jpeg",
    )
    # Add a segmentation layer
    s.layers["segmentation"] = neuroglancer.SegmentationLayer(
        source="precomputed://gs://neuroglancer-janelia-flyem-hemibrain/v1.1/segmentation",
    )
Neuroglancer(source=viewer, show_state=True)

Overview

Volumetric imaging refers to techniques that capture data in three dimensions, allowing researchers to visualize and analyze the internal structures of objects, including depth and spatial relationships. Unlike traditional 2D imaging, volumetric imaging provides a more comprehensive view of specimens.

One of the most powerful volumetric imaging techniques is electron microscopy (EM). EM uses a beam of electrons to create high-resolution images at the nanometer scale, enabling the exploration of fine structural details of biological specimens such as cells, tissues, and molecular structures. However, handling and visualizing the massive datasets generated by EM poses significant challenges due to their size and complexity.

Introducing Neuroglancer

Neuroglancer by Google is a WebGL-based viewer designed specifically for volumetric data, offering efficient handling of large-scale datasets through data streaming. Its key features include:

  • Interactive Visualization: Smooth, real-time navigation through volumetric data.
  • Customizable Layers: Support for raw images, segmented regions, and annotations.
  • Web-Based Interface: Accessible directly from browsers without the need for specialized software.

Originally developed for neuroscience, Neuroglancer empowers researchers to explore complex 3D structures by tracing neural pathways, identifying cellular components, and annotating regions of interest.

Integrating Neuroglancer with Jupyter Notebooks

While Neuroglancer is a powerful tool for exploring large volumes, it is typically used as a standalone application. Researchers often utilize Jupyter Notebooks to conduct reproducible research and combine code, data analysis, and visualizations.

By integrating Neuroglancer within Jupyter Notebooks using HoloViz Panel, researchers can:

  • Consolidate Workflow: Keep code, data analysis, and visualization in a single environment.
  • Enhance Reproducibility: Share notebooks that include both computational steps and interactive visualizations.
  • Facilitate Collaboration: Allow collaborators to interact with the same data and visualizations within the notebook.

Using HoloViz Panel for the Integration

By using HoloViz Panel, we can:

  • Embed the Neuroglancer viewer directly within a notebook cell.
  • Create interactive widgets and controls to manipulate and report the state of the viewer.
  • Combine Neuroglancer views alongside other visualizations.

Funding

Metadata

Release files for panel-neuroglancer 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for panel-neuroglancer 0.1.0
File Size Uploaded Provenance Actions
panel_neuroglancer-0.1.0.tar.gz 3.0 MB Without provenance Details for panel_neuroglancer-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for panel-neuroglancer 0.1.0
File Interpreter ABI Platform Actions
panel_neuroglancer-0.1.0-py3-none-any.whl Python 3 none any Details for panel_neuroglancer-0.1.0-py3-none-any.whl

Total release size: 3.1 MB

Release files / panel_neuroglancer-0.1.0.tar.gz

Download URL panel_neuroglancer-0.1.0.tar.gz
Size 3.0 MB
Tags Source
SHA-256 checksum
How to use checksums
cccade39b29342751013cc2999413619c21bed4076c21d4a21dcc09ea03d436c
BLAKE2b-256 checksum
How to use checksums
0dd4b202254d43fea0842c37aabfca924fb3dbd8a837b47061a73f8415873ffd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.8

Release files / panel_neuroglancer-0.1.0-py3-none-any.whl

Download URL panel_neuroglancer-0.1.0-py3-none-any.whl
Size 9.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c02849bfab3feebad55b3f9804d32d0c492dad7b6ac7e707edda815e5581975e
BLAKE2b-256 checksum
How to use checksums
7d6cf78174aeafa8918ac93d86b45837b661ae60a42cda68ce3c591387646560
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.8

Security for panel-neuroglancer 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page