Skip to main content

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 fishbrains require 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fishbrains-0.1.0.tar.gz (12.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fishbrains-0.1.0-py3-none-any.whl (12.3 MB view details)

Uploaded Python 3

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

Hashes for fishbrains-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8151f99230b265f119b04316d938c249a72e7fed4cfc3f2c9ab654a8f18b3ca4
MD5 efa814b5ea0de0ea480cebb0de888588
BLAKE2b-256 c148922c6ea5fe532cb759fadd9f0a4c3de07650e5aff58320e710b1e3f40cd6

See more details on using hashes here.

Provenance

The following attestation bundles were made for fishbrains-0.1.0.tar.gz:

Publisher: publish.yml on navis-org/navis-fishbrains

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for fishbrains-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 74d744c1bc4bdc530e035230ca8ae3b1ddf018804a926a33f7928fa19dadbdda
MD5 8a399e09c795fad76d172140c5c0687e
BLAKE2b-256 c85bbd86dd0d7c0cd414f607ef8e21941568010060b8c9eb0f3a323fa5337897

See more details on using hashes here.

Provenance

The following attestation bundles were made for fishbrains-0.1.0-py3-none-any.whl:

Publisher: publish.yml on navis-org/navis-fishbrains

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page