This function constructs a NeuroVecSource object, which represents the source of a four-dimensional brain image.
NeuroVecSource(file_name, indices = NULL, mask = NULL)An instance of the NeuroVecSource class.
The name of the 4-dimensional image file.
An optional integer vector specifying the subset of volume indices to load. If not provided, all volumes will be loaded.
An optional logical array or NeuroVol object defining
the subset of voxels to load. If provided, a SparseNeuroVecSource object will be created.
If a mask is supplied, it should be a LogicalNeuroVol or
NeuroVol instance. If the latter, then the mask will be defined by
nonzero elements of the volume.