Linear Resampling of raw data. More...
#include <OpenMS/FILTERING/TRANSFORMERS/LinearResampler.h>
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. | |
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.
| Name | Type | Default | Restrictions | Description |
|---|---|---|---|---|
| spacing | float | 0.05 | Spacing of the resampled output peaks. |
| LinearResampler | ( | ) | [inline] |
Constructor.
| ~LinearResampler | ( | ) | [inline] |
Destructor.
| 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] |
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 |