ml-airpls
    Preparing search index...

    Interface AirPLSOptions

    interface AirPLSOptions {
        autoDownsample?: boolean;
        controlPoints?: NumberArray;
        lambda?: number;
        maxIterations?: number;
        maxResolution?: number;
        tolerance?: number;
        weights?: NumberArray;
        zones?: { from: number; to: number }[];
    }
    Index

    Properties

    autoDownsample?: boolean

    Enable automatic downsampling for large datasets to speed up computation.

    false
    
    controlPoints?: NumberArray

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

    Maximum resolution (number of points) before downsampling is applied. Only used if autoDownsample is true.

    5000
    
    tolerance?: number

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

    0.001
    
    weights?: NumberArray

    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.