In [1]:
%matplotlib inline
The data
folder can be found in the same folder as this notebook. Just drag and drop your NIfTI file into the data folder and press the upload button.
In [2]:
stats_file = '../test_data/ALL_N95_Mean_cope2_thresh_zstat1.nii.gz'
view = 'ortho'
colormap = 'RdBu_r'
threshold = '2.3'
black_bg
In [13]:
%run ../scripts/mni_glass_brain.py --cbar --display_mode $view --cmap $colormap --thr_abs $threshold $stats_file
In [14]:
from IPython.display import Image, display
from glob import glob as gg
outputs = gg('../test_data/*ortho.png')
for o in outputs:
a = Image(filename=o)
display(a)
In [9]:
plotting.plot_glass_brain??
In [ ]: