MSDataSqlConsumer#
- class pyopenms.MSDataSqlConsumer#
Bases:
IMSDataConsumerA data consumer that inserts MS data into a SQLite database
- __init__(arg0: str, arg1: int, arg2: int, arg3: bool, arg4: bool, arg5: float, /) None#
Methods
__init__(arg0, arg1, arg2, arg3, arg4, arg5, /)Write a chromatogram to the output file
Write a spectrum to the output file
flush()Flushes the data for good
setExpectedSize(expectedSpectra, ...)- consumeChromatogram(c: pyopenms.MSChromatogram) None#
Write a chromatogram to the output file
- consumeSpectrum(s: pyopenms.MSSpectrum) None#
Write a spectrum to the output file
- flush() None#
Flushes the data for good
After calling this function, no more data is held in the buffer but the class is still able to receive new data
- setExpectedSize(expectedSpectra: int, expectedChromatograms: int) None#
- setExperimentalSettings(exp: pyopenms.ExperimentalSettings) None#