OptimalWindowsSG {ptairMS} | R 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

[Package ptairMS version 1.2.0 Index]