powered by
Generates a low-frequency drift dataset with specified dimensions and frequency.
lowfreqdrift(dim, freq = 128, nscan, TR, template, verbose = TRUE)
An array containing the drift with dimensions specified in dim.
A vector specifying the dimensions of the image.
The frequency of the drift in seconds.
The number of scans in the dataset.
The repetition time in seconds.
An array representing the anatomical structure or mask with dimensions equal to dim.
Logical indicating if warnings should be printed.
Y. Rosseel, M. Welvaert
The function generates low-frequency drift based on a basis set of cosine functions. The result is an array with specified dimensions and frequency.
Friston et al. (2007). Statistical Parametric Mapping: The analysis of functional brain images. Academic Press.
temporalnoise, systemnoise, physnoise, tasknoise, spatialnoise
temporalnoise
systemnoise
physnoise
tasknoise
spatialnoise
d <- c(10,10,10) freq <- 80 nscan <- 100 TR <- 2 out <- lowfreqdrift(d, freq, nscan, TR, verbose=FALSE) rm(d,freq,nscan,TR,out)
Run the code above in your browser using DataLab