OnDiscMSExperiment
- class pyopenms.OnDiscMSExperiment
Bases:
objectCython implementation of _OnDiscMSExperiment
Documentation is available at http://www.openms.de/current_doxygen/html/classOpenMS_1_1OnDiscMSExperiment.html
Representation of a mass spectrometry experiment on disk.
- __init__()
Cython signature: void OnDiscMSExperiment()
Cython signature: void OnDiscMSExperiment(OnDiscMSExperiment &)
Methods
Cython signature: void OnDiscMSExperiment()
Cython signature: MSChromatogram getChromatogram(size_t id)
Cython signature: shared_ptr[_Interfaces_Chromatogram] getChromatogramById(int id_) Returns a single chromatogram
Cython signature: MSChromatogram getChromatogramByNativeId(String id)
Cython signature: shared_ptr[const ExperimentalSettings] getExperimentalSettings() Returns the meta information of this experiment (const access)
Cython signature: shared_ptr[MSExperiment] getMetaData() Returns the meta information of this experiment
Cython signature: size_t getNrChromatograms() Returns the total number of chromatograms available
Cython signature: size_t getNrSpectra() Returns the total number of spectra available
Cython signature: MSSpectrum getSpectrum(size_t id)
Cython signature: shared_ptr[_Interfaces_Spectrum] getSpectrumById(int id_) Returns a single spectrum
Cython signature: MSSpectrum getSpectrumByNativeId(String id)
Cython signature: bool openFile(String filename)
Cython signature: void setSkipXMLChecks(bool skip) Sets whether to skip some XML checks and be fast instead
- getChromatogram()
Cython signature: MSChromatogram getChromatogram(size_t id)
- Parameters
id – The index of the chromatogram
- getChromatogramById()
Cython signature: shared_ptr[_Interfaces_Chromatogram] getChromatogramById(int id_) Returns a single chromatogram
- getChromatogramByNativeId()
Cython signature: MSChromatogram getChromatogramByNativeId(String id)
- Parameters
id – The native identifier of the chromatogram
- getExperimentalSettings()
Cython signature: shared_ptr[const ExperimentalSettings] getExperimentalSettings() Returns the meta information of this experiment (const access)
- getMetaData()
Cython signature: shared_ptr[MSExperiment] getMetaData() Returns the meta information of this experiment
- getNrChromatograms()
Cython signature: size_t getNrChromatograms() Returns the total number of chromatograms available
- getNrSpectra()
Cython signature: size_t getNrSpectra() Returns the total number of spectra available
- getSpectrum()
Cython signature: MSSpectrum getSpectrum(size_t id)
- Parameters
id – The index of the spectrum
- getSpectrumById()
Cython signature: shared_ptr[_Interfaces_Spectrum] getSpectrumById(int id_) Returns a single spectrum
- getSpectrumByNativeId()
Cython signature: MSSpectrum getSpectrumByNativeId(String id)
- Parameters
id – The native identifier of the spectrum
- openFile()
Cython signature: bool openFile(String filename)
Cython signature: bool openFile(String filename, bool skipLoadingMetaData)
returns: Whether the parsing of the file was successful (if false, the file most likely was not an indexed mzML file)
- setSkipXMLChecks()
Cython signature: void setSkipXMLChecks(bool skip) Sets whether to skip some XML checks and be fast instead