Skip to contents

Smooths spectra using the Savitzky-Golay algorithm from the pracma package.

Usage

RamanSettings_SmoothSpectra_savgol(fl = 11, forder = 4, dorder = 0)

Arguments

fl

Numeric (length 1) with the filter length (for instance fl = 51..151), has to be odd.

forder

Numeric (length 1) with the order of the filter (2 = quadratic filter, 4 = quartic).

dorder

Numeric (length 1) with the order of the derivative (0 = smoothing, 1 = first derivative, etc.).

Value

A RamanSettings_SmoothSpectra_savgol object.