sav.gol: Estimate the baseline by using Savitzky-Golay Algorithm

Description Usage Arguments Value Note Author(s)

View source: R/sav.gol.R

Description

Estimate the baseline by using Savitzky-Golay Algorithm

Usage

1
sav.gol(T, fl, forder = 4, dorder = 0)

Arguments

T

vector of signals to be filtered

fl

filter length (for instance fl = 51..151)

forder

filter order (2 = quadratic filter, 4= quartic)

dorder

derivative order (0 = smoothing, 1 = first derivative, etc.)

Value

The return is a smoothed vector (baseline).

Note

This function was added by Steffen Neumann. We appreciated his help to make the package better.

Author(s)

Steffen Neumann <sneumann@ipb-halle.de>


MassSpecWavelet documentation built on Nov. 8, 2020, 5:36 p.m.