linumpy.io.allen#

Methods to download data from the Allen Institute.

Attributes#

Functions#

download_template(resolution[, cache, cache_dir])

Download a 3D average mouse brain.

Module Contents#

linumpy.io.allen.AVAILABLE_RESOLUTIONS = [10, 25, 50, 100][source]#
linumpy.io.allen.download_template(resolution, cache=True, cache_dir='.data/')[source]#

Download a 3D average mouse brain.

Parameters.#

resolution

Allen template resolution in micron. Must be 10, 25, 50 or 100.

cache

Keep the downloaded volume in cache

cache_dir

Cache directory

rtype:

Allen average mouse brain.

Parameters:
Return type:

SimpleITK.Image