ProteoWizard
Public Member Functions | Private Attributes
pwiz::analysis::WhittakerSmoother Struct Reference

#include <WhittakerSmoother.hpp>

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

List of all members.

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
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
- 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

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

Member Function Documentation

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().

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

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: