systemnoise | R Documentation |
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)
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 |
template |
An array representing the anatomical structure or mask with dimensions equal to dim. |
verbose |
Logical indicating if warnings should be printed. |
An array containing the noise with dimensions specified in dim and nscan.
M. Welvaert
temporalnoise
, lowfreqdrift
, physnoise
, tasknoise
, spatialnoise
d <- c(10,10,10)
sigma <- 5
nscan <- 100
out <- systemnoise(d, nscan, type="rician", sigma, verbose=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.