File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1288,7 +1288,7 @@ def from_axes(cls, axes):
12881288
12891289 Parameters
12901290 ----------
1291- axes : Tuple[ cifti2_axes.Axis]
1291+ axes : tuple of :class`. cifti2_axes.Axis`
12921292 sequence of Cifti2 axes describing each row/column of the matrix to be stored
12931293
12941294 Returns
@@ -1328,7 +1328,7 @@ def __init__(self,
13281328 Object containing image data. It should be some object that
13291329 returns an array from ``np.asanyarray``. It should have a
13301330 ``shape`` attribute or property.
1331- header : Cifti2Header instance or Sequence[ cifti2_axes.Axis]
1331+ header : Cifti2Header instance or sequence of :class:` cifti2_axes.Axis`
13321332 Header with data for / from XML part of CIFTI-2 format.
13331333 Alternatively a sequence of cifti2_axes.Axis objects can be provided
13341334 describing each dimension of the array.
Original file line number Diff line number Diff line change @@ -124,11 +124,11 @@ def from_index_mapping(mim):
124124
125125 Parameters
126126 ----------
127- mim : cifti2.Cifti2MatrixIndicesMap
127+ mim : :class:`. cifti2.Cifti2MatrixIndicesMap`
128128
129129 Returns
130130 -------
131- subtype of Axis
131+ subclass of :class:` Axis`
132132 """
133133 return_type = {'CIFTI_INDEX_TYPE_SCALARS' : ScalarAxis ,
134134 'CIFTI_INDEX_TYPE_LABELS' : LabelAxis ,
@@ -149,7 +149,7 @@ def to_header(axes):
149149
150150 Returns
151151 -------
152- cifti2.Cifti2Header
152+ :class:`. cifti2.Cifti2Header`
153153 """
154154 axes = tuple (axes )
155155 mims_all = []
@@ -777,7 +777,7 @@ def from_brain_models(cls, named_brain_models):
777777 for idx_parcel , (parcel_name , bm ) in enumerate (named_brain_models ):
778778 all_names .append (parcel_name )
779779
780- voxels = bm .voxel [~ bm .surface_mask ]
780+ voxels = bm .voxel [bm .volume_mask ]
781781 if voxels .shape [0 ] != 0 :
782782 if affine is None :
783783 affine = bm .affine
You can’t perform that action at this time.
0 commit comments