Transforms to map between different mouse (template) brains
Project description
navis-mousebrains
Transforms and meta data to map between different mouse template brains. This package is intended to be used with navis and is analogous to navis-flybrains.
Currently mousebrains ships with:
- meta data and surface mesh for the Allen CCF mouse brain template
- transforms between the CA3 EM and uCT volume by Z. Zheng (Princeton) and the Allen CCF
Installation
You can install mousebrains from PyPI:
pip3 install mousebrains
To install the dev version from Github:
pip3 install git+https://github.com/navis-org/navis-mousebrains.git
External dependencies
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 mousebrains
# Transform some points from the Zheng CA3 dataset to Allen CCF space
points = np.array([[47056, 51152, 2128]])
points_xf = navis.xform_brain(
points,
source="Zheng_CA3_EMraw", # EM voxel space (18x18x45nm)
target="AllenCCF" # Allen CCF space (microns)
)
Changes
- 0.0.4:
- flipped Zheng CA3 uCT -> CCF transforms onto right hemisphere
- added templates for Zheng CA3 EM and uCT datasets
- 0.0.3: added transforms for the Zheng CA3 dataset
Acknowledgements
TODO
Citing
TODO
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 mousebrains-0.0.4.tar.gz.
File metadata
- Download URL: mousebrains-0.0.4.tar.gz
- Upload date:
- Size: 10.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df4b4fd28eabb5cf3cecfb9dfdfff9d7059b5d223bd9ba2cfd4ba4779898c204
|
|
| MD5 |
74828a6e27dffafac12a0f53373a2748
|
|
| BLAKE2b-256 |
64506eb5f1fcdf91d0c32dc4e5b6ea8f448acdcfe3361fbbf2e04d1541ebf35e
|
File details
Details for the file mousebrains-0.0.4-py3-none-any.whl.
File metadata
- Download URL: mousebrains-0.0.4-py3-none-any.whl
- Upload date:
- Size: 10.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
117208483004a6e32710247270bc2b02fc695195b0ca8a889e26f3e29e42ea83
|
|
| MD5 |
a40011ea3fb73f1294f91f30e59058c5
|
|
| BLAKE2b-256 |
c8976e5fe6ff23d11f139d11445f87a92eb714fd76846ea0df9b0c6de1aa8bcf
|