linumpy.reference.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.reference.allen.AVAILABLE_RESOLUTIONS = [10, 25, 50, 100][source]#
linumpy.reference.allen.download_template(resolution, cache=True, cache_dir='.data/')[source]#

Download a 3D average mouse brain.

Parameters:
  • resolution (int) – Allen template resolution in micron. Must be 10, 25, 50 or 100.

  • cache (bool) – Keep the downloaded volume in cache

  • cache_dir (str) – Cache directory

Return type:

Allen average mouse brain.