View source: R/mrs_data_proc.R
sim_noise | R Documentation |
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(),
nuc = def_nuc(),
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. |
nuc |
resonant nucleus. |
dyns |
number of dynamic scans to generate. |
fd |
return data in the frequency-domain (TRUE) or time-domain (FALSE) |
mrs_data object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.