# Stats Patient 02 - Acquisitions 1, 2 and 3

```01. import numpy as np
02.
03. patient02a01 = '/awmedia/freesurfer/subjects/patient04/stats/patient04.aseg.sum'
04. patient02a02 = '/awmedia/freesurfer/subjects/patient05/stats/patient05.aseg.sum'
05. patient02a03 = '/awmedia/freesurfer/subjects/patient06/stats/patient06.aseg.sum'
06.
07. organ02a01 = np.loadtxt(patient02a01,usecols = [4],dtype = str)
08. volume02a01 =  np.loadtxt(patient02a01,usecols = [3])
09.
10. print "Acquisition 01"
11. for i in xrange(volume02a01.size):
12.     print organ02a01[i] + ': ',volume02a01[i]
13.
14. organ02a02 = np.loadtxt(patient02a02,usecols = [4],dtype = str)
15. volume02a02 =  np.loadtxt(patient02a02,usecols = [3])
16.
17. print
18. print
19. print "Acquisition 02"
20. for i in xrange(volume02a02.size):
21.     print organ02a02[i] + ': ',volume02a02[i]
22.
23.
24. organ02a03 = np.loadtxt(patient02a03,usecols = [4],dtype = str)
25. volume02a03 =  np.loadtxt(patient02a03,usecols = [3])
26.
27. print
28. print
29. print "Acquisition 03"
30. for i in xrange(volume02a03.size):
31.     print organ02a03[i] + ': ',volume02a03[i]
32.
33. errora01a02 =  np.abs(volume02a01- volume02a02)/volume02a01*100
34.
35. print "Error a01 vs a02:"
36. for i in xrange(volume02a01.size):
37.     if (organ02a02[i] == organ02a01[i]):
38.         print organ02a01[i] + ': ', errora01a02[i]
39.
40.
41.
42.
43. print
44. print
45. print "Error a01 vs a03:"
46. errora01a03 = np.abs(volume02a01- volume02a03)/volume02a01*100
47. for i in xrange(volume02a01.size):
48.     if (organ02a02[i] == organ02a01[i]):
49.         print organ02a01[i] + ': ', errora01a03[i]```
```Acquisition 01
Left-Cerebral-White-Matter:  170300.0
Left-Cerebral-Cortex:  206946.0
Left-Lateral-Ventricle:  5291.0
Left-Inf-Lat-Vent:  255.0
Left-Cerebellum-White-Matter:  14900.0
Left-Cerebellum-Cortex:  45060.0
Left-Thalamus-Proper:  7204.0
Left-Caudate:  3801.0
Left-Putamen:  6180.0
Left-Pallidum:  1300.0
3rd-Ventricle:  632.0
4th-Ventricle:  1847.0
Brain-Stem:  19046.0
Left-Hippocampus:  4521.0
Left-Amygdala:  1769.0
CSF:  825.0
Left-Accumbens-area:  770.0
Left-VentralDC:  3484.0
Left-vessel:  87.0
Left-choroid-plexus:  1298.0
Right-Cerebral-White-Matter:  176367.0
Right-Cerebral-Cortex:  217492.0
Right-Lateral-Ventricle:  5125.0
Right-Inf-Lat-Vent:  143.0
Right-Cerebellum-White-Matter:  15056.0
Right-Cerebellum-Cortex:  48579.0
Right-Thalamus-Proper:  6616.0
Right-Caudate:  3962.0
Right-Putamen:  6314.0
Right-Pallidum:  1280.0
Right-Hippocampus:  4575.0
Right-Amygdala:  2311.0
Right-Accumbens-area:  873.0
Right-VentralDC:  3554.0
Right-vessel:  119.0
Right-choroid-plexus:  1460.0
WM-hypointensities:  1468.0
non-WM-hypointensities:  11.0
Optic-Chiasm:  115.0
CC_Posterior:  890.0
CC_Mid_Posterior:  453.0
CC_Central:  381.0
CC_Mid_Anterior:  394.0
CC_Anterior:  801.0

Acquisition 02
Left-Cerebral-White-Matter:  178985.0
Left-Cerebral-Cortex:  212012.0
Left-Lateral-Ventricle:  5043.0
Left-Inf-Lat-Vent:  292.0
Left-Cerebellum-White-Matter:  15160.0
Left-Cerebellum-Cortex:  47892.0
Left-Thalamus-Proper:  7382.0
Left-Caudate:  3900.0
Left-Putamen:  5675.0
Left-Pallidum:  1440.0
3rd-Ventricle:  615.0
4th-Ventricle:  1890.0
Brain-Stem:  19252.0
Left-Hippocampus:  4764.0
Left-Amygdala:  1619.0
CSF:  743.0
Left-Accumbens-area:  806.0
Left-VentralDC:  3429.0
Left-vessel:  77.0
Left-choroid-plexus:  1212.0
Right-Cerebral-White-Matter:  184525.0
Right-Cerebral-Cortex:  222671.0
Right-Lateral-Ventricle:  4893.0
Right-Inf-Lat-Vent:  151.0
Right-Cerebellum-White-Matter:  14252.0
Right-Cerebellum-Cortex:  49457.0
Right-Thalamus-Proper:  6447.0
Right-Caudate:  4165.0
Right-Putamen:  6634.0
Right-Pallidum:  1375.0
Right-Hippocampus:  4726.0
Right-Amygdala:  2508.0
Right-Accumbens-area:  913.0
Right-VentralDC:  3796.0
Right-vessel:  155.0
Right-choroid-plexus:  1577.0
WM-hypointensities:  1595.0
non-WM-hypointensities:  15.0
Optic-Chiasm:  164.0
CC_Posterior:  880.0
CC_Mid_Posterior:  459.0
CC_Central:  397.0
CC_Mid_Anterior:  393.0
CC_Anterior:  788.0

Acquisition 03
Left-Cerebral-White-Matter:  183284.0
Left-Cerebral-Cortex:  182552.0
Left-Lateral-Ventricle:  5440.0
Left-Inf-Lat-Vent:  285.0
Left-Cerebellum-White-Matter:  15008.0
Left-Cerebellum-Cortex:  48347.0
Left-Thalamus-Proper:  7685.0
Left-Caudate:  3835.0
Left-Putamen:  5287.0
Left-Pallidum:  1942.0
3rd-Ventricle:  638.0
4th-Ventricle:  2142.0
Brain-Stem:  20889.0
Left-Hippocampus:  4061.0
Left-Amygdala:  1324.0
CSF:  775.0
Left-Accumbens-area:  642.0
Left-VentralDC:  3292.0
Left-vessel:  86.0
Left-choroid-plexus:  1197.0
Right-Cerebral-White-Matter:  186678.0
Right-Cerebral-Cortex:  188195.0
Right-Lateral-Ventricle:  5242.0
Right-Inf-Lat-Vent:  258.0
Right-Cerebellum-White-Matter:  15752.0
Right-Cerebellum-Cortex:  51633.0
Right-Thalamus-Proper:  7009.0
Right-Caudate:  4045.0
Right-Putamen:  5411.0
Right-Pallidum:  1668.0
Right-Hippocampus:  4057.0
Right-Amygdala:  1701.0
Right-Accumbens-area:  725.0
Right-VentralDC:  3709.0
Right-vessel:  148.0
Right-choroid-plexus:  1501.0
WM-hypointensities:  748.0
non-WM-hypointensities:  8.0
Optic-Chiasm:  141.0
CC_Posterior:  811.0
CC_Mid_Posterior:  387.0
CC_Central:  348.0
CC_Mid_Anterior:  341.0
CC_Anterior:  700.0
Error a01 vs a02:
Left-Cerebral-White-Matter:  5.09982384028
Left-Cerebral-Cortex:  2.44798159906
Left-Lateral-Ventricle:  4.6872046872
Left-Inf-Lat-Vent:  14.5098039216
Left-Cerebellum-White-Matter:  1.74496644295
Left-Cerebellum-Cortex:  6.28495339547
Left-Thalamus-Proper:  2.47084952804
Left-Caudate:  2.6045777427
Left-Putamen:  8.1715210356
Left-Pallidum:  10.7692307692
3rd-Ventricle:  2.68987341772
4th-Ventricle:  2.32809962101
Brain-Stem:  1.08159193531
Left-Hippocampus:  5.37491705375
Left-Amygdala:  8.47936687394
CSF:  9.93939393939
Left-Accumbens-area:  4.67532467532
Left-VentralDC:  1.57864523536
Left-vessel:  11.4942528736
Left-choroid-plexus:  6.62557781202
Right-Cerebral-White-Matter:  4.62558188323
Right-Cerebral-Cortex:  2.38123701102
Right-Lateral-Ventricle:  4.52682926829
Right-Inf-Lat-Vent:  5.59440559441
Right-Cerebellum-White-Matter:  5.34006376196
Right-Cerebellum-Cortex:  1.80736532246
Right-Thalamus-Proper:  2.55441354293
Right-Caudate:  5.12367491166
Right-Putamen:  5.06810262908
Right-Pallidum:  7.421875
Right-Hippocampus:  3.30054644809
Right-Amygdala:  8.52444829078
Right-Accumbens-area:  4.58190148912
Right-VentralDC:  6.8092290377
Right-vessel:  30.2521008403
Right-choroid-plexus:  8.01369863014
WM-hypointensities:  8.65122615804
non-WM-hypointensities:  36.3636363636
Optic-Chiasm:  42.6086956522
CC_Posterior:  1.12359550562
CC_Mid_Posterior:  1.32450331126
CC_Central:  4.19947506562
CC_Mid_Anterior:  0.253807106599
CC_Anterior:  1.62297128589

Error a01 vs a03:
Left-Cerebral-White-Matter:  7.62419260129
Left-Cerebral-Cortex:  11.7876160931
Left-Lateral-Ventricle:  2.8161028161
Left-Inf-Lat-Vent:  11.7647058824
Left-Cerebellum-White-Matter:  0.724832214765
Left-Cerebellum-Cortex:  7.29471815357
Left-Thalamus-Proper:  6.67684619656
Left-Caudate:  0.894501446988
Left-Putamen:  14.4498381877
Left-Pallidum:  49.3846153846
3rd-Ventricle:  0.949367088608
4th-Ventricle:  15.9718462371
Brain-Stem:  9.67657250866
Left-Hippocampus:  10.1747401017
Left-Amygdala:  25.1554550594
CSF:  6.06060606061
Left-Accumbens-area:  16.6233766234
Left-VentralDC:  5.51090700344
Left-vessel:  1.14942528736
Left-choroid-plexus:  7.781201849
Right-Cerebral-White-Matter:  5.84633179676
Right-Cerebral-Cortex:  13.4703805197
Right-Lateral-Ventricle:  2.28292682927
Right-Inf-Lat-Vent:  80.4195804196
Right-Cerebellum-White-Matter:  4.62274176408
Right-Cerebellum-Cortex:  6.28666707837
Right-Thalamus-Proper:  5.94014510278
Right-Caudate:  2.09490156487
Right-Putamen:  14.3015521064
Right-Pallidum:  30.3125
Right-Hippocampus:  11.3224043716
Right-Amygdala:  26.3954997836
Right-Accumbens-area:  16.9530355097
Right-VentralDC:  4.36128306134
Right-vessel:  24.3697478992
Right-choroid-plexus:  2.80821917808
WM-hypointensities:  49.0463215259
non-WM-hypointensities:  27.2727272727
Optic-Chiasm:  22.6086956522
CC_Posterior:  8.87640449438
CC_Mid_Posterior:  14.5695364238
CC_Central:  8.66141732283
CC_Mid_Anterior:  13.4517766497
CC_Anterior:  12.6092384519
```