SpectrumAccessTransforming

class pyopenms.SpectrumAccessTransforming

Bases: object

Cython implementation of _SpectrumAccessTransforming

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

– Inherits from [‘ISpectrumAccess’]

__init__()

Methods

__init__()

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