ml-spectra-processing
    Preparing search index...

    Function xyMassCenterVector

    • We will calculate a vector containing center of mass of DataXY as well as center of mass of both parts, etc. This approach allows to efficiently represent spectra like XPS, NMR, etc. It should provide an extremely efficient way to store and search similar spectra.

      Parameters

      • data: DataXY

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

      • options: XYMassCenterVectorOptions = {}

      Returns Float64Array

      • Array of centers of mass