Tiny Jupyter Wrapper for neuroglancer viewer
Project description
jupyter-neuroglancer
Simple Jupyter (and jupyter-server-proxy) integration with neuroglancer.
Pops up a neuroglancer viewer in a split pane in JupyterLab (via jupyterlab-sidecar) so you can more easily see real-time live visualizations driven by your python code.
When running on a remote JupyterHub, the viewer is automatically (and securely) proxied through jupyter-server-proxy so users get the exact same experience on theier local machine as well as a JupyterHub.
Installation
jupyter-neuroglancer
is available on PyPI.
pip install jupyter-neuroglancer
Usage
jupyter_neuroglancer
provides a SidecarViewer
class that accepts a regular neuroglancer
Viewer
object. You don't have to modify your neuroglancer
code in any way!
import neuroglancer
from jupyter_neuroglancer import SidecarViewer
# Create a neuroglancer Viewer instance. This controls the visualization
viewer = neuroglancer.Viewer()
# Create a SidecarViewer that can show / hide the sidecar panel
scv = SidecarViewer(viewer)
# Show the panel
scv.show()
# Hide the panel
scv.hide()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file jupyter_neuroglancer-0.1.tar.gz
.
File metadata
- Download URL: jupyter_neuroglancer-0.1.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c03a68472d62e559fa4d10e8fc8392f6d8e5383362efb3c1d1014268fcc2c567 |
|
MD5 | d61673b3498dbe23b527616bf05e37f5 |
|
BLAKE2b-256 | 3c3c033b058a90247eb88f1860a9cd9eaddb0c5e86c9c7820aa9546c1a13708a |
File details
Details for the file jupyter_neuroglancer-0.1-py3-none-any.whl
.
File metadata
- Download URL: jupyter_neuroglancer-0.1-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2eb34ee423f3dab9ac9321c5eb059dab9e87d6edd7d79959160562b7e7171420 |
|
MD5 | d60c9781189b466560a731559b718e9f |
|
BLAKE2b-256 | 736d228ac1ab5b26ca3e151037dcb37220f9e85ab3410161e2cc5e2b8fb2ea9d |