Methods
addAnalysis
- addAnalysis(analysis): void
Returns void
getAnalyses
- getAnalyses(options?): Analysis[]
Parameters
options: GetAnalysesOptions = {}
getAnalysisIndex
- getAnalysisIndex(id): undefined | number
Returns undefined | number
getDistinctLabelUnits
- getDistinctLabelUnits(): {
count: number;
key: string;
label: string;
units: string;
}[] Returns {
count: number;
key: string;
label: string;
units: string;
}[]
getSpectrumById
- getSpectrumById(id): undefined | Spectrum<DoubleArray>
Returns undefined | Spectrum<DoubleArray>
includes
- includes(id): boolean
Returns boolean
removeAllAnalyses
- removeAllAnalyses(): void
Returns void
Returns the index of the analysis in the analyses array