Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AnalysesManager

Hierarchy

  • AnalysesManager

Index

Constructors

constructor

Properties

analyses

analyses: Analysis[]

Methods

addAnalysis

getAnalyses

  • getAnalyses(options?: GetAnalysesOptions): Analysis[]

getAnalysisIndex

  • getAnalysisIndex(id: string): undefined | number
  • Returns the index of the analysis in the analyses array

    Parameters

    • id: string

    Returns undefined | number

getDistinctDataTypes

getDistinctLabels

getDistinctMeta

getDistinctTitles

getDistinctUnits

getSpectra

includes

  • includes(id: string): boolean
  • Checks if the ID of an analysis exists in the AnalysesManager

    Parameters

    • id: string

    Returns boolean

removeAllAnalyses

  • removeAllAnalyses(): void

removeAnalysis

  • removeAnalysis(id: string): undefined | Analysis[]