R/mrs_data_proc.R
sim_noise.Rd
Simulate an mrs_data object containing simulated Gaussian noise.
sim_noise(
sd = 0.1,
fs = def_fs(),
ft = def_ft(),
N = def_N(),
ref = def_ref(),
dyns = 1,
fd = TRUE
)
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) |
mrs_data object.