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;
      } = {}
      • Optional factor?: number

        Default

        2
        
      • Optional overlap?: boolean

        by default we don't allow overlap

        Default

        false
        

    Returns WithIDOrShape<T>[]

    peakList