MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / MZBegin

Method MZBegin

src/openms/source/KERNEL/MSSpectrum.cpp:203–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201 }
202
203 MSSpectrum::ConstIterator MSSpectrum::MZBegin(MSSpectrum::ConstIterator begin, MSSpectrum::CoordinateType mz,
204 MSSpectrum::ConstIterator end) const
205 {
206 PeakType p;
207 p.setPosition(mz);
208 return lower_bound(begin, end, p, PeakType::PositionLess());
209 }
210
211 Int MSSpectrum::findNearest(MSSpectrum::CoordinateType mz, MSSpectrum::CoordinateType tolerance_left,
212 MSSpectrum::CoordinateType tolerance_right) const

Callers 15

findHighestInWindowMethod · 0.95
updateIntensityScaleMethod · 0.45
paintMethod · 0.45
paintMethod · 0.45
addPrecursorLabels1D_Method · 0.45
filterSpectrumFunction · 0.45
getRangeForAreaFunction · 0.45
isBlacklistedMethod · 0.45
extractPeakSpectrumMethod · 0.45
extractChannelsMethod · 0.45

Calls 4

PositionLessClass · 0.50
beginFunction · 0.50
endFunction · 0.50
setPositionMethod · 0.45

Tested by

no test coverage detected