View source: R/mrs_data_proc.R
set_lw | R Documentation |
Apply line-broadening to an mrs_data object to achieve a specified linewidth.
set_lw(mrs_data, lw, xlim = c(4, 0.5), lg = 1, mask_narrow = TRUE)
mrs_data |
data in. |
lw |
target linewidth in units of ppm. |
xlim |
region to search for peaks to obtain a linewidth estimate. |
lg |
Lorentz-Gauss lineshape parameter. |
mask_narrow |
masks spectra where the requested linewidth is too narrow, if set FALSE the spectra are not changed. |
line-broadened data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.