![]() |
sablib
|
Baseline estimation from cubic spline(implementation). More...
#include "spline.h"Go to the source code of this file.
Functions | |
| const std::vector< double > | sablib::BaselineSpline (const std::vector< double > &y, const std::vector< unsigned int > &indices) |
| Performs baseline estimation using cubic spline interpolation. | |
Baseline estimation from cubic spline(implementation).
Definition in file spline.cpp.
| const std::vector< double > sablib::BaselineSpline | ( | const std::vector< double > & | y, |
| const std::vector< unsigned int > & | indices ) |
Performs baseline estimation using cubic spline interpolation.
| y | The input data for baseline estimation. |
| indices | The indices of the points to be used as knots for the cubic spline. |
| std::invalid_argument | One or more parameters are wrong. |
Definition at line 14 of file spline.cpp.
References sablib::CubicSpline< Scalar >::Interpolate().