PeakMapExtractor#
- class pyopenms.PeakMapExtractor#
Bases:
ProgressLoggerExtract raw mz/RT/IM peak clouds for targeted OpenSWATH coordinates.
Use this together with SpectrumAccessOpenMS and a list of ExtractionCoordinates. If you start from a TargetedExperiment, you can reuse ChromatogramExtractor.prepare_coordinates(…) to generate the coordinates before calling extractPeakMaps(…).
- __init__() None#
- __init__(arg: pyopenms.PeakMapExtractor, /) None
Methods
__init__()endProgress([bytes_processed])Ends the progress display
extractPeakMaps(input, ...[, filter])Overloaded function.
Returns the type of progress log being used
Increment progress by 1 (according to range begin-end)
setLogType(type)Sets the progress log that should be used.
setProgress(value)Sets the current progress
startProgress(begin, end, label)Attributes
- CMD = 0#
- GUI = 1#
- NONE = 2#
- endProgress(bytes_processed: int = 0) None#
Ends the progress display
- extractPeakMaps(input: pyopenms.SpectrumAccessOpenMS, extraction_coordinates: collections.abc.Sequence[pyopenms.ExtractionCoordinates], mz_extraction_window: float, ppm: bool, im_extraction_window: float, filter: str = 'tophat') list[pyopenms.ExtractedPeakMap]#
- extractPeakMaps(input: pyopenms.SpectrumAccessOpenMSInMemory, extraction_coordinates: collections.abc.Sequence[pyopenms.ExtractionCoordinates], mz_extraction_window: float, ppm: bool, im_extraction_window: float, filter: str = 'tophat') list[pyopenms.ExtractedPeakMap]
Overloaded function.
extractPeakMaps(input: pyopenms.SpectrumAccessOpenMS, extraction_coordinates: collections.abc.Sequence[pyopenms.ExtractionCoordinates], mz_extraction_window: float, ppm: bool, im_extraction_window: float, filter: str = 'tophat') -> list[pyopenms.ExtractedPeakMap]
Extract targeted raw peak maps from an OpenMS-backed spectrum access object.
extractPeakMaps(input: pyopenms.SpectrumAccessOpenMSInMemory, extraction_coordinates: collections.abc.Sequence[pyopenms.ExtractionCoordinates], mz_extraction_window: float, ppm: bool, im_extraction_window: float, filter: str = 'tophat') -> list[pyopenms.ExtractedPeakMap]
Extract targeted raw peak maps from an in-memory spectrum access object.
- getLogType() pyopenms.ProgressLogger.LogType#
Returns the type of progress log being used
- nextProgress() None#
Increment progress by 1 (according to range begin-end)
- setLogType(type: pyopenms.ProgressLogger.LogType) None#
Sets the progress log that should be used. The default type is NONE!
- setProgress(value: int) None#
Sets the current progress
- startProgress(begin: int, end: int, label: str) None#