MSDataSqlConsumer#
- class pyopenms.MSDataSqlConsumer#
Bases:
objectCython implementation of _MSDataSqlConsumer
Original C++ documentation is available here
- __init__()#
Overload:
- __init__(self, filename: bytes | str | String, run_id: int, buffer_size: int, full_meta: bool, lossy_compression: bool, linear_mass_acc: float) None
Overload:
- __init__(self, in_0: MSDataSqlConsumer) None
Methods
Overload:
consumeChromatogram(self, c)Write a chromatogram to the output file
consumeSpectrum(self, s)Write a spectrum to the output file
flush(self)Flushes the data for good
setExpectedSize(self, expectedSpectra, ...)setExperimentalSettings(self, exp)- consumeChromatogram(self, c: MSChromatogram) None#
Write a chromatogram to the output file
- consumeSpectrum(self, s: MSSpectrum) None#
Write a spectrum to the output file
- flush(self) 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(self, expectedSpectra: int, expectedChromatograms: int) None#
- setExperimentalSettings(self, exp: ExperimentalSettings) None#