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.
Release files for mousebrains 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mousebrains-0.0.4.tar.gz | 10.8 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mousebrains-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.4 MB
Release files / mousebrains-0.0.4.tar.gz
| Download URL | mousebrains-0.0.4.tar.gz |
|---|---|
| Size | 10.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
df4b4fd28eabb5cf3cecfb9dfdfff9d7059b5d223bd9ba2cfd4ba4779898c204
|
|
BLAKE2b-256 checksum How to use checksums |
64506eb5f1fcdf91d0c32dc4e5b6ea8f448acdcfe3361fbbf2e04d1541ebf35e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Release files / mousebrains-0.0.4-py3-none-any.whl
| Download URL | mousebrains-0.0.4-py3-none-any.whl |
|---|---|
| Size | 10.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
117208483004a6e32710247270bc2b02fc695195b0ca8a889e26f3e29e42ea83
|
|
BLAKE2b-256 checksum How to use checksums |
c8976e5fe6ff23d11f139d11445f87a92eb714fd76846ea0df9b0c6de1aa8bcf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|