SpectrumAccessQuadMZTransforming#

class pyopenms.SpectrumAccessQuadMZTransforming#

Bases: object

Cython implementation of _SpectrumAccessQuadMZTransforming

Original C++ documentation is available here

– Inherits from [‘SpectrumAccessTransforming’]

__init__()#

Overload:

__init__(self) None

Overload:

__init__(self, in_0: SpectrumAccessQuadMZTransforming) None

Overload:

__init__(self, in_0: SpectrumAccessOpenMS, a: float, b: float, c: float, ppm: bool) None

Overload:

__init__(self, in_0: SpectrumAccessOpenMSCached, a: float, b: float, c: float, ppm: bool) None

Overload:

__init__(self, in_0: SpectrumAccessOpenMSInMemory, a: float, b: float, c: float, ppm: bool) None

Methods

__init__

Overload:

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