ml-gsd
    Preparing search index...

    Function setShape

    • Append 2 properties to the peaks, shape and fwhm

      Type Parameters

      • T extends { width: number }

      Parameters

      • peaks: T[]
      • options: { output?: T[]; shape?: Shape1D } = {}
        • Optionaloutput?: T[]
        • Optionalshape?: Shape1D

          Shape to use to calculate FWHM

          "{ kind: 'gaussian' }"
          

      Returns (T & { shape: Shape1D })[]