MappedNeuroVec-class | R Documentation |
A class representing a four-dimensional brain image, backed by a memory-mapped file. MappedNeuroVec objects store their data in a memory-mapped file, providing efficient access to large brain images without loading the entire dataset into memory. This class inherits from the NeuroVec
and implements the ArrayLike4D
interface.
constructs a MappedNeuroVec object
MappedNeuroVec(file_name)
file_name |
the name of the 4D image file that containing the memory-mapped data source. |
a new instance of type MappedNeuroVec
filemap
An instance of the mmap
class representing the memory-mapped file containing the brain image data.
offset
An integer representing the offset (in bytes) within the memory-mapped file where the brain image data starts.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.