Last data update: 2014.03.03
|
R: Generate system noise
systemnoise | R Documentation |
Generate system noise
Description
Generates a system noise dataset with specified dimensions and standard deviation. The noise can be either Gaussian or Rician distributed.
Usage
systemnoise(dim, nscan, type=c("gaussian","rician"), sigma, vee, template,
verbose = TRUE)
Arguments
dim |
A vector specifying the dimensions of the image.
|
nscan |
The number of scans in the dataset.
|
type |
Distribution of system noise. Default is gaussian.
|
sigma |
The standard deviation of the noise.
|
vee |
If type=="rician" , the non-centrality parameter of the distribution .
|
template |
An array representing the anatomical structure or mask with dimensions equal to dim.
|
verbose |
Logical indicating if warnings should be printed.
|
Value
An array containing the noise with dimensions specified in dim and nscan.
Author(s)
M. Welvaert
See Also
temporalnoise , lowfreqdrift , physnoise , tasknoise , spatialnoise
Examples
d <- c(10,10,10)
sigma <- 5
nscan <- 100
out <- systemnoise(d, nscan, type="rician", sigma, verbose=FALSE)
Results
|