Note
Go to the end to download the full example code.
Plot a subject¶
Use torchio.Subject.plot() to plot the images within a subject.

Downloading http://packages.bic.mni.mcgill.ca/mni-models/colin27/mni_colin27_1998_nifti.zip to /home/runner/.cache/torchio/mni_colin27_1998_nifti/mni_colin27_1998_nifti.zip
0it [00:00, ?it/s]
0%| | 0/24250681 [00:00<?, ?it/s]
2%|▏ | 393216/24250681 [00:00<00:06, 3425433.49it/s]
32%|███▏ | 7733248/24250681 [00:00<00:00, 42214021.21it/s]
82%|████████▏ | 19800064/24250681 [00:00<00:00, 76746552.83it/s]
24256512it [00:00, 41111492.20it/s]
import torchio as tio
tio.datasets.Colin27().plot()
Total running time of the script: (0 minutes 14.664 seconds)