ml-gsd
    Preparing search index...

    Function broadenPeaks

    • This method will allow to enlarge peaks while preventing overlap between peaks A typical application in chromatography peak picking. We should not make the hypothesis that x is equidistant Because peaks may not be symmetric after we add 2 properties, from and to.

      Type Parameters

      • T extends GSDPeakOptionalShape

      Parameters

      • peakList: T[]
      • options: { factor?: number; overlap?: boolean } = {}
        • Optionalfactor?: number
          2
          
        • Optionaloverlap?: boolean

          by default we don't allow overlap

          false
          

      Returns WithIDOrShape<T>[]

      peakList