Estimate the baseline of a GCIMS Sample using a connect local minima algorithm

# S4 method for class 'GCIMSDataset'
estimateBaseline(
  object,
  dt_peak_fwhm_ms,
  dt_region_multiplier,
  rt_length_s,
  remove = TRUE
)

Arguments

object

A GCIMSDataset object, modified in-place

dt_peak_fwhm_ms

Full Width at Half Maximum in milliseconds. Used to determine the length of the regions where local minima are searched.

dt_region_multiplier

A multiplier to calculate the region

rt_length_s

The length of the baseline region. It should be comparable or longer than the peak width

remove

A boolean, if TRUE it removes the baseline from the intensity

Value

The modified GCIMSDataset