Skip to content

navis-org/navis-mousebrains

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.3: added transforms for the Zheng CA3 dataset

Acknowledgements

TODO

Citing

TODO

When in doubt, please open an issue to ask for advice.

About

Template brains and transforms for mouse brains

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages