systemnoise: Generate system noise

Description Usage Arguments Value Author(s) See Also Examples

View source: R/systemnoise.R

Description

Generates a system noise dataset with specified dimensions and standard deviation. The noise can be either Gaussian or Rician distributed.

Usage

1
2
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

1
2
3
4
d <- c(10,10,10)
sigma <- 5
nscan <- 100
out <- systemnoise(d, nscan, type="rician", sigma, verbose=FALSE)

neuRosim documentation built on May 1, 2019, 8:47 p.m.