Constructors
constructor
- new AnalysesManager(): AnalysesManager
Properties
analyses
Methods
addAnalysis
- addAnalysis(analysis): void
Returns void
getAnalyses
- getAnalyses(options?): Analysis[]
Parameters
Optional
options: GetAnalysesOptions
getAnalysisBySpectrumId
- getAnalysisBySpectrumId(id): undefined | Analysis
Returns undefined | Analysis
getAnalysisIndex
- getAnalysisIndex(id): undefined | number
Returns undefined | number
getDistinctDataTypes
- getDistinctDataTypes(): CounterType[]
Returns CounterType[]
getDistinctLabelUnits
- getDistinctLabelUnits(): {
count: number;
key: string;
label: string;
units: string;
}[] Returns {
count: number;
key: string;
label: string;
units: string;
}[]
getDistinctLabels
- getDistinctLabels(): CounterType[]
Returns CounterType[]
getDistinctMeta
- getDistinctMeta(): DifferentType[]
Returns DifferentType[]
getDistinctTitles
- getDistinctTitles(): CounterType[]
Returns CounterType[]
getDistinctUnits
- getDistinctUnits(): CounterType[]
Returns CounterType[]
getSpectra
- getSpectra(): Spectrum<DoubleArray>[]
Returns Spectrum<DoubleArray>[]
getSpectrumById
- getSpectrumById(id): undefined | Spectrum<DoubleArray>
Returns undefined | Spectrum<DoubleArray>
includes
- includes(id): boolean
Returns boolean
removeAllAnalyses
- removeAllAnalyses(): void
Returns void
removeAnalysis
- removeAnalysis(id): undefined | Analysis[]
Returns undefined | Analysis[]
Static
fromJSON
- fromJSON(json): AnalysesManager
Returns the index of the analysis in the analyses array