Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Dec 16, 2024
1 parent 9563d90 commit feda06d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
# `panel-neuroglancer`
# `panel-neuroglancer`

Use HoloViz [`Panel`](https://panel.holoviz.org/) to integrate [Neuroglancer](https://www.github.com/google/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](#overview) below for more explanation.

## Usage

### Option 1 - Load from a neuroglancer url:
Either use `NeuroglancerNB(source=<URL>)` or just run `NeuroglancerNB()` and input the URL in the GUI:

Either use `Neuroglancer(source=<URL>)` or just run `Neuroglancer()` and input the URL in the GUI:
![](assets/demo_fromurl.png)


Expand All @@ -21,8 +24,9 @@ with viewer.txn() as s:
s.layers["segmentation"] = neuroglancer.SegmentationLayer(
source="precomputed://gs://neuroglancer-janelia-flyem-hemibrain/v1.1/segmentation",
)
NeuroglancerNB(source=viewer, show_state=True)
Neuroglancer(source=viewer, show_state=True)
```

![](assets/demo_fromviewer.png)

## Overview
Expand Down

0 comments on commit feda06d

Please sign in to comment.