ProteoWizard
Public Member Functions
pwiz::analysis::Smoother Struct Reference

interface for a one-dimensional smoothing algorithm More...

#include <Smoother.hpp>

Inheritance diagram for pwiz::analysis::Smoother:
pwiz::analysis::SavitzkyGolaySmoother< T > pwiz::analysis::WhittakerSmoother

List of all members.

Public Member Functions

virtual void smooth (const std::vector< double > &x, const std::vector< double > &y, std::vector< double > &xSmoothed, std::vector< double > &ySmoothed)=0
 smooth y values to existing vectors; 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)=0
 smooth y values and copy back to the input vectors; 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 ~Smoother ()

Detailed Description

interface for a one-dimensional smoothing algorithm

Definition at line 37 of file Smoother.hpp.


Constructor & Destructor Documentation

virtual pwiz::analysis::Smoother::~Smoother ( )
inlinevirtual

Definition at line 50 of file Smoother.hpp.

{};

Member Function Documentation

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

smooth y values to existing vectors; 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

Implemented in pwiz::analysis::WhittakerSmoother, and pwiz::analysis::SavitzkyGolaySmoother< T >.

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

smooth y values and copy back to the input vectors; 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

Implemented in pwiz::analysis::WhittakerSmoother, and pwiz::analysis::SavitzkyGolaySmoother< T >.


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