sim_noise: Simulate an mrs_data object containing simulated Gaussian...

Description Usage Arguments Value

View source: R/mrs_data_proc.R

Description

Simulate an mrs_data object containing simulated Gaussian noise.

Usage

1
2
3
4
5
6
7
8
9
sim_noise(
  sd = 0.1,
  fs = def_fs(),
  ft = def_ft(),
  N = def_N(),
  ref = def_ref(),
  dyns = 1,
  fd = TRUE
)

Arguments

sd

standard deviation of the noise.

fs

sampling frequency in Hz.

ft

transmitter frequency in Hz.

N

number of data points in the spectral dimension.

ref

reference value for ppm scale.

dyns

number of dynamic scans to generate.

fd

return data in the frequency-domain (TRUE) or time-domain (FALSE)

Value

mrs_data object.


neuroconductor-devel/spant documentation built on May 18, 2021, 9:12 p.m.