ml-spectra-processing
    Preparing search index...

    Function xyReduceNonContinuous

    • Reduce the number of points while keeping visually the same noise. Practical to display many spectra as SVG. This algorithm is designed for non-continuous data. We are expecting peaks to be only positive and the x values to be ordered. SHOULD NOT BE USED FOR DATA PROCESSING !!!

      Parameters

      • data: DataXY

        Object that contains property x (an ordered increasing array) and y (an array)

      • options: XYReduceOptions = {}

        options

      Returns DataXY<DoubleArray>

      Object with x and y arrays