OptimalWindowsSG: Find optimal window's size for Savitzky Golay filter

View source: R/peak_detection.R

OptimalWindowsSGR Documentation

Find optimal window's size for Savitzky Golay filter

Description

Find optimal window's size for Savitzky Golay filter

Usage

OptimalWindowsSG(sp, noiseacf, d = 3)

Arguments

sp

the array of specrtum values

noiseacf

autocorrelation of the noise

d

the degree of Savitzky Golay filter

Value

the optimal size of Savitzky Golay filter's windows


camilleroquencourt/ptairMS documentation built on April 19, 2024, 1:27 p.m.