Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Public Member Functions | Protected Member Functions | Protected Attributes

LinearResampler Class Reference

Linear Resampling of raw data. More...

#include <OpenMS/FILTERING/TRANSFORMERS/LinearResampler.h>

Inheritance diagram for LinearResampler:
DefaultParamHandler ProgressLogger LinearResamplerAlign

List of all members.

Public Member Functions

 LinearResampler ()
 Constructor.
 ~LinearResampler ()
 Destructor.
template<typename PeakType >
void raster (MSSpectrum< PeakType > &spectrum)
 Applies the resampling algorithm to an MSSpectrum.
template<typename PeakType >
void rasterExperiment (MSExperiment< PeakType > &exp)
 Resamples the data in an MSExperiment.

Protected Member Functions

virtual void updateMembers_ ()

Protected Attributes

double spacing_
 Spacing of the resampled data.

Detailed Description

Linear Resampling of raw data.

This class can be used to generate uniform data from non-uniform raw data (e.g. ESI-TOF or MALDI-TOF experiments). Therefore the intensity at every position x in the input raw data is spread to the two adjacent resampling points. This method preserves the area of the input signal and also the centroid position of a peak. Therefore it is recommended for quantitation as well as for ProteinIdentification experiments.

Note:
Use this method only for high resoluted data (< 0.1 Th between two adjacent raw data points). The resampling rate should be >= the precision.
Parameters of this class are:

NameTypeDefaultRestrictionsDescription
spacing float0.05  Spacing of the resampled output peaks.

Note:

Constructor & Destructor Documentation

LinearResampler (  )  [inline]

Constructor.

~LinearResampler (  )  [inline]

Destructor.


Member Function Documentation

void raster ( MSSpectrum< PeakType > &  spectrum  )  [inline]

Applies the resampling algorithm to an MSSpectrum.

Referenced by FeatureFinderAlgorithmMRM< PeakType, FeatureType >::run().

void rasterExperiment ( MSExperiment< PeakType > &  exp  )  [inline]

Resamples the data in an MSExperiment.

virtual void updateMembers_ (  )  [inline, protected, virtual]

Member Data Documentation

double spacing_ [protected]

Spacing of the resampled data.

Referenced by LinearResamplerAlign::raster(), and LinearResamplerAlign::raster_align().


OpenMS / TOPP release 1.10.0 Documentation generated on Thu Mar 7 2013 09:42:53 using doxygen 1.7.1