|
73 | 73 | 'CIFTI_STRUCTURE_THALAMUS_LEFT',
|
74 | 74 | 'CIFTI_STRUCTURE_THALAMUS_RIGHT')
|
75 | 75 |
|
76 |
| -''' |
77 |
| -CIFTI_ELEMENTS = {'CIFTI': {'Attributes': ['Version'], |
78 |
| - 'Children': [('Matrix', '1')], |
79 |
| - 'Parent': None |
80 |
| - }, |
81 |
| - 'Matrix': {'Attributes': None, |
82 |
| - 'Children': [('Metadata', '?'), |
83 |
| - ('MatrixIndicesMap', '+')], |
84 |
| - 'Parent': ['CIFTI'] |
85 |
| - }, |
86 |
| - 'Metadata': {'Attributes': None, |
87 |
| - 'Children': [('MD', '*')], |
88 |
| - 'Parent': ['Matrix', 'NamedMap'] |
89 |
| - }, |
90 |
| - 'MD': {'Attributes': None, |
91 |
| - 'Children': [('Name', '1'), |
92 |
| - ('Value', '1')], |
93 |
| - 'Parent': ['Metadata'] |
94 |
| - }, |
95 |
| - 'Name': {'Attributes': None, |
96 |
| - 'Children': None, |
97 |
| - 'Parent': ['MD'] |
98 |
| - }, |
99 |
| - 'Value': {'Attributes': None, |
100 |
| - 'Children': None, |
101 |
| - 'Parent': ['MD'] |
102 |
| - }, |
103 |
| - 'MatrixIndicesMap': {'Attributes': ['AppliesToMatrixDimension', |
104 |
| - ('IndicesMapToDataType', |
105 |
| - CIFTI_MAP_TYPES), |
106 |
| - 'NumberOfSeriesPoints', |
107 |
| - 'SeriesExponent', |
108 |
| - 'SeriesStart', |
109 |
| - 'SeriesStep', |
110 |
| - ('SeriesUnit', |
111 |
| - CIFTI_SERIESUNIT_TYPES)], |
112 |
| - 'Children': [('BrainModel', '*'), |
113 |
| - ('NamedMap', '*'), |
114 |
| - ('Parcel', '*'), |
115 |
| - ('Surface', '*'), |
116 |
| - ('Volume', '?')], |
117 |
| - 'Parent': ['Matrix'] |
118 |
| - }, |
119 |
| - 'NamedMap': {'Attributes': None, |
120 |
| - 'Children': [('MapName', '1'), |
121 |
| - ('LabelTable', '?'), |
122 |
| - ('MetaData', '?')], |
123 |
| - 'Parent': ['MatrixIndicesMap'] |
124 |
| - }, |
125 |
| -
|
126 |
| - } |
127 |
| -''' |
128 | 76 |
|
129 | 77 | class CiftiMetaData(object):
|
130 | 78 | """ A list of GiftiNVPairs in stored in
|
|
0 commit comments