CachedMzMLHandler

class pyopenms.CachedMzMLHandler

Bases: object

Cython implementation of _CachedMzMLHandler

Original C++ documentation is available here

– Inherits from [‘ProgressLogger’]

__init__()

Overload:

__init__(self) None

An internal class that handles single spectra and chromatograms

Overload:

__init__(self, in_0: CachedMzMLHandler) None

Methods

__init__

Overload:

createMemdumpIndex(self, filename)

Create an index on the location of all the spectra and chromatograms

endProgress(self)

Ends the progress display

getChromatogramIndex(self)

getLogType(self)

Returns the type of progress log being used

getSpectraIndex(self)

nextProgress(self)

Increment progress by 1 (according to range begin-end)

readMemdump(self, exp, filename)

Read all spectra from a dump from the disk

setLogType(self, in_0)

Sets the progress log that should be used.

setProgress(self, value)

Sets the current progress

startProgress(self, begin, end, label)

writeMemdump(self, exp, out)

Write complete spectra as a dump to the disk

writeMetadata(self, exp, out_meta)

Write only the meta data of an MSExperiment

createMemdumpIndex(self, filename: Union[bytes, str, String]) None

Create an index on the location of all the spectra and chromatograms

endProgress(self) None

Ends the progress display

getChromatogramIndex(self) List[streampos]
getLogType(self) int

Returns the type of progress log being used

getSpectraIndex(self) List[streampos]
nextProgress(self) None

Increment progress by 1 (according to range begin-end)

readMemdump(self, exp: MSExperiment, filename: Union[bytes, str, String]) None

Read all spectra from a dump from the disk

setLogType(self, in_0: int) None

Sets the progress log that should be used. The default type is NONE!

setProgress(self, value: int) None

Sets the current progress

startProgress(self, begin: int, end: int, label: Union[bytes, str, String]) None
writeMemdump(self, exp: MSExperiment, out: Union[bytes, str, String]) None

Write complete spectra as a dump to the disk

writeMetadata(self, exp: MSExperiment, out_meta: Union[bytes, str, String]) None

Write only the meta data of an MSExperiment