#include <SavitzkyGolaySmoother.hpp>
|
| SavitzkyGolaySmoother (int polynomialOrder, int windowSize) |
|
| ~SavitzkyGolaySmoother () |
|
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 Savitzky-Golay algorithm; preconditions: More...
|
|
virtual void | smooth_copy (std::vector< double > &x, std::vector< double > &y) |
| smooth y values and copy back to the input vectors using Savitzky-Golay algorithm; preconditions: More...
|
|
virtual | ~Smoother () |
|
|
boost::shared_ptr< Impl > | impl_ |
|
Definition at line 36 of file SavitzkyGolaySmoother.hpp.
§ SavitzkyGolaySmoother()
pwiz::analysis::SavitzkyGolaySmoother::SavitzkyGolaySmoother |
( |
int |
polynomialOrder, |
|
|
int |
windowSize |
|
) |
| |
§ ~SavitzkyGolaySmoother()
pwiz::analysis::SavitzkyGolaySmoother::~SavitzkyGolaySmoother |
( |
| ) |
|
§ smooth()
virtual void pwiz::analysis::SavitzkyGolaySmoother::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 Savitzky-Golay algorithm; preconditions:
- samples within the window must be (approximately) equally spaced
Implements pwiz::analysis::Smoother.
§ smooth_copy()
virtual void pwiz::analysis::SavitzkyGolaySmoother::smooth_copy |
( |
std::vector< double > & |
x, |
|
|
std::vector< double > & |
y |
|
) |
| |
|
virtual |
smooth y values and copy back to the input vectors using Savitzky-Golay algorithm; preconditions:
- samples within the window must be (approximately) equally spaced
Implements pwiz::analysis::Smoother.
§ impl_
boost::shared_ptr<Impl> pwiz::analysis::SavitzkyGolaySmoother::impl_ |
|
private |
The documentation for this struct was generated from the following file: