SpectrumAccessSqMass#

class pyopenms.SpectrumAccessSqMass#

Bases: object

SQL-based spectrum access via sqMass files

__init__(handler: pyopenms.MzMLSqliteHandler) → None#
__init__(handler: pyopenms.MzMLSqliteHandler, indices: collections.abc.Sequence[int]) → None

Methods

__init__(handler)

getChromatogramById(id)

Returns a pointer to a chromatogram at the given id

getChromatogramNativeID(id)

Returns the native ID of the chromatogram with the given id

getNrChromatograms()

Returns the number of chromatograms available

getNrSpectra()

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