ProteoWizard
Public Member Functions | Private Attributes | List of all members
pwiz::analysis::WhittakerSmoother Struct Reference

#include <WhittakerSmoother.hpp>

Inheritance diagram for pwiz::analysis::WhittakerSmoother:
pwiz::analysis::Smoother

Public Member Functions

 WhittakerSmoother (double lambdaCoefficient)
 
virtual void smooth (const std::vector< double > &x, const std::vector< double > &y, std::vector< double > &xSmoothed, std::vector< double > &ySmoothed)
 smooth y values to existing vectors using Whittaker algorithm; note: in the case of sparse vectors, smoothing may fill in samples not present in the original data, so make sure to check the size of the output vectors More...
 
virtual void smooth_copy (std::vector< double > &x, std::vector< double > &y)
 smooth y values and copy back to the input vectors using Whittaker algorithm; note: in the case of sparse vectors, smoothing may fill in samples not present in the original data, so make sure to check the size of the output vectors More...
 
- Public Member Functions inherited from pwiz::analysis::Smoother
virtual ~Smoother ()
 

Private Attributes

double lambda
 

Detailed Description

Definition at line 40 of file WhittakerSmoother.hpp.

Constructor & Destructor Documentation

§ WhittakerSmoother()

pwiz::analysis::WhittakerSmoother::WhittakerSmoother ( double  lambdaCoefficient)

Member Function Documentation

§ smooth()

virtual void pwiz::analysis::WhittakerSmoother::smooth ( const std::vector< double > &  x,
const std::vector< double > &  y,
std::vector< double > &  xSmoothed,
std::vector< double > &  ySmoothed 
)
virtual

smooth y values to existing vectors using Whittaker algorithm; note: in the case of sparse vectors, smoothing may fill in samples not present in the original data, so make sure to check the size of the output vectors

Implements pwiz::analysis::Smoother.

Referenced by test().

§ smooth_copy()

virtual void pwiz::analysis::WhittakerSmoother::smooth_copy ( std::vector< double > &  x,
std::vector< double > &  y 
)
virtual

smooth y values and copy back to the input vectors using Whittaker algorithm; note: in the case of sparse vectors, smoothing may fill in samples not present in the original data, so make sure to check the size of the output vectors

Implements pwiz::analysis::Smoother.

Member Data Documentation

§ lambda

double pwiz::analysis::WhittakerSmoother::lambda
private

Definition at line 56 of file WhittakerSmoother.hpp.


The documentation for this struct was generated from the following file: