Skip to content
BRain area Input Output
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
input AI hist.png
input AI.gif
output AI hist.png
output AI.gif


BRain area Input Output: visualization tool based on the Allen Brain Atlas projection database. It outputs a 3d reconstruction (circle size represents connectivity strenght) and a histogram.



Agranular insular area input

3d representation histogram

Agranular insular area (dorsal) output

3d representation histogram

General instructions

In both the get_input and get_output files you have to point to the location of template_volume_10um.npy, annotation_volume_10um_by_index.npy and structure_tree_safe_2017.csv (line 25 to 27)

To get output of region:

>> get_output(exp_id)

exp_id is the experiment ID (a numer like this one 485903475). Download of the data from the server might be quite slow (5 min), depends on your connection.

To get input of region:

do a target search here and then download the resulting CSV file. Import this file in Matlab workspace and name it input_table. Then type:

>> get_input(input_table)

Injection located inside the area of interest are deleted automatically

Input is normalized by injection volume. Projection_density (sum of detected projection pixels / sum of all pixels in voxel) was used to determine connectivity strenght.

Thanks to cortex-lab for providing such useful repositories for free!!!

Code written by Roberto De Filippo

You can’t perform that action at this time.