SpectrumAccessOpenMSCached#

class pyopenms.SpectrumAccessOpenMSCached#

Bases: object

Cython implementation of _SpectrumAccessOpenMSCached

Original C++ documentation is available here

– Inherits from [‘ISpectrumAccess’]

__init__()#

Overload:

__init__(self) None

Overload:

__init__(self, filename: bytes | str | String) None

An implementation of the Spectrum Access interface using on-disk caching

This class implements the OpenSWATH Spectrum Access interface (ISpectrumAccess) using the CachedmzML class which is able to read and write a cached mzML file

Overload:

__init__(self, in_0: SpectrumAccessOpenMSCached) 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