ml-gsd
    Preparing search index...

    Function setShape

    • Append a shape property (including fwhm) to every peak.

      Type Parameters

      • T extends { width: number }

      Parameters

      • peaks: T[]

        Peaks with a width property.

      • options: SetShapeOptions<T> = {}

        Shape options.

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

      A peak list where every peak has a shape property.