SpectrumAccessTransforming#

class pyopenms.SpectrumAccessTransforming#

Bases: object

Cython implementation of _SpectrumAccessTransforming

Original C++ documentation is available here

– Inherits from [‘ISpectrumAccess’]

__init__()#

Methods

__init__()

getChromatogramById(self, id_)

Returns a pointer to a chromatogram at the given id

getChromatogramNativeID(self, id_)

getNrChromatograms(self)

Returns the number of chromatograms available

getNrSpectra(self)

Returns the number of spectra available

getSpectraByRT(self, RT, deltaRT)

Returns a vector of ids of spectra that are within RT +/- deltaRT

getSpectrumById(self, id_)

Returns a pointer to a spectrum at the given string id

getChromatogramById(self, id_: int) OSChromatogram#

Returns a pointer to a chromatogram at the given id

getChromatogramNativeID(self, id_: int) str#
getNrChromatograms(self) int#

Returns the number of chromatograms available

getNrSpectra(self) int#

Returns the number of spectra available

getSpectraByRT(self, RT: float, deltaRT: float) List[int]#

Returns a vector of ids of spectra that are within RT +/- deltaRT

getSpectrumById(self, id_: int) OSSpectrum#

Returns a pointer to a spectrum at the given string id