• 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<NumberArray>

      First spectrum data

    • data2: DataXY<NumberArray>

      Second spectrum data

    • options: XYAlignOptions = {}

      Options

    Returns XYAlignResult