ml-gsd
    Preparing search index...

    Function addMissingShape

    • Add a shape property to peaks that do not have one. If a peak already has a shape but no fwhm, the FWHM is computed from peak.width.

      Type Parameters

      • T extends { width: number }

      Parameters

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

      A peak list where every peak has a shape property.