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

LowessSmoothing Class Reference
[SignalProcessing]

LOWESS (locally weighted scatterplot smoothing). More...

#include <OpenMS/FILTERING/SMOOTHING/LowessSmoothing.h>

Inheritance diagram for LowessSmoothing:
DefaultParamHandler

List of all members.

Public Types

typedef std::vector< DoubleRealDoubleVector

Public Member Functions

 LowessSmoothing ()
 Default constructor.
virtual ~LowessSmoothing ()
 Destructor.
void smoothData (const DoubleVector &, const DoubleVector &, DoubleVector &)
 Smoothing method that receives x and y coordinates (e.g., RT and intensities) and computes smoothed intensities.

Protected Member Functions

virtual void updateMembers_ ()
 This method is used to update extra member variables at the end of the setParameters() method.

Private Member Functions

DoubleReal tricube_ (DoubleReal, DoubleReal)

Private Attributes

DoubleReal window_size_

Detailed Description

LOWESS (locally weighted scatterplot smoothing).

A smoothing technique that fits simple models (linear, quadratic) to localized subsets of the data, point by point. This is particularly useful for smoothing intensities in spectra or chromatograms. In this case, the window size for the smoothing should be setted proportional to the peak width (see LowessSmoothing parameters).

Parameters of this class are:

NameTypeDefaultRestrictionsDescription
window_size int10  The number of peaks to be included for local fitting in one window.

Note:

Member Typedef Documentation

typedef std::vector<DoubleReal> DoubleVector

Constructor & Destructor Documentation

LowessSmoothing (  ) 

Default constructor.

virtual ~LowessSmoothing (  )  [virtual]

Destructor.


Member Function Documentation

void smoothData ( const DoubleVector ,
const DoubleVector ,
DoubleVector  
)

Smoothing method that receives x and y coordinates (e.g., RT and intensities) and computes smoothed intensities.

DoubleReal tricube_ ( DoubleReal  ,
DoubleReal   
) [private]
virtual void updateMembers_ (  )  [protected, virtual]

This method is used to update extra member variables at the end of the setParameters() method.

Also call it at the end of the derived classes' copy constructor and assignment operator.

The default implementation is empty.

Reimplemented from DefaultParamHandler.


Member Data Documentation


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