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 dataset constructor (a string), e.g.
"fmri_dataset"or"matrix_dataset". 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"fmri_dataset":scans,TR,run_length,event_table,mask,base_path, ...).- source
Either
"file"(paths; nothing loaded until run) or"inline"(data already inargs, e.g. amatrix_dataset).