powered by
Generates a system noise dataset with specified dimensions and standard deviation. The noise can be either Gaussian or Rician distributed.
systemnoise(dim, nscan, type=c("gaussian","rician"), sigma, vee, template, verbose = TRUE)
An array containing the noise with dimensions specified in dim and nscan.
A vector specifying the dimensions of the image.
The number of scans in the dataset.
Distribution of system noise. Default is gaussian.
The standard deviation of the noise.
If type=="rician", the non-centrality parameter of the distribution .
type=="rician"
An array representing the anatomical structure or mask with dimensions equal to dim.
Logical indicating if warnings should be printed.
M. Welvaert
temporalnoise, lowfreqdrift, physnoise, tasknoise, spatialnoise
temporalnoise
lowfreqdrift
physnoise
tasknoise
spatialnoise
d <- c(10,10,10) sigma <- 5 nscan <- 100 out <- systemnoise(d, nscan, type="rician", sigma, verbose=FALSE) rm(d,sigma,nscan,out)
Run the code above in your browser using DataLab