![]() |
sablib
|
Baseline estimation using Modified Polynomial(ModPoly) method(implementation). More...
Go to the source code of this file.
Functions | |
| const std::vector< double > | sablib::BaselineModPoly (const std::vector< double > &y, const unsigned int polyorder, const unsigned int loop=50, const double eps=1.0e-3) |
| Estimates the baseline using the Modified Polynomial (ModPoly) method. | |
Baseline estimation using Modified Polynomial(ModPoly) method(implementation).
Definition in file modpoly.cpp.
| const std::vector< double > sablib::BaselineModPoly | ( | const std::vector< double > & | y, |
| const unsigned int | polyorder, | ||
| const unsigned int | loop = 50, | ||
| const double | eps = 1.0e-3 ) |
Estimates the baseline using the Modified Polynomial (ModPoly) method.
| y | The input data points to be processed. |
| polyorder | The order of the polynomial to fit. |
| loop | The maximum number of iterations (default is 50). |
| eps | The convergence tolerance (default is 1.0e-3). |
| std::invalid_argument | One or more parameters are wrong. |
Definition at line 16 of file modpoly.cpp.