SpectrumAccessOpenMS#

class pyopenms.SpectrumAccessOpenMS#

Bases: object

OpenMS class SpectrumAccessOpenMS

__init__(ms_experiment: pyopenms.MSExperiment) → None#

Methods

__init__(ms_experiment)

getChromatogramById(id)

Get chromatogram by index

getChromatogramNativeID(id)

Returns the native ID of the chromatogram

getNrChromatograms()

Get number of chromatograms

getNrSpectra()

Get number of spectra

getSpectraByRT(RT, deltaRT)

Returns spectra indices within RT range

getSpectrumById(id)

Get spectrum by index

getChromatogramById(id: int) → pyopenms.OSChromatogram#

Get chromatogram by index

getChromatogramNativeID(id: int) → str#

Returns the native ID of the chromatogram

getNrChromatograms() → int#

Get number of chromatograms

getNrSpectra() → int#

Get number of spectra

getSpectraByRT(RT: float, deltaRT: float) → list[int]#

Returns spectra indices within RT range

getSpectrumById(id: int) → pyopenms.OSSpectrum#

Get spectrum by index