OpenMS  2.6.0
Enumerations | Functions
OpenMS Namespace Reference

Enumerations

enum  IMType { IM_NONE , IM_STACKED , IM_MULTIPLE_SPECTRA }
 

Functions

IMType determineIMType (const MSExperiment &exp)
 
void processDriftTimeStack (const std::vector< MSSpectrum > &stack, std::vector< MSSpectrum > &result)
 Process a stack of drift time spectra. More...
 
void expandIMSpectrum (const MSSpectrum &tmps, std::vector< MSSpectrum > &result)
 Expands a single MSSpectrum (single frame) into individual ion mobility spectrum. More...
 
void collapseIMSpectrum (const MSExperiment &exp, std::vector< MSSpectrum > &result)
 Collapses multiple IM spectra from the same frame into a single MSSpectrum. More...
 

Enumeration Type Documentation

◆ IMType

enum IMType
Enumerator
IM_NONE 

no ion mobility

IM_STACKED 

ion mobility frame is stacked in a single spectrum

IM_MULTIPLE_SPECTRA 

ion mobility is recorded as multiple spectra per frame

Function Documentation

◆ collapseIMSpectrum()

void collapseIMSpectrum ( const MSExperiment &  exp,
std::vector< MSSpectrum > &  result 
)

Collapses multiple IM spectra from the same frame into a single MSSpectrum.

Parameters
expThe input experiment with multiple spectra per frame
resultThe output spectra collapsed to a single spectrum per frame
Note
: this requires that all spectra from the same frame have the same RT ("scan start time")

References processDriftTimeStack().

◆ determineIMType()

IMType determineIMType ( const MSExperiment &  exp)

◆ expandIMSpectrum()

void expandIMSpectrum ( const MSSpectrum &  tmps,
std::vector< MSSpectrum > &  result 
)

Expands a single MSSpectrum (single frame) into individual ion mobility spectrum.

Parameters
tmpsThe input spectrum (a single spectrum per frame)
resultThe output spectra with multiple spectra per frame

◆ processDriftTimeStack()

void processDriftTimeStack ( const std::vector< MSSpectrum > &  stack,
std::vector< MSSpectrum > &  result 
)

Process a stack of drift time spectra.

Referenced by collapseIMSpectrum().