Skip to content

Instantly share code, notes, and snippets.

@dyf
Last active August 20, 2018 21:23
Show Gist options
  • Save dyf/ed57e5a6f5732d6f4ac39305c964e77b to your computer and use it in GitHub Desktop.
Save dyf/ed57e5a6f5732d6f4ac39305c964e77b to your computer and use it in GitHub Desktop.
from allensdk.core.mouse_connectivity_cache import MouseConnectivityCache
mcc = MouseConnectivityCache(manifest_file="/data/dynamic-brain-workshop/mouse_connectivity_cache/manifest.json",
resolution=10)
tv, _ = mcc.get_template_volume()
fig, ax = plt.subplots(figsize=(10,10))
plt.imshow(tv[:,515,:], cmap='gray')
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment