Plot a subject

Use torchio.Subject.plot() to plot the images within a subject.

Out:

Downloading http://packages.bic.mni.mcgill.ca/mni-models/colin27/mni_colin27_1998_nifti.zip to /home/docs/.cache/torchio/mni_colin27_1998_nifti/mni_colin27_1998_nifti.zip

0it [00:00, ?it/s]
  0%|          | 0/24250681 [00:00<?, ?it/s]
  1%|          | 122880/24250681 [00:00<00:21, 1119025.04it/s]
  1%|          | 237568/24250681 [00:00<00:22, 1081128.80it/s]
  2%|1         | 368640/24250681 [00:00<00:21, 1129501.10it/s]
  2%|1         | 483328/24250681 [00:00<00:21, 1099276.85it/s]
  2%|2         | 598016/24250681 [00:00<00:21, 1081165.75it/s]
  3%|2         | 712704/24250681 [00:00<00:21, 1071508.87it/s]
  3%|3         | 827392/24250681 [00:01<00:22, 1063680.56it/s]
  4%|3         | 958464/24250681 [00:01<00:21, 1102400.78it/s]
  4%|4         | 1073152/24250681 [00:01<00:21, 1085430.82it/s]
  5%|4         | 1187840/24250681 [00:01<00:21, 1072351.43it/s]
  5%|5         | 1302528/24250681 [00:01<00:21, 1063110.73it/s]
  6%|5         | 1417216/24250681 [00:01<00:21, 1058400.42it/s]
  6%|6         | 1531904/24250681 [00:01<00:21, 1054326.41it/s]
  7%|6         | 1638400/24250681 [00:01<00:21, 1034699.45it/s]
  7%|7         | 1744896/24250681 [00:01<00:22, 1015290.68it/s]
  8%|7         | 1859584/24250681 [00:02<00:21, 1020766.21it/s]
  8%|8         | 1974272/24250681 [00:02<00:21, 1027390.62it/s]
  9%|8         | 2088960/24250681 [00:02<00:21, 1032164.95it/s]
  9%|9         | 2195456/24250681 [00:02<00:21, 1023187.78it/s]
  9%|9         | 2301952/24250681 [00:02<00:21, 1008012.17it/s]
 10%|9         | 2416640/24250681 [00:02<00:21, 1012660.52it/s]
 10%|#         | 2531328/24250681 [00:02<00:21, 1020378.40it/s]
 11%|#         | 2637824/24250681 [00:02<00:21, 1013267.66it/s]
 11%|#1        | 2744320/24250681 [00:02<00:21, 993620.59it/s]
 12%|#1        | 2850816/24250681 [00:03<00:21, 994947.94it/s]
 12%|#2        | 2957312/24250681 [00:03<00:21, 979198.92it/s]
 13%|#2        | 3055616/24250681 [00:03<00:22, 957264.34it/s]
 13%|#3        | 3153920/24250681 [00:03<00:22, 944843.49it/s]
 13%|#3        | 3268608/24250681 [00:03<00:21, 969498.43it/s]
 14%|#3        | 3383296/24250681 [00:03<00:20, 998650.13it/s]
 14%|#4        | 3497984/24250681 [00:03<00:20, 1013348.83it/s]
 15%|#4        | 3604480/24250681 [00:03<00:20, 1000948.93it/s]
 15%|#5        | 3727360/24250681 [00:03<00:19, 1035875.52it/s]
 16%|#5        | 3842048/24250681 [00:04<00:19, 1039243.26it/s]
 16%|#6        | 3956736/24250681 [00:04<00:19, 1039399.52it/s]
 17%|#6        | 4063232/24250681 [00:04<00:19, 1022525.21it/s]
 17%|#7        | 4186112/24250681 [00:04<00:19, 1047532.23it/s]
 18%|#7        | 4292608/24250681 [00:04<00:19, 1029321.07it/s]
 18%|#8        | 4399104/24250681 [00:04<00:19, 1011391.89it/s]
 19%|#8        | 4513792/24250681 [00:04<00:19, 1021795.10it/s]
 19%|#9        | 4628480/24250681 [00:04<00:19, 1023755.24it/s]
 20%|#9        | 4734976/24250681 [00:04<00:19, 1013305.78it/s]
 20%|#9        | 4841472/24250681 [00:05<00:19, 984949.84it/s]
 20%|##        | 4947968/24250681 [00:05<00:19, 995774.66it/s]
 21%|##        | 5054464/24250681 [00:05<00:19, 985342.95it/s]
 21%|##1       | 5160960/24250681 [00:05<00:19, 985082.11it/s]
 22%|##1       | 5267456/24250681 [00:05<00:20, 915702.88it/s]
 22%|##2       | 5382144/24250681 [00:05<00:19, 947732.78it/s]
 23%|##2       | 5480448/24250681 [00:05<00:20, 936097.62it/s]
 23%|##3       | 5578752/24250681 [00:05<00:20, 925317.70it/s]
 23%|##3       | 5677056/24250681 [00:05<00:20, 919502.74it/s]
 24%|##3       | 5791744/24250681 [00:06<00:19, 954330.43it/s]
 24%|##4       | 5906432/24250681 [00:06<00:18, 984257.70it/s]
 25%|##4       | 6012928/24250681 [00:06<00:18, 981541.55it/s]
 25%|##5       | 6119424/24250681 [00:06<00:18, 979179.62it/s]
 26%|##5       | 6234112/24250681 [00:06<00:18, 998667.17it/s]
 26%|##6       | 6348800/24250681 [00:06<00:17, 1011942.72it/s]
 27%|##6       | 6479872/24250681 [00:06<00:16, 1064812.19it/s]
 27%|##7       | 6594560/24250681 [00:06<00:16, 1059206.90it/s]
 28%|##7       | 6709248/24250681 [00:06<00:16, 1056081.22it/s]
 28%|##8       | 6823936/24250681 [00:07<00:16, 1053157.98it/s]
 29%|##8       | 6938624/24250681 [00:07<00:16, 1050205.06it/s]
 29%|##9       | 7069696/24250681 [00:07<00:15, 1092324.34it/s]
 30%|##9       | 7184384/24250681 [00:07<00:15, 1079199.85it/s]
 30%|###       | 7299072/24250681 [00:07<00:15, 1068656.19it/s]
 31%|###       | 7413760/24250681 [00:07<00:15, 1061007.37it/s]
 31%|###1      | 7520256/24250681 [00:07<00:16, 1038311.60it/s]
 31%|###1      | 7626752/24250681 [00:07<00:16, 1018744.13it/s]
 32%|###1      | 7757824/24250681 [00:07<00:15, 1069175.87it/s]
 32%|###2      | 7872512/24250681 [00:08<00:15, 1063863.91it/s]
 33%|###2      | 7987200/24250681 [00:08<00:15, 1057859.63it/s]
 33%|###3      | 8118272/24250681 [00:08<00:14, 1097291.19it/s]
 34%|###3      | 8232960/24250681 [00:08<00:14, 1083287.20it/s]
 34%|###4      | 8347648/24250681 [00:08<00:14, 1072686.08it/s]
 35%|###4      | 8478720/24250681 [00:08<00:14, 1106356.58it/s]
 35%|###5      | 8593408/24250681 [00:08<00:14, 1088801.01it/s]
 36%|###5      | 8708096/24250681 [00:08<00:14, 1076785.47it/s]
 36%|###6      | 8839168/24250681 [00:08<00:13, 1110552.78it/s]
 37%|###6      | 8953856/24250681 [00:09<00:14, 1091315.06it/s]
 37%|###7      | 9068544/24250681 [00:09<00:14, 1078174.26it/s]
 38%|###7      | 9183232/24250681 [00:09<00:14, 1067796.49it/s]
 38%|###8      | 9297920/24250681 [00:09<00:14, 1060245.59it/s]
 39%|###8      | 9428992/24250681 [00:09<00:13, 1098894.37it/s]
 39%|###9      | 9543680/24250681 [00:09<00:13, 1083259.60it/s]
 40%|###9      | 9658368/24250681 [00:09<00:13, 1072946.98it/s]
 40%|####      | 9789440/24250681 [00:09<00:13, 1108061.63it/s]
 41%|####      | 9904128/24250681 [00:09<00:13, 1091206.57it/s]
 41%|####1     | 10018816/24250681 [00:10<00:13, 1078008.30it/s]
 42%|####1     | 10133504/24250681 [00:10<00:13, 1067800.33it/s]
 42%|####2     | 10248192/24250681 [00:10<00:13, 1060829.69it/s]
 43%|####2     | 10362880/24250681 [00:10<00:13, 1057386.18it/s]
 43%|####3     | 10477568/24250681 [00:10<00:13, 1055821.59it/s]
 44%|####3     | 10608640/24250681 [00:10<00:12, 1094796.65it/s]
 44%|####4     | 10723328/24250681 [00:10<00:12, 1080822.76it/s]
 45%|####4     | 10838016/24250681 [00:10<00:12, 1072086.43it/s]
 45%|####5     | 10952704/24250681 [00:10<00:12, 1063293.62it/s]
 46%|####5     | 11067392/24250681 [00:11<00:12, 1056501.13it/s]
 46%|####6     | 11173888/24250681 [00:11<00:12, 1034782.40it/s]
 47%|####6     | 11280384/24250681 [00:11<00:12, 1016031.42it/s]
 47%|####6     | 11395072/24250681 [00:11<00:12, 1024198.63it/s]
 47%|####7     | 11509760/24250681 [00:11<00:12, 1031488.16it/s]
 48%|####7     | 11624448/24250681 [00:11<00:12, 1034129.66it/s]
 48%|####8     | 11739136/24250681 [00:11<00:12, 1038402.88it/s]
 49%|####8     | 11853824/24250681 [00:11<00:11, 1043938.94it/s]
 49%|####9     | 11968512/24250681 [00:11<00:11, 1041021.93it/s]
 50%|####9     | 12083200/24250681 [00:11<00:11, 1046266.25it/s]
 50%|#####     | 12197888/24250681 [00:12<00:11, 1046350.89it/s]
 51%|#####     | 12328960/24250681 [00:12<00:10, 1085788.12it/s]
 51%|#####1    | 12443648/24250681 [00:12<00:10, 1078117.26it/s]
 52%|#####1    | 12558336/24250681 [00:12<00:10, 1068739.61it/s]
 52%|#####2    | 12673024/24250681 [00:12<00:10, 1062844.67it/s]
 53%|#####2    | 12787712/24250681 [00:12<00:10, 1057618.94it/s]
 53%|#####3    | 12902400/24250681 [00:12<00:10, 1053186.38it/s]
 54%|#####3    | 13008896/24250681 [00:12<00:10, 1030477.35it/s]
 54%|#####4    | 13115392/24250681 [00:12<00:11, 1007945.94it/s]
 55%|#####4    | 13221888/24250681 [00:13<00:11, 1001662.59it/s]
 55%|#####4    | 13328384/24250681 [00:13<00:11, 988929.68it/s]
 55%|#####5    | 13434880/24250681 [00:13<00:12, 866332.65it/s]
 56%|#####5    | 13541376/24250681 [00:13<00:11, 896101.65it/s]
 56%|#####6    | 13656064/24250681 [00:13<00:11, 937729.39it/s]
 57%|#####6    | 13770752/24250681 [00:13<00:10, 971696.18it/s]
 57%|#####7    | 13901824/24250681 [00:13<00:10, 1032549.49it/s]
 58%|#####7    | 14016512/24250681 [00:13<00:09, 1036989.68it/s]
 58%|#####8    | 14131200/24250681 [00:14<00:09, 1038607.95it/s]
 59%|#####8    | 14245888/24250681 [00:14<00:09, 1043218.09it/s]
 59%|#####9    | 14360576/24250681 [00:14<00:09, 1044818.23it/s]
 60%|#####9    | 14491648/24250681 [00:14<00:08, 1085845.61it/s]
 60%|######    | 14606336/24250681 [00:14<00:08, 1073719.35it/s]
 61%|######    | 14721024/24250681 [00:14<00:08, 1063579.42it/s]
 61%|######1   | 14827520/24250681 [00:14<00:09, 1037817.45it/s]
 62%|######1   | 14934016/24250681 [00:14<00:09, 1017160.59it/s]
 62%|######2   | 15048704/24250681 [00:14<00:08, 1024985.57it/s]
 62%|######2   | 15155200/24250681 [00:14<00:08, 1015730.06it/s]
 63%|######2   | 15261696/24250681 [00:15<00:08, 1001703.70it/s]
 63%|######3   | 15376384/24250681 [00:15<00:08, 1011323.88it/s]
 64%|######3   | 15491072/24250681 [00:15<00:08, 1020996.16it/s]
 64%|######4   | 15597568/24250681 [00:15<00:08, 1011344.95it/s]
 65%|######4   | 15704064/24250681 [00:15<00:08, 998754.55it/s]
 65%|######5   | 15818752/24250681 [00:15<00:08, 1013314.55it/s]
 66%|######5   | 15925248/24250681 [00:15<00:08, 1003561.59it/s]
 66%|######6   | 16031744/24250681 [00:15<00:08, 994313.44it/s]
 67%|######6   | 16146432/24250681 [00:15<00:08, 1009076.24it/s]
 67%|######7   | 16261120/24250681 [00:16<00:07, 1020502.89it/s]
 68%|######7   | 16375808/24250681 [00:16<00:07, 1027477.30it/s]
 68%|######8   | 16490496/24250681 [00:16<00:07, 1033601.18it/s]
 68%|######8   | 16605184/24250681 [00:16<00:07, 1036458.85it/s]
 69%|######8   | 16719872/24250681 [00:16<00:07, 1040736.43it/s]
 69%|######9   | 16834560/24250681 [00:16<00:07, 1040340.13it/s]
 70%|######9   | 16949248/24250681 [00:16<00:07, 1042876.20it/s]
 70%|#######   | 17063936/24250681 [00:16<00:06, 1046653.66it/s]
 71%|#######   | 17178624/24250681 [00:16<00:06, 1046279.92it/s]
 71%|#######1  | 17309696/24250681 [00:17<00:06, 1090450.47it/s]
 72%|#######1  | 17424384/24250681 [00:17<00:06, 1074797.09it/s]
 72%|#######2  | 17539072/24250681 [00:17<00:06, 1066573.19it/s]
 73%|#######2  | 17653760/24250681 [00:17<00:06, 1062795.81it/s]
 73%|#######3  | 17768448/24250681 [00:17<00:06, 1058025.98it/s]
 74%|#######3  | 17883136/24250681 [00:17<00:06, 1055662.11it/s]
 74%|#######4  | 18014208/24250681 [00:17<00:05, 1095312.59it/s]
 75%|#######4  | 18128896/24250681 [00:17<00:05, 1080876.61it/s]
 75%|#######5  | 18243584/24250681 [00:17<00:05, 1070945.80it/s]
 76%|#######5  | 18358272/24250681 [00:18<00:05, 1063894.94it/s]
 76%|#######6  | 18489344/24250681 [00:18<00:05, 1101825.46it/s]
 77%|#######6  | 18604032/24250681 [00:18<00:05, 1086166.75it/s]
 77%|#######7  | 18718720/24250681 [00:18<00:05, 1075110.41it/s]
 78%|#######7  | 18833408/24250681 [00:18<00:05, 1066593.46it/s]
 78%|#######8  | 18964480/24250681 [00:18<00:04, 1103962.32it/s]
 79%|#######8  | 19079168/24250681 [00:18<00:04, 1086627.99it/s]
 79%|#######9  | 19193856/24250681 [00:18<00:04, 1074889.09it/s]
 80%|#######9  | 19308544/24250681 [00:18<00:04, 1065748.03it/s]
 80%|########  | 19423232/24250681 [00:19<00:04, 1060595.26it/s]
 81%|########  | 19554304/24250681 [00:19<00:04, 1099380.42it/s]
 81%|########1 | 19668992/24250681 [00:19<00:04, 1083894.88it/s]
 82%|########1 | 19800064/24250681 [00:19<00:03, 1115767.13it/s]
 82%|########2 | 19914752/24250681 [00:19<00:03, 1095371.32it/s]
 83%|########2 | 20029440/24250681 [00:19<00:03, 1079148.39it/s]
 83%|########3 | 20144128/24250681 [00:19<00:03, 1070357.10it/s]
 84%|########3 | 20258816/24250681 [00:19<00:03, 1062860.84it/s]
 84%|########4 | 20373504/24250681 [00:19<00:03, 1057302.23it/s]
 84%|########4 | 20488192/24250681 [00:20<00:03, 1052395.20it/s]
 85%|########4 | 20602880/24250681 [00:20<00:03, 1049922.99it/s]
 85%|########5 | 20709376/24250681 [00:20<00:03, 1029576.92it/s]
 86%|########5 | 20815872/24250681 [00:20<00:03, 1010568.21it/s]
 86%|########6 | 20922368/24250681 [00:20<00:03, 1006112.55it/s]
 87%|########6 | 21028864/24250681 [00:20<00:03, 990222.87it/s]
 87%|########7 | 21143552/24250681 [00:20<00:03, 1005762.42it/s]
 88%|########7 | 21258240/24250681 [00:20<00:02, 1012980.37it/s]
 88%|########8 | 21364736/24250681 [00:20<00:02, 1004808.97it/s]
 89%|########8 | 21471232/24250681 [00:21<00:02, 991277.98it/s]
 89%|########8 | 21577728/24250681 [00:21<00:02, 992567.90it/s]
 89%|########9 | 21684224/24250681 [00:21<00:02, 980318.23it/s]
 90%|########9 | 21782528/24250681 [00:21<00:02, 960693.04it/s]
 90%|######### | 21897216/24250681 [00:21<00:02, 979863.88it/s]
 91%|######### | 22011904/24250681 [00:21<00:02, 998268.25it/s]
 91%|#########1| 22126592/24250681 [00:21<00:02, 1011600.74it/s]
 92%|#########1| 22241280/24250681 [00:21<00:01, 1021362.16it/s]
 92%|#########2| 22355968/24250681 [00:21<00:01, 1029053.15it/s]
 93%|#########2| 22470656/24250681 [00:22<00:01, 1034674.22it/s]
 93%|#########3| 22601728/24250681 [00:22<00:01, 1081039.79it/s]
 94%|#########3| 22716416/24250681 [00:22<00:01, 1070640.56it/s]
 94%|#########4| 22831104/24250681 [00:22<00:01, 1063401.50it/s]
 95%|#########4| 22945792/24250681 [00:22<00:01, 1059839.70it/s]
 95%|#########5| 23076864/24250681 [00:22<00:01, 1096596.27it/s]
 96%|#########5| 23191552/24250681 [00:22<00:00, 1080450.41it/s]
 96%|#########6| 23306240/24250681 [00:22<00:00, 1073420.25it/s]
 97%|#########6| 23420928/24250681 [00:22<00:00, 1066067.36it/s]
 97%|#########7| 23535616/24250681 [00:23<00:00, 1056817.04it/s]
 97%|#########7| 23642112/24250681 [00:23<00:00, 1033806.94it/s]
 98%|#########7| 23748608/24250681 [00:23<00:00, 1014128.44it/s]
 98%|#########8| 23863296/24250681 [00:23<00:00, 1024126.66it/s]
 99%|#########8| 23977984/24250681 [00:23<00:00, 998485.68it/s]
 99%|#########9| 24092672/24250681 [00:23<00:00, 1013024.17it/s]
100%|#########9| 24207360/24250681 [00:23<00:00, 1023271.75it/s]
24256512it [00:23, 1023474.70it/s]

import torchio as tio

tio.datasets.Colin27().plot()

Total running time of the script: ( 0 minutes 28.863 seconds)

Gallery generated by Sphinx-Gallery