Apply line-broadening to an mrs_data object to achieve a specified linewidth.

set_lw(mrs_data, lw, xlim = c(4, 0.5))

Arguments

mrs_data

data in.

lw

target linewidth in units of ppm.

xlim

region to search for peaks to obtain a linewidth estimate.

Value

line-broadened data.