Set spectral data points to a given value.
set_spec_values(mrs_data, xlim = NULL, value = 0, invert = FALSE)mrs_data object with modified spectral data points.
data to be processed.
spectral region (in ppm) of data points to set. If NULL (default) all spectral points will be set.
value to set the spectral region. Defaults to zero.
set all spectral points outside the spectral region to the given value.