ml-gsd
    Preparing search index...

    Interface GSDOptions

    interface GSDOptions {
        maxCriteria?: boolean;
        minMaxRatio?: number;
        noiseLevel?: number;
        peakDetectionAlgorithm?: "first" | "second" | "auto";
        realTopDetection?: boolean;
        sgOptions?: SGGOptions;
        smoothY?: boolean;
    }
    Index

    Properties

    maxCriteria?: boolean

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

    true
    
    minMaxRatio?: number

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

    0.00025
    
    noiseLevel?: number

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

    peakDetectionAlgorithm?: "first" | "second" | "auto"

    Algorithm used for peak detection:

    • 'first': Uses the first derivative to detect peaks, detecting only the peaks which first derivative cross the zero.
    • 'second': Uses the second derivative to detect peaks (inflection points).
    • 'auto': Automatically selects the peaks by checking the zero crossing of the first derivative or the local minima in the second derivative.
    'second'
    
    realTopDetection?: boolean

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

    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.

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

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

    false