brainglobe-napari-io
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
- Open napari (however you normally do it, but typically just type
napariinto your terminal, or click on your desktop icon)
brainreg
Sample space
Drag your brainreg output directory (the one with the log file) onto the napari window.
Various images should then open, including:
Registered image- the image used for registration, downsampled to atlas resolutionatlas_name- e.g.allen_mouse_25umthe atlas labels, warped to your sample brainBoundaries- the boundaries of the atlas regions
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.
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:
- Open napari
- Navigate to
Plugins->Plugin Call Order - In the
Plugin Sorterwindow, selectnapari_get_readerfrom theselect hook...dropdown box - Drag
brainreg_read_dir_atlas_space(the atlas space viewer plugin) abovebrainreg_read_dir(the normal plugin) to ensure that the atlas space plugin is used preferentially.
cellfinder
Load cellfinder XML/YAML file
- Load your raw data (drag and drop the data directories into napari, one at a time)
- Drag and drop your cellfinder XML/YAML file (e.g.
cell_classification.xml) into napari.
Load cellfinder directory
- Load your raw data (drag and drop the data directories into napari, one at a time)
- Drag and drop your cellfinder output directory into napari.
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).
Loading raw 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.
Metadata
Release files for brainglobe-napari-io 0.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| brainglobe_napari_io-0.5.1.tar.gz | 17.7 kB | Without provenance | Details for brainglobe_napari_io-0.5.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| brainglobe_napari_io-0.5.1-py3-none-any.whl | Python 3 | none | any | Details for brainglobe_napari_io-0.5.1-py3-none-any.whl |
Total release size: 36.7 kB
Release files / brainglobe_napari_io-0.5.1.tar.gz
| Download URL | brainglobe_napari_io-0.5.1.tar.gz |
|---|---|
| Size | 17.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2fc561acd43805b53e27c1ea50a04488ece9c41d863b29d1e996775c7158fa03
|
|
BLAKE2b-256 checksum How to use checksums |
b675368b447c8d91ef34e3dd8ee4a1bf7676ad0d6892010f911d3a28a2478e92
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / brainglobe_napari_io-0.5.1-py3-none-any.whl
| Download URL | brainglobe_napari_io-0.5.1-py3-none-any.whl |
|---|---|
| Size | 19.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ca6a9b5a921b47985ce3569d73f771f24b036061a56b04cbf9a81ab23cbd50de
|
|
BLAKE2b-256 checksum How to use checksums |
039bc509b84a736cc7ad7a15e4e090cf0d12503c6e199e0c41d84f7b640a35d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for brainglobe-napari-io 0.5.1
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.