Transforms to map between different fish (template) brains
Project description
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.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fishbrains-0.1.0.tar.gz.
File metadata
- Download URL: fishbrains-0.1.0.tar.gz
- Upload date:
- Size: 12.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8151f99230b265f119b04316d938c249a72e7fed4cfc3f2c9ab654a8f18b3ca4
|
|
| MD5 |
efa814b5ea0de0ea480cebb0de888588
|
|
| BLAKE2b-256 |
c148922c6ea5fe532cb759fadd9f0a4c3de07650e5aff58320e710b1e3f40cd6
|
Provenance
The following attestation bundles were made for fishbrains-0.1.0.tar.gz:
Publisher:
publish.yml on navis-org/navis-fishbrains
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fishbrains-0.1.0.tar.gz -
Subject digest:
8151f99230b265f119b04316d938c249a72e7fed4cfc3f2c9ab654a8f18b3ca4 - Sigstore transparency entry: 2291354713
- Sigstore integration time:
-
Permalink:
navis-org/navis-fishbrains@a5e692b47601e55009dd2b27d12280e69fb675e7 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/navis-org
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a5e692b47601e55009dd2b27d12280e69fb675e7 -
Trigger Event:
push
-
Statement type:
File details
Details for the file fishbrains-0.1.0-py3-none-any.whl.
File metadata
- Download URL: fishbrains-0.1.0-py3-none-any.whl
- Upload date:
- Size: 12.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74d744c1bc4bdc530e035230ca8ae3b1ddf018804a926a33f7928fa19dadbdda
|
|
| MD5 |
8a399e09c795fad76d172140c5c0687e
|
|
| BLAKE2b-256 |
c85bbd86dd0d7c0cd414f607ef8e21941568010060b8c9eb0f3a323fa5337897
|
Provenance
The following attestation bundles were made for fishbrains-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on navis-org/navis-fishbrains
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fishbrains-0.1.0-py3-none-any.whl -
Subject digest:
74d744c1bc4bdc530e035230ca8ae3b1ddf018804a926a33f7928fa19dadbdda - Sigstore transparency entry: 2291354748
- Sigstore integration time:
-
Permalink:
navis-org/navis-fishbrains@a5e692b47601e55009dd2b27d12280e69fb675e7 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/navis-org
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a5e692b47601e55009dd2b27d12280e69fb675e7 -
Trigger Event:
push
-
Statement type: