SpectrumAccessOpenMSCached

class pyopenms.SpectrumAccessOpenMSCached

Bases: object

Cython implementation of _SpectrumAccessOpenMSCached

Documentation is available at http://www.openms.de/current_doxygen/html/classOpenMS_1_1SpectrumAccessOpenMSCached.html

– Inherits from [‘ISpectrumAccess’]

__init__()
  • Cython signature: void SpectrumAccessOpenMSCached()

  • Cython signature: void SpectrumAccessOpenMSCached(String filename)

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

  • Cython signature: void SpectrumAccessOpenMSCached(SpectrumAccessOpenMSCached &)

Methods

__init__

  • Cython signature: void SpectrumAccessOpenMSCached()

getChromatogramById

Cython signature: shared_ptr[OSChromatogram] getChromatogramById(int id_) Returns a pointer to a chromatogram at the given id

getChromatogramNativeID

Cython signature: libcpp_utf8_output_string getChromatogramNativeID(int id_)

getNrChromatograms

Cython signature: size_t getNrChromatograms() Returns the number of chromatograms available

getNrSpectra

Cython signature: size_t getNrSpectra() Returns the number of spectra available

getSpectraByRT

Cython signature: libcpp_vector[size_t] getSpectraByRT(double RT, double deltaRT) Returns a vector of ids of spectra that are within RT +/- deltaRT

getSpectrumById

Cython signature: shared_ptr[OSSpectrum] getSpectrumById(int id_) Returns a pointer to a spectrum at the given string id

getChromatogramById()

Cython signature: shared_ptr[OSChromatogram] getChromatogramById(int id_) Returns a pointer to a chromatogram at the given id

getChromatogramNativeID()

Cython signature: libcpp_utf8_output_string getChromatogramNativeID(int id_)

getNrChromatograms()

Cython signature: size_t getNrChromatograms() Returns the number of chromatograms available

getNrSpectra()

Cython signature: size_t getNrSpectra() Returns the number of spectra available

getSpectraByRT()

Cython signature: libcpp_vector[size_t] getSpectraByRT(double RT, double deltaRT) Returns a vector of ids of spectra that are within RT +/- deltaRT

getSpectrumById()

Cython signature: shared_ptr[OSSpectrum] getSpectrumById(int id_) Returns a pointer to a spectrum at the given string id