Interface AutoPeakPickingOptions

interface AutoPeakPickingOptions {
    from?: number;
    maxCriteria?: boolean;
    minMaxRatio?: number;
    minPeakWidth?: number;
    noiseLevel?: number;
    normalizationOptions?: NormalizedSpectrumOptions;
    realTopDetection?: boolean;
    sgOptions?: SGGOptions;
    shape?: Shape1D;
    smoothY?: boolean;
    to?: number;
    xVariable?: OneLowerCase;
    yVariable?: OneLowerCase;
}

Hierarchy

  • GSDOptions
    • AutoPeakPickingOptions

Properties

from?: number

First X value for the peak picking (default: first X value

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
minPeakWidth?: number

Minimal peak width

noiseLevel?: number

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

normalizationOptions?: NormalizedSpectrumOptions

Normalization can be applied before peak picking. This is useful for example to correct baseline while still have a minMaxRatio filter

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}
shape?: Shape1D
smoothY?: boolean

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

Default

false
to?: number

Last X value for the peak picking (default: last X value

xVariable?: OneLowerCase

x variable label, by default 'x'

yVariable?: OneLowerCase

y variable label, by default 'y'