ml-airpls
    Preparing search index...

    Interface AirPLSOptions

    interface AirPLSOptions {
        controlPoints?: Int8Array<ArrayBufferLike>;
        lambda?: number;
        maxIterations?: number;
        tolerance?: number;
        weights?: Float64Array<ArrayBufferLike>;
        zones?: { from: number; to: number }[];
    }
    Index

    Properties

    controlPoints?: Int8Array<ArrayBufferLike>

    Array of 0|1 to force the baseline to cross those points.

    lambda?: number

    Smoothing parameter. Factor of weights matrix in -> [I + lambda D'D]z = x.

    10
    
    maxIterations?: number

    Maximal number of iterations if the method does not reach the stop criterion.

    100
    
    tolerance?: number

    Factor of the sum of absolute value of original data, to compute stop criterion.

    0.001
    
    weights?: Float64Array<ArrayBufferLike>

    Initial weights vector, default each point has the same weight.

    zones?: { from: number; to: number }[]

    Array of x axis ranges (as from - to), to force the baseline to cross those zones.