Home

Awesome

napari-brainglobe-io

License PyPI Python Version tests codecov

Visualise cellfinder and brainreg results with napari


Installation

This package is likely already installed (e.g. with cellfinder, brainreg or another napari plugin), but if you want to install it again, either use the napari plugin install GUI or you can install brainglobe-napari-io via [pip]:

pip install brainglobe-napari-io

Usage

brainreg

Sample space

Drag your brainreg output directory (the one with the log file) onto the napari window.

Various images should then open, including:

If you downsampled additional channels, these will also be loaded.

Most of these images will not be visible by default. Click the little eye icon to toggle visibility.

N.B. If you use a high resolution atlas (such as allen_mouse_10um), then the files can take a little while to load.

sample_space

Atlas space

napari-brainreg also comes with an additional plugin, for visualising your data in atlas space.

This is typically only used in other software, but you can enable it yourself:

cellfinder

Load cellfinder XML file

Load cellfinder directory

The plugin will then load your detected cells (in yellow) and the rejected cell candidates (in blue). If you carried out registration, then these results will be overlaid (similarly to the loading brainreg data, but transformed to the coordinate space of your raw data).

load_data Loading raw data

load_data Loading cellfinder results

Seeking help or contributing

We are always happy to help users of our tools, and welcome any contributions. If you would like to get in contact with us for any reason, please see the contact page of our website.