ml-spectra-processing
    Preparing search index...

    Interface XYAlignOptions

    interface XYAlignOptions {
        common?: boolean;
        delta?: number | ((arg: number) => number);
        x?: "x1" | "x2" | "weighted";
    }
    Index

    Properties

    Properties

    common?: boolean

    If true, only the data considered as common to both spectra is kept. If false, the data y arrays are completed with zeroes where no common values are found

    true
    
    delta?: number | ((arg: number) => number)

    The range in which the two x values of the spectra must be to be placed on the same line. It may also be a function that allows to change delta depending on the X values of the spectrum

    1
    
    x?: "x1" | "x2" | "weighted"

    Defines what x values should be kept (x1 : spectrum 1 x values, x2 spectrum 2 x values, weighted: weighted average of both spectra x values)

    "x1"