MsSpectrumType type = ms.getSpectrumType(); SimpleMsSpectrum filteredMs = new SimpleMsSpectrum(newMz, newIntensity, pairsLimit, type); return filteredMs;
MsSpectrumType type = ms.getSpectrumType(); SimpleMsSpectrum filteredMs = new SimpleMsSpectrum(newMz, newIntensity, pairsLimit, type); return filteredMs;