Smoothing a GCIMS dataset using a Savitzky-Golay filter

# S4 method for GCIMSDataset
smooth(x, dt_length_ms = 0.14, rt_length_s = 3, dt_order = 2, rt_order = 2)

Arguments

x

A GCIMSDataset object, modified in-place

dt_length_ms

the length of the filter in drift time (in ms)

rt_length_s

The length of the filter in retention time (in s)

dt_order

The order of the filter in drift time

rt_order

The order of the filter in retention time

Value

The modified GCIMSDataset