ml-spectra-processing
    Preparing search index...

    Function xyAlign

    • Align data of two spectra by verifying wether x values are in a certain range (delta). The two spectra should not have two consecutive x values which difference is smaller than delta to achieve good results!

      Parameters

      • data1: DataXY

        first spectrum data.

      • data2: DataXY

        second spectrum data.

      • options: XYAlignOptions = {}

        options.

      Returns XYAlignResult

      aligned x, y1, y2 arrays.