The IndexOffset and IndexCount fields of a brain model entry say which
matrix entries it covers. They are derived from the index lists (and from the surface
sizes or the volume for a model that covers everything), and they have to cover the
dimension without gaps, so they are always computed here rather than taken from the
caller.
cifti.compute.index.ranges(models, volume = NULL)the models, with index_offset and index_count set.
list of brain model entries, see cifti.brain.model.surface.
a volume or NULL, see cifti.volume. Needed for a volume
model that has no voxel index list (which covers all voxels of the volume).