Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Chromatogram

Hierarchy

  • Chromatogram

Index

Constructors

constructor

Accessors

firstTime

  • get firstTime(): number

lastTime

  • get lastTime(): number

length

  • get length(): number

Methods

addSeries

applyLockMass

calculateBpc

calculateEic

calculateForMF

calculateLength

  • Calculate length (number of points of each related information) and save it in the "length" series.

    Parameters

    • seriesName: string

      Name of the series to make calculation on. It must be a 2D series.

    • Optional options: CalculateOptions

    Returns Chromatogram

calculateTic

copy

deconvolution

deleteSeries

filter

  • Will filter the entries based on the index and time.

    Parameters

    • callback: (index: number, time: number) => boolean
        • (index: number, time: number): boolean
        • Parameters

          • index: number
          • time: number

          Returns boolean

    • Optional options: FilterOptions

    Returns Chromatogram

getClosestData

getClosestTime

  • getClosestTime(time: number): number
  • Returns the index of the closest real time to the specified one.

    Parameters

    • time: number

      Retention time.

    Returns number

    • Time index.

getMzVsTimesMatrix

getPeaks

getSeries

getSeries1D

getSeries2D

getSeriesNames

  • getSeriesNames(): string[]

getTimes

  • getTimes(): number[]

hasMass

  • hasMass(): boolean

hasSeries

  • hasSeries(seriesName: string): boolean
  • Returns whether the series exists.

    Parameters

    • seriesName: string

      Name of the series to check.

    Returns boolean

integrate

meanFilter

merge

percentageFilter

requiresSeries

  • requiresSeries(seriesName: string): void
  • Throws an error if the series does not exist.

    Parameters

    • seriesName: string

      Name of the series to check.

    Returns void

rescaleTime

  • rescaleTime(conversionFunction: (time: number) => number): Chromatogram
  • Modifies the time applying the conversion function.

    Parameters

    • conversionFunction: (time: number) => number
        • (time: number): number
        • Parameters

          • time: number

          Returns number

    Returns Chromatogram

setTimes

toJSON

  • toJSON(): { series: {}; times: number[] }