SpectrumAccessSqMass#
- class pyopenms.SpectrumAccessSqMass#
Bases:
objectSQL-based spectrum access via sqMass files
- __init__(handler: pyopenms.MzMLSqliteHandler) None#
- __init__(handler: pyopenms.MzMLSqliteHandler, indices: collections.abc.Sequence[int]) None
Methods
__init__(handler)Returns a pointer to a chromatogram at the given id
Returns the native ID of the chromatogram with the given id
Returns the number of chromatograms available
Returns the number of spectra available
getSpectraByRT(RT, deltaRT)Returns indices of spectra within RT +/- deltaRT
getSpectrumById(id)Returns a pointer to a spectrum at the given string id
- getChromatogramById(id: int) pyopenms.OSChromatogram#
Returns a pointer to a chromatogram at the given id
- getChromatogramNativeID(id: int) str#
Returns the native ID of the chromatogram with the given id
- getNrChromatograms() int#
Returns the number of chromatograms available
- getNrSpectra() int#
Returns the number of spectra available
- getSpectraByRT(RT: float, deltaRT: float) list[int]#
Returns indices of spectra within RT +/- deltaRT
- getSpectrumById(id: int) pyopenms.OSSpectrum#
Returns a pointer to a spectrum at the given string id