Interface GSDOptions

interface GSDOptions {
    maxCriteria?: boolean;
    minMaxRatio?: number;
    noiseLevel?: number;
    realTopDetection?: boolean;
    sgOptions?: SGGOptions;
    smoothY?: boolean;
}

Properties

maxCriteria?: boolean

Peaks are local maxima (true) or minima (false)

Default

true
minMaxRatio?: number

Minimal height of small peaks based on the ratio between min and max

Default

0.00025
noiseLevel?: number

Peak under the noiseLevel (or over in case of maxCriteria=false) are ignored.

realTopDetection?: boolean

Use a quadratic optimizations with the peak and its 3 closest neighbors

Default

false
sgOptions?: SGGOptions

Options for the Savitzky-Golay generalised algorithm. This algorithm is used to calculate the first ans second derivative. It is also used when smoothY:true to smooth the spectrum for peak picking. The Y values in case of smoothY is true will therefore be lower.

Default

{windowSize:9,polynomial:3}
smoothY?: boolean

Select the peak intensities from a smoothed version of the independent variables

Default

false