ml-spectra-processing
    Preparing search index...

    Function xysFilter

    • Removes the slots of an aligned set of spectra that too few spectra contain.

      requiredY, minNumberOfSpectra and minConsecutiveSpectra are the criteria, and minY only says what they count as contained. They may be combined, a slot is kept only when it passes all the ones that are set, so with no criterion set nothing is removed. They only ever remove slots, the y values are never changed.

      Parameters

      • data: DataXYs

        aligned spectra, as returned by the align methods.

      • options: XYsFilterOptions = {}

        options.

      Returns DataXYs<Float64Array<ArrayBufferLike>>

      the same spectra with the rejected slots removed.