Skip to content

Commit ef57b77

Browse files
demianweffigies
authored andcommitted
Unified the CIFTI2 spelling in the documentation
1 parent 068d9ac commit ef57b77

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

nibabel/cifti2/cifti2.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def _to_xml_element(self):
174174

175175

176176
class Cifti2LabelTable(xml.XmlSerializable, collections.MutableMapping):
177-
""" Cifti2 label table: a sequence of ``Cifti2Label``s
177+
""" CIFTI2 label table: a sequence of ``Cifti2Label``s
178178
179179
* Description - Used by NamedMap when IndicesMapToDataType is
180180
"CIFTI_INDEX_TYPE_LABELS" in order to associate names and display colors
@@ -232,7 +232,7 @@ def _to_xml_element(self):
232232

233233

234234
class Cifti2Label(xml.XmlSerializable):
235-
""" Cifti2 label: association of integer key with a name and RGBA values
235+
""" CIFTI2 label: association of integer key with a name and RGBA values
236236
237237
For all color components, value is floating point with range 0.0 to 1.0.
238238
@@ -310,7 +310,7 @@ def _to_xml_element(self):
310310

311311

312312
class Cifti2NamedMap(xml.XmlSerializable):
313-
"""Cifti2 named map: association of name and optional data with a map index
313+
"""CIFTI2 named map: association of name and optional data with a map index
314314
315315
Associates a name, optional metadata, and possibly a LabelTable with an
316316
index in a map.
@@ -428,7 +428,7 @@ def _to_xml_element(self):
428428

429429

430430
class Cifti2VoxelIndicesIJK(xml.XmlSerializable, collections.MutableSequence):
431-
"""Cifti2 VoxelIndicesIJK: Set of voxel indices contained in a structure
431+
"""CIFTI2 VoxelIndicesIJK: Set of voxel indices contained in a structure
432432
433433
* Description - Identifies the voxels that model a brain structure, or
434434
participate in a parcel. Note that when this is a child of BrainModel,
@@ -510,7 +510,7 @@ def _to_xml_element(self):
510510

511511

512512
class Cifti2Vertices(xml.XmlSerializable, collections.MutableSequence):
513-
"""Cifti2 vertices - association of brain structure and a list of vertices
513+
"""CIFTI2 vertices - association of brain structure and a list of vertices
514514
515515
* Description - Contains a BrainStructure type and a list of vertex indices
516516
within a Parcel.
@@ -576,7 +576,7 @@ def _to_xml_element(self):
576576

577577

578578
class Cifti2Parcel(xml.XmlSerializable):
579-
"""Cifti2 parcel: association of a name with vertices and/or voxels
579+
"""CIFTI2 parcel: association of a name with vertices and/or voxels
580580
581581
* Description - Associates a name, plus vertices and/or voxels, with an
582582
index.
@@ -687,7 +687,7 @@ def _to_xml_element(self):
687687

688688

689689
class Cifti2Volume(xml.XmlSerializable):
690-
"""Cifti2 volume: information about a volume for mappings that use voxels
690+
"""CIFTI2 volume: information about a volume for mappings that use voxels
691691
692692
* Description - Provides information about the volume for any mappings that
693693
use voxels.
@@ -730,7 +730,7 @@ def _to_xml_element(self):
730730

731731

732732
class Cifti2VertexIndices(xml.XmlSerializable, collections.MutableSequence):
733-
"""Cifti2 vertex indices: vertex indices for an associated brain model
733+
"""CIFTI2 vertex indices: vertex indices for an associated brain model
734734
735735
The vertex indices (which are independent for each surface, and
736736
zero-based) that are used in this brain model[.] The parent
@@ -1146,7 +1146,7 @@ def _to_xml_element(self):
11461146

11471147

11481148
class Cifti2Header(FileBasedHeader, xml.XmlSerializable):
1149-
''' Class for Cifti2 header extension '''
1149+
''' Class for CIFTI2 header extension '''
11501150

11511151
def __init__(self, matrix=None, version="2.0"):
11521152
FileBasedHeader.__init__(self)
@@ -1220,7 +1220,7 @@ def nifti_header(self):
12201220

12211221
@classmethod
12221222
def from_file_map(klass, file_map):
1223-
""" Load a Cifti2 image from a file_map
1223+
""" Load a CIFTI2 image from a file_map
12241224
12251225
Parameters
12261226
----------

0 commit comments

Comments
 (0)