MSDataStoringConsumer#
- class pyopenms.MSDataStoringConsumer#
Bases:
object
Cython implementation of _MSDataStoringConsumer
Original C++ documentation is available here
Consumer class that simply stores the data
This class is able to keep spectra and chromatograms passed to it in memory and the data can be accessed through getData()
- __init__()#
Overload:
- __init__(self) None
Overload:
- __init__(self, in_0: MSDataStoringConsumer) None
Methods
Overload:
consumeChromatogram
(self, in_0)consumeSpectrum
(self, s)getData
(self)setExpectedSize
(self, expectedSpectra, ...)Sets expected size
setExperimentalSettings
(self, exp)Sets experimental settings
- consumeChromatogram(self, in_0: MSChromatogram) None #
- consumeSpectrum(self, s: MSSpectrum) None #
- getData(self) MSExperiment #
- setExpectedSize(self, expectedSpectra: int, expectedChromatograms: int) None #
Sets expected size
- setExperimentalSettings(self, exp: ExperimentalSettings) None #
Sets experimental settings