BinnedSpectrum
- class pyopenms.BinnedSpectrum
Bases:
objectCython implementation of _BinnedSpectrum
Documentation is available at http://www.openms.de/current_doxygen/html/classOpenMS_1_1BinnedSpectrum.html
- __init__()
Cython signature: void BinnedSpectrum()
Cython signature: void BinnedSpectrum(BinnedSpectrum &)
Cython signature: void BinnedSpectrum(MSSpectrum, float size, bool unit_ppm, unsigned int spread, float offset)
Methods
Cython signature: void BinnedSpectrum()
Cython signature: unsigned int getBinIndex(float mz) Returns the bin index of a given m/z position
Cython signature: float getBinIntensity(double mz) Returns the bin intensity at a given m/z position
Cython signature: float getBinLowerMZ(size_t i) Returns the lower m/z of a bin given its index
Cython signature: float getBinSize() Returns the bin size
Cython signature: unsigned int getBinSpread() Returns the bin spread
Cython signature: float getOffset() Returns offset
Cython signature: libcpp_vector[Precursor] getPrecursors()
Cython signature: bool isCompatible(BinnedSpectrum & a, BinnedSpectrum & b)
- getBinIndex()
Cython signature: unsigned int getBinIndex(float mz) Returns the bin index of a given m/z position
- getBinIntensity()
Cython signature: float getBinIntensity(double mz) Returns the bin intensity at a given m/z position
- getBinLowerMZ()
Cython signature: float getBinLowerMZ(size_t i) Returns the lower m/z of a bin given its index
- getBinSize()
Cython signature: float getBinSize() Returns the bin size
- getBinSpread()
Cython signature: unsigned int getBinSpread() Returns the bin spread
- getOffset()
Cython signature: float getOffset() Returns offset
- getPrecursors()
Cython signature: libcpp_vector[Precursor] getPrecursors()
- isCompatible()
Cython signature: bool isCompatible(BinnedSpectrum & a, BinnedSpectrum & b)