navis-fishbrains
Transforms and meta data to map between different fish template brains and coordinate systems. This package is intended to be used with navis and is analogous to navis-flybrains.
Currently fishbrains ships with:
- a brain mesh + mirror transform for the Fish2 dataset (FishEM, Janelia)
Want to see more transforms or meshes included? Please open an issue.
Installation
pip install fishbrains
To get the bleeding-edge version from Github:
pip install git+https://github.com/navis-org/navis-fishbrains
External dependencies
[!NOTE] At this point none of the transforms in
fishbrainsrequire external dependencies. So for now these external dependencies are nice-to-have but not actually necessary.
In order to use CMTK-based transforms, you will need to have CMTK installed.
For the Elastix-based transforms, you will need to download
elastix and make sure that the path
to the binaries is in your PATH variable.
Usage
import navis
import fishbrains
# Plot the Fish2 brain shell mesh
navis.plot3d(fishbrains.Fish2)
# Mirror spatial data (e.g. skeletons)
mirrored = navis.mirror_brain(skeletons, template="Fish2", mirror_axis="y")
Changes
When in doubt, please open an issue to ask for advice.
Release files for fishbrains 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fishbrains-0.1.0.tar.gz | 12.3 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fishbrains-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.7 MB
Release files / fishbrains-0.1.0.tar.gz
| Download URL | fishbrains-0.1.0.tar.gz |
|---|---|
| Size | 12.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8151f99230b265f119b04316d938c249a72e7fed4cfc3f2c9ab654a8f18b3ca4
|
|
BLAKE2b-256 checksum How to use checksums |
c148922c6ea5fe532cb759fadd9f0a4c3de07650e5aff58320e710b1e3f40cd6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 30, 2026.
Transparency logRelease files / fishbrains-0.1.0-py3-none-any.whl
| Download URL | fishbrains-0.1.0-py3-none-any.whl |
|---|---|
| Size | 12.3 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
74d744c1bc4bdc530e035230ca8ae3b1ddf018804a926a33f7928fa19dadbdda
|
|
BLAKE2b-256 checksum How to use checksums |
c85bbd86dd0d7c0cd414f607ef8e21941568010060b8c9eb0f3a323fa5337897
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 30, 2026.
Transparency log