A small, serializable recipe for a dataset: the name of a dataset constructor plus the arguments to call it with. For file-backed data the arguments are paths and run lengths (no voxel data), which keeps the enclosing fmri_job tiny and portable. The dataset is realized lazily on the worker.
Arguments
- constructor
Name of a frame constructor (a string): one of
"nifti_frame","matrix_frame","neurovec_frame", or"latent_frame". Resolved at run time, so the data is not loaded when the spec is built.- args
A named list of arguments passed to
constructor(for"nifti_frame":scans,TR,run_length,event_table,mask,base_path, ...).- source
Either
"file"(paths; nothing loaded until run) or"inline"(data already inargs, e.g. a matrix formatrix_frame).