MSDataStoringConsumer#
- class pyopenms.MSDataStoringConsumer#
Bases:
IMSDataConsumerConsumer 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__() None#
- __init__(arg: pyopenms.MSDataStoringConsumer, /) None
Methods
__init__()getData()setExpectedSize(s_size, c_size)Sets expected size
setExperimentalSettings(settings)Sets experimental settings
- consumeChromatogram(c: pyopenms.MSChromatogram) None#
- consumeSpectrum(s: pyopenms.MSSpectrum) None#
- getData() pyopenms.MSExperiment#
- setExpectedSize(s_size: int, c_size: int) None#
Sets expected size
- setExperimentalSettings(settings: pyopenms.ExperimentalSettings) None#
Sets experimental settings