SpectrumRangeManager#
- class pyopenms.SpectrumRangeManager#
Bases:
objectCython implementation of _SpectrumRangeManager
Original C++ documentation is available here
Advanced range manager for MS spectra with separate ranges for each MS level
This class extends the basic RangeManager to provide separate range tracking for different MS levels (MS1, MS2, etc.). It manages four types of ranges: - m/z (mass-to-charge ratio) - intensity - retention time (RT) - ion mobility
A global range is tracked for all MS levels, and additional ranges are maintained for each specific MS level. This allows for efficient querying of ranges for specific MS levels, which is useful for visualization, filtering, and processing operations that need to work with specific MS levels.
- __init__()#
Overload:
- __init__(self) None
Overload:
- __init__(self, in_0: SpectrumRangeManager) None
Methods
clearRanges(self)extendMZ(self, mz, ms_level)extendRT(self, rt, ms_level)extendUnsafe(self, spectrum, ms_level)getMSLevels(self)getMaxIntensity(self)getMaxMZ(self)getMaxMobility(self)getMaxRT(self)getMinIntensity(self)getMinMZ(self)getMinMobility(self)getMinRT(self)- clearRanges(self) None#
- extendMZ(self, mz: float, ms_level: int) None#
- extendRT(self, rt: float, ms_level: int) None#
- extendUnsafe(self, spectrum: MSSpectrum, ms_level: int) None#
- getMSLevels(self) Set[int]#
- getMaxIntensity(self) float#
- getMaxMZ(self) float#
- getMaxMobility(self) float#
- getMaxRT(self) float#
- getMinIntensity(self) float#
- getMinMZ(self) float#
- getMinMobility(self) float#
- getMinRT(self) float#