Smoothing a GCIMS Spectrum using a Savitzky-Golay filter

# S4 method for GCIMSSpectrum
smooth(x, dt_length_ms, dt_order = 2)

Arguments

x

A GCIMSSpectrum object

dt_length_ms

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

dt_order

The order of the filter in drift time

Value

The modified GCIMSSpectrum