MSDataSqlConsumer
- class pyopenms.MSDataSqlConsumer
Bases:
objectCython implementation of _MSDataSqlConsumer
Documentation is available at http://www.openms.de/current_doxygen/html/classOpenMS_1_1MSDataSqlConsumer.html
- __init__()
Cython signature: void MSDataSqlConsumer(String filename, uint64_t run_id, int buffer_size, bool full_meta, bool lossy_compression, double linear_mass_acc)
Cython signature: void MSDataSqlConsumer(MSDataSqlConsumer &)
Methods
Cython signature: void MSDataSqlConsumer(String filename, uint64_t run_id, int buffer_size, bool full_meta, bool lossy_compression, double linear_mass_acc)
Cython signature: void consumeChromatogram(MSChromatogram & c) Write a chromatogram to the output file
Cython signature: void consumeSpectrum(MSSpectrum & s) Write a spectrum to the output file
Cython signature: void flush()
Cython signature: void setExpectedSize(size_t expectedSpectra, size_t expectedChromatograms)
Cython signature: void setExperimentalSettings(ExperimentalSettings & exp)
- consumeChromatogram()
Cython signature: void consumeChromatogram(MSChromatogram & c) Write a chromatogram to the output file
- consumeSpectrum()
Cython signature: void consumeSpectrum(MSSpectrum & s) Write a spectrum to the output file
- flush()
Cython signature: void flush()
After calling this function, no more data is held in the buffer but the class is still able to receive new data
- setExpectedSize()
Cython signature: void setExpectedSize(size_t expectedSpectra, size_t expectedChromatograms)
- setExperimentalSettings()
Cython signature: void setExperimentalSettings(ExperimentalSettings & exp)