ProteoWizard
|
interface for a one-dimensional smoothing algorithm More...
#include <Smoother.hpp>
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 () |
interface for a one-dimensional smoothing algorithm
Definition at line 37 of file Smoother.hpp.
|
inlinevirtual |
Definition at line 50 of file Smoother.hpp.
|
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 >.
|
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 >.